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.
#LIBS =
$(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)
$(INSTRUMENT_LIBS)
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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/