Subject: ldd will not build
To: None <current-users@netbsd.org>
From: David Young <dyoung@ojctech.com>
List: current-users
Date: 11/15/2002 00:08:35
I think it is because in src/usr.bin/ldd/ldd_elf/Makefile, rtld.c is
not named in SRCS?
x:~/non-anoncvs/src> cvs -q update -dP && make distclean && \
> sh build.sh -d -D ../obj -R ../release
*snip snip*
/home/dyoung/non-anoncvs/src/tools/obj/tools.NetBSD-1.6I-i386/bin/i386--netbsdelf-gcc -o ldd -nostdlib -Wl,-rpath-link,/home/dyoung/non-anoncvs/src/../obj/lib:/home/dyoung/non-anoncvs/src/../obj/usr/lib -L/home/dyoung/non-anoncvs/src/../obj/lib /home/dyoung/non-anoncvs/src/../obj/usr/lib/crt0.o /home/dyoung/non-anoncvs/src/../obj/usr/lib/crtbegin.o ldd.o xmalloc.o debug.o map_object.o load.o search.o headers.o paths.o -L/home/dyoung/non-anoncvs/src/../obj/usr/lib -lgcc -lc -lgcc /home/dyoung/non-anoncvs/src/../obj/usr/lib/crtend.o
search.o: In function `_rtld_load_library':
search.o(.text+0x125): undefined reference to `_rtld_dlerror'
search.o(.text+0x239): undefined reference to `_rtld_dlerror'
collect2: ld returned 1 exit status
*** Error code 1
Stop.
nbmake: stopped in /home/dyoung/non-anoncvs/src/usr.bin/ldd/ldd_elf
*** Error code 1
Stop.
nbmake: stopped in /home/dyoung/non-anoncvs/src/usr.bin/ldd/ldd_elf
*** Error code 1
Stop.
nbmake: stopped in /home/dyoung/non-anoncvs/src/usr.bin/ldd
*** Error code 1
Stop.
nbmake: stopped in /home/dyoung/non-anoncvs/src/usr.bin
*** Error code 1
Stop.
nbmake: stopped in /home/dyoung/non-anoncvs/src
*** Error code 1
Stop.
nbmake: stopped in /home/dyoung/non-anoncvs/src
*** Error code 1
Stop.
nbmake: stopped in /home/dyoung/non-anoncvs/src
*** Error code 1
Stop.
nbmake: stopped in /home/dyoung/non-anoncvs/src
x:~/non-anoncvs/src> sudo sh build.sh -d -D ../obj -R ../release
--
David Young OJC Technologies
dyoung@ojctech.com Engineering from the Right Brain
Urbana, IL * (217) 278-3933