Hello all,
Below I include the description of a problem somebody in my office is
having. We have been searching in the mailing list archive but we couldn't
find any solution. The funny thing is the same module in my computer works
fine without any special linking, just including math.h. I saw a post from
Paolo saying that should be enough from gcc 2.95.2.
I'm using gcc 2.95.3 and the same RTLinux kernel than my partner, but
with Mandrake 7.2. You can see below he's using newer versions of gcc and
Mandrake.
Can anybody help us?. Thank you.
Ivan Martinez
Software Engineering MSc student
http://www.iau.dtu.dk/~im/
"Got fabes?"
----- Original Message -----
From: "Khi Long" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 11, 2001 12:28 PM
Subject: Missing symbols problem
> I have a problem with some missing symbols when I use the
> insmod command.
> I use gcc version 2.96 on a Mandrake Linux 8.0 system
> The rtlinux version is 3.0 for the 2.2.18 linux kernel.
>
> At first I just couldn't find the math symbols pow and cos, but
> I looked in the mailing list for a solution to the problem.
> I found it! Somebody said that I should just write this:
>
> ld -r -static -o enginemodel.o temp.o -L/usr/lib -lc -lm
>
> So I did! But that doesn't help!
> First of all -static is not an option for ld!
> Well.... It helps in the way that cos and pow are not unresolved anymore,
> but now __isnan stderr and fputs can't be found!
> If I switch the -lc and -lm flags then __udivdi3 and __umoddi3
> can't be found!
>
> It seems that there is no way of making a module without something
> missing in it!
>
> What's the problem?
> And what can I do?
>
> Please :-)
>
>
>
>
> __________________________________________________
>
> Gratis email for alle: www.mail-online.dk
> Laes dagens nyheder: www.directoffice.dk
> Find dit nye job: www.job-online.dk
> Postkort: www.post-online.dk
>
----- End of forwarded message from [EMAIL PROTECTED] -----
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/