[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: [rtl] Re: unresolved symbol __divdi3
On Don, 18 Nov 1999 Phil Wilshire wrote:
>Reine Gill wrote:
>> /sbin/insmod tm
>> ./tm.o: unresolved symbol __divdi3
>>
>> This symbol is in gcclib, and i think the
>> result of long divisions in the driver code...
>I am working on either including
>/usr/lib/gcc-lib/i386-glibc20-linux/egcs-2.90.29/libgcc.a
You should simply link your module against libgcc by
gcc -c module.c -o tmp.o
ld -r tmp.o -o module.o -lgcc
This lets you pick up the corrrect libgcc all time :-)
-- Jochen
Heinrich-Heine-Universit”t, Institut f¸r Physikalische Chemie I
Universit”tsstr. 1, Geb. 26.43.02.29, 40225 D¸sseldorf, Germany
phone 02118113681 fax 02118115195 -- www-public.rz.uni-duesseldorf.de/~jochen
Jochen@Uni-Duesseldorf.de -- Jochen.Kuepper@FernUni-Hagen.de -- Kuepper@ACM.org
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.cs.nmt.edu OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.cs.nmt.edu
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/