insmod / add-symbol-file

Goddeeris Frederic Frederic.Goddeeris at siemens.atea.be
Fri Dec 7 23:05:54 EST 2001


When I use -O, I still have the same problems.

Without optimization, insmod complains that in_8 and out_8 are unresolved. I
removed the code that needs this, so that it could load. But unfortunately,
the same problem. :-<<

Thanks,
Fred

-----Original Message-----
From: Frank Przybylski
To: Goddeeris Frederic; linuxppc-embedded at lists.linuxppc.org
Sent: 12/7/01 12:24 PM
Subject: Re: insmod / add-symbol-file

Hi Goddeeris,

> I use the gcc and gdb from the MontaVista CDK 2.0 for
> PPC_8xx. I compiled
> the module with "-O2 -g" options.

Have you tried to compile with "-O -g" options instead of "-O2 -g"?
I'd guess optimization 'confuses' gdb symbols. Maybe have a try even
without -O,
 as I only know for sure that the kernel needs an optimization step to
get some things
properly setup.

hth
 Frank

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list