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
[EMAIL PROTECTED] -- [EMAIL PROTECTED] -- [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/~rtlinux/

Reply via email to