question about libc.a libgcc.a

From: Hai Xu (xhai@CLEMSON.EDU)
Date: Fri Jul 27 2001 - 13:55:59 EST

Dear all,

I am focus on a device driver. I compile it to a model.o and try to insmod
it to kernel. But when do so, I will get:

unresolved symbol: __udividi3
unresolved symbol: __umoddi3

As someone tell me, I have to link the libgcc.a to my model.o. I did it but
I when I try to insmod the model.o, I will get segamentation fault.

The following are my link libraries.
$(MATLAB_ROOT)/rtw/c/lib/$(ARCH)/lrtwLib.a -L/usr/lib/gcc-lib/i386-redhat-li
nux/2.96 -lgcc -L/usr/lib -lm -lc $(EXT_LIB) $(S_FUNCTIONS_LIB)

Please give me some ideas about it.

Thanks in advance
Hai Xu

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 21:00:34 EST