Re: RTLinux and libgcc
Evan Brunner <[email protected]> Thu, 27 Jan 2005 21:27:24 -0500
| Newsgroups | gmane.linux.real-time.rtlinux.general |
|---|---|
| Message-ID | <[email protected]> |
This is your problem.. and I think they give a solution.. http://www.uwsg.iu.edu/hypermail/linux/kernel/0201.3/0421.html Apparently, from what I have gleaned from google, RTLinux modules are very similar in nature to vanilla kernel modules and you can't carry dynamic links to any libraries that are not already included inthe kernel. ( legitimate includes would generally be <linux/*.h> <asm/*.h> <rtl_*.h> and so on.. ). Pratically everyhting has to be static, or in your source. If I'm wrong, someone tell me. Please. Evan On Thu, 27 Jan 2005 17:47:23 +0800, Allan Barredo <[email protected]> wrote: > Hello everyone, > > I am using RedHat 9.0 with rtl3.2-pre3 and I can't seem to properly > link libgcc to my module. > > I used > > -L/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/ -lgcc > > in my makefile however when I tried to insmod my module, I still get > the following messages: > > unresolved symbol: __udivdi3 > unresolved symbol: __umoddi3 > > Has anyone encountered this problem before? > > Any suggestions? > > Thanks a lot. > _______________________________________________ > Rtl mailing list > [email protected] > http://www2.fsmlabs.com/mailman/listinfo/rtl > _______________________________________________ Rtl mailing list [email protected] http://www2.fsmlabs.com/mailman/listinfo/rtl