From: Donald Duckie <schipperke2000@yahoo.com>
To: Linux Newbie Mailing List <linux-newbie@vger.kernel.org>
Subject: unresolved symbol __udivsi3_i4
Date: Wed, 22 Sep 2004 03:23:18 -0700 (PDT) [thread overview]
Message-ID: <20040922102318.49223.qmail@web53601.mail.yahoo.com> (raw)
In-Reply-To: <20040922025139.84087.qmail@web53610.mail.yahoo.com>
hi!
Thank you very much for your help on
Subject: Invalid kernel header included in userspace;
multi-line string literals are deprecated :-)
I finally understood where I should be doing depmod
and what I need to do with its generated files.
There is one thing that is currently bugging me
though. Upon running modprobe, this is what I
currently got:
Using /lib/modules/2.4.18-sh/kernel/drivers/net/snull.
<cut>
modprobe: unresolved symbol __udivsi3_i4
<cut>
The gcc version that is used is:
[aprhodite@aphrodite2 bin]$ sh-linux-gcc -v
Reading specs from
/usr/lib/gcc-lib/sh-linux/3.0.3/specs
Configured with: ../configure --prefix=/usr
--mandir=/usr/share/man --target=sh-linux
--host=i686-pc-linux-gnu --build=i
686-pc-linux-gnu --disable-c99 --disable-nls
--enable-languages=c,c++ --with-system-zlib
--with-gxx-include-dir=/usr/sh-
linux/include/g++-v3
--includedir=/usr/sh-linux/include
--enable-threads=posix --enable-long-long
Thread model: posix
gcc version 3.0.3
Running nm -l-s snull.o
00000000 a *ABS*
<cut>
U __udivsi3_i4
/home/aphrodite/snull/snull3/snull/snull.c:355
<cut>
the block in snull.c that contains ine 355 is:
352 if (lockup && ((priv->stats.tx_packets +
1) % lockup) == 0) {
353 /* Simulate a dropped transmit
interrupt */
354 netif_stop_queue(dev);
355 PDEBUG("Simulate lockup at %ld, txp
%ld\n", jiffies,
356 (unsigned long)
priv->stats.tx_packets);
357 }
(which seems to be okey)
The only modification to the downloaded snull files is
on snull.c:
30 //#include <linux/malloc.h> /* kmalloc() */
31 #include <linux/slab.h> /* kmalloc()
deprecated use slab.h instead*/
can anyone please tell me how to deal with this
unresolved symbol __udivsi3_i4?
thank you very much.
-donald
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" 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.linux-learn.org/faqs
next prev parent reply other threads:[~2004-09-22 10:23 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-13 6:52 Invalid kernel header included in userspace; multi-line string literals are deprecated Donald Duckie
2004-09-13 12:06 ` Richard Adams
2004-09-14 0:27 ` Donald Duckie
2004-09-14 8:25 ` Richard Adams
2004-09-14 9:48 ` Donald Duckie
2004-09-14 15:21 ` Richard Adams
2004-09-15 1:30 ` Donald Duckie
2004-09-15 12:04 ` Richard Adams
2004-09-22 2:51 ` Donald Duckie
2004-09-22 10:23 ` Donald Duckie [this message]
2004-10-02 5:49 ` unresolved symbol __udivsi3_i4 Richard Adams
2004-10-02 5:45 ` Invalid kernel header included in userspace; multi-line string literals are deprecated Richard Adams
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=20040922102318.49223.qmail@web53601.mail.yahoo.com \
--to=schipperke2000@yahoo.com \
--cc=linux-newbie@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