Subject: Re: Failed to build -current: undefined reference to `__semctl'
To: None <current-users@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: current-users
Date: 03/11/2006 23:36:48
In article <1142119384.44135bd82e8c9@imp1-g19.free.fr>,
Frederic Gonieaux <fgonieaux@free.fr> wrote:
>NetBSD 3.0 (GENERIC) #0: Mon Dec 19 01:04:02 UTC 2005
>builds@works.netbsd.org:/home/builds/ab/netbsd-3-0-RELEASE/i386/200512182024Z-obj/home/builds/ab/netbsd-3-0-RELEASE/src/sys/arch/i386/compile/GENERIC
>i386
>
>Since last libc changes, -current fails to build :
>
>$ ./build.sh -U -O /usr/obj -T /usr/tools release
>[...]
>
># link cu/cu
>/usr/tools/bin/i386--netbsdelf-gcc -Wl,-nostdlib -o cu
>-Wl,-rpath-link,/usr/obj/destdir.i386/lib:/usr/obj/destdir.i386/usr/lib
>-L/usr/obj/destdir.i386/lib -B/usr/obj
>/destdir.i386/usr/lib/ -B/usr/obj/destdir.i386/usr/lib/ cu.o prot.o log.o
>chat.o conn.o copy.o /usr/obj/gnu/libexec/uucp/libunix/libunix.a
>/usr/obj/gnu/libexec/uucp/libuu
>conf/libuuconf.a /usr/obj/gnu/libexec/uucp/libuucp/libuucp.a
>-L/usr/obj/destdir.i386/usr/lib -L/usr/obj/destdir.i386/usr/lib
>/usr/obj/destdir.i386/lib/libc.so: undefined reference to `__semctl'
>collect2: ld returned 1 exit status
>
>*** Failed target: cu
>*** Failed command: /usr/tools/bin/i386--netbsdelf-gcc -Wl,-nostdlib -o cu
>-Wl,-rpath-link,/usr/obj/destdir.i386/lib:/usr/obj/destdir.i386/usr/lib
>-L/usr/obj/destdir.i386/l
>ib -B/usr/obj/destdir.i386/usr/lib/ -B/usr/obj/destdir.i386/usr/lib/ cu.o prot.o
>log.o chat.o conn.o copy.o /usr/obj/gnu/libexec/uucp/libunix/libunix.a
>/usr/obj/gnu/libexec
>/uucp/libuuconf/libuuconf.a /usr/obj/gnu/libexec/uucp/libuucp/libuucp.a
>-L/usr/obj/destdir.i386/usr/lib -L/usr/obj/destdir.i386/usr/lib
>*** Error code 1
>
>Stop.
>nbmake: stopped in /usr/src/gnu/libexec/uucp/cu
cvs update...
christos