Subject: xconsole failed build
To: None <port-macppc@netbsd.org>
From: Joe Laffey <joe@laffeycomputer.com>
List: port-macppc
Date: 11/13/2004 21:09:19
I am getting a build failure when trying to build userland with the -x
option to build.sh. I am building from sources checked out last night in
the netbsd-2.0 tree.
Here is the error output:
# compile xconsole/xconsole.o
/usr/obj/home/src/src/tooldir.NetBSD-2.0_RC4-powerpc/bin/powerpc--netbsd-gcc
-O2 -O2 -mcpu=750 -Werror -D
CSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I/usr/dest/usr/X11R6/include
-nostdinc -isystem /usr/dest/usr/inclu
de -c /usr/xsrc/xfree/xc/programs/xconsole/xconsole.c
# link xconsole/xconsole
/usr/obj/home/src/src/tooldir.NetBSD-2.0_RC4-powerpc/bin/powerpc--netbsd-gcc
-Wl,-nostdlib -Wl,-rpath-link,
/usr/dest/usr/X11R6/lib -R/usr/X11R6/lib -L/usr/dest/usr/X11R6/lib -o
xconsole -Wl,-rpath-link,/usr/dest
/lib:/usr/dest/usr/lib -L/usr/dest/lib -B/usr/dest/usr/lib/
-B/usr/dest/usr/lib/ xconsole.o -lXaw -lXmu -
lXt -lSM -lICE -lXpm -lXext -lX11 -L/usr/dest/usr/lib
-L/usr/dest/usr/lib
xconsole.o(.text+0x1174): In function `get_pty':
: undefined reference to `openpty'
collect2: ld returned 1 exit status
*** Failed target: xconsole
*** Failed command:
/usr/obj/home/src/src/tooldir.NetBSD-2.0_RC4-powerpc/bin/powerpc--netbsd-gcc
-Wl,-nostdli
b -Wl,-rpath-link,/usr/dest/usr/X11R6/lib -R/usr/X11R6/lib
-L/usr/dest/usr/X11R6/lib -o xconsole -Wl,-rpath-l
ink,/usr/dest/lib:/usr/dest/usr/lib -L/usr/dest/lib -B/usr/dest/usr/lib/
-B/usr/dest/usr/lib/ xconsole.o -lXa
w -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -L/usr/dest/usr/lib
-L/usr/dest/usr/lib
*** Error code 1
Stop.
nbmake: stopped in /home/src/src/x11/bin/xconsole
*** Failed target: dependall
*** Failed command: cd /home/src/src/x11/bin/xconsole;
/usr/obj/home/src/src/tooldir.NetBSD-2.0_RC4-powerpc/b
in/nbmake realall
*** Error code 1
Stop.
nbmake: stopped in /home/src/src/x11/bin/xconsole
*** Failed target: dependall-xconsole
*** Failed command: targ=dependall;dir=xconsole; case "$dir" in /*) echo
"$targ ===> $dir"; cd "$dir"; /usr/o
bj/home/src/src/tooldir.NetBSD-2.0_RC4-powerpc/bin/nbmake
"_THISDIR_=$dir/" $targ; ;; *) echo "$targ ===> bin
/$dir"; cd "/home/src/src/x11/bin/$dir";
/usr/obj/home/src/src/tooldir.NetBSD-2.0_RC4-powerpc/bin/nbmake "_TH
ISDIR_=bin/$dir/" $targ; ;; esac
*** Error code 1
Stop.
nbmake: stopped in /home/src/src/x11/bin
*** Failed target: dependall-bin
*** Failed command: targ=dependall;dir=bin; case "$dir" in /*) echo "$targ
===> $dir"; cd "$dir"; /usr/obj/ho
me/src/src/tooldir.NetBSD-2.0_RC4-powerpc/bin/nbmake "_THISDIR_=$dir/"
$targ; ;; *) echo "$targ ===> $dir"; c
d "/home/src/src/x11/$dir";
/usr/obj/home/src/src/tooldir.NetBSD-2.0_RC4-powerpc/bin/nbmake
"_THISDIR_=$dir/"
$targ; ;; esac
*** Error code 1
Stop.
nbmake: stopped in /home/src/src/x11
*** Failed target: do-build
*** Failed command: (cd /home/src/src/x11 &&
/usr/obj/home/src/src/tooldir.NetBSD-2.0_RC4-powerpc/bin/nbmake
dependall)
*** Error code 1
Stop.
nbmake: stopped in /home/src/src/x11
*** Failed target: build
*** Failed command: (cd /home/src/src/x11 &&
/usr/obj/home/src/src/tooldir.NetBSD-2.0_RC4-powerpc/bin/nbmake
do-build)
*** Error code 1
Stop.
nbmake: stopped in /home/src/src/x11
*** Failed target: do-x11
*** Failed command: (cd /home/src/src/x11 &&
/usr/obj/home/src/src/tooldir.NetBSD-2.0_RC4-powerpc/bin/nbmake
build)
*** Error code 1
Stop.
nbmake: stopped in /home/src/src
*** Failed target: build
*** Failed command: (cd /home/src/src &&
/usr/obj/home/src/src/tooldir.NetBSD-2.0_RC4-powerpc/bin/nbmake do-x
11)
*** Error code 1
Stop.
nbmake: stopped in /home/src/src
ERROR: Failed to make build
*** BUILD ABORTED ***
----------------------------------------------------------------------
Adding -lutil to the LDADD line in:
/home/src/src/x11/bin/xconsole/Makefile
seems to fix the problem.
Can anyone confirm or deny?
--
Joe Laffey | Visual Effects for Film and Video
LAFFEY Computer Imaging | ---------------------------------
St. Louis, MO | Show Reel at http://LAFFEY.tv/?s
USA | ---------------------------------
--------------------------------------------------------------------------
Mail here will be rejected --> "Real Trap" <r_trap@laffeycomputer.com>