[uClibc]DODEBUG build with uclibc won't link?
Joseph Chiu
josephc at idealab.com
Wed Jul 31 17:43:20 UTC 2002
Yup. Sure enough, when I updated from CVS last night and rebuilt
everything, the problem went away.
Thanks!
Joseph
-----Original Message-----
From: Erik Andersen [mailto:andersen at codepoet.org]
Sent: Tuesday, July 30, 2002 6:45 PM
To: Joseph Chiu
Cc: Uclibc at Uclibc. Org
Subject: Re: [uClibc]DODEBUG build with uclibc won't link?
On Tue Jul 30, 2002 at 06:22:36PM -0700, Joseph Chiu wrote:
> /home/josephc/busybox-0.60.3/mknod.c(.text+0x348): undefined reference to
> `mknod'
> tar.o: In function `tarExtractSpecial':
> /home/josephc/busybox-0.60.3/tar.c:488: undefined reference to `mknod'
> libbb.a(copy_file.o): In function `copy_file':
> /home/josephc/busybox-0.60.3/libbb/copy_file.c(.text+0xa80): undefined
> reference to `mknod'
> collect2: ld returned 1 exit status
> make: *** [busybox] Error 1
> josephc at phoenix:~/busybox-0.60.3$
Could you do a 'cvs up' on uClibc, then a 'make clean', and then
rebuild uClibc? There was a problem of this sort with mknod from
the 22nd till I noticed and fixed it on Saturday (the 27th).
> If I set DODEBUG=false, the problem does not happen. I can't for the life
> of me understand why...
In the one case, it is directly using mknod(), while in the other
case it is wrapping it with an inline which calls __xmknod (which
works fine and was why it took me a week to notice my mistake).
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
More information about the uClibc
mailing list