From: "Hai Xu" <xhai@CLEMSON.EDU>
To: <linux-kernel@vger.kernel.org>
Subject: question about libc.a libgcc.a
Date: Fri, 27 Jul 2001 14:55:59 -0400 [thread overview]
Message-ID: <000901c116cd$c67b4a40$3cac7f82@crb50> (raw)
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.
#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
next reply other threads:[~2001-07-27 18:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-27 18:55 Hai Xu [this message]
2001-07-27 19:12 ` question about libc.a libgcc.a Richard B. Johnson
2001-07-27 20:02 ` Russell King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000901c116cd$c67b4a40$3cac7f82@crb50' \
--to=xhai@clemson.edu \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox