Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

NetBSD-5_BETA fails on building on Solaris 9 for sparc64



A recent anoncvs checkout of the sources tagged netbsd-5 fails to build
on Solaris 9/sparc for the target -m sparc64.

I didn't look into this - just as a note, setenv and unsetenv are not
included the stdlib.h of Sun Solaris 9.

Regards

Uli


admin@sparc9:~/habelu/compile_things/src$./build.sh -O ../obj -T
../tools -U -r -u -m sparc64 tools 2>&1 | tee ../build.log
===> build.sh command: ./build.sh -O ../obj -T ../tools -U -r -u -m
sparc64 tools
===> build.sh started: Sat Nov  8 20:05:23 MET 2008
===> NetBSD version:   5.0_BETA
===> MACHINE:          sparc64
===> MACHINE_ARCH:     sparc64
===> Build platform:   SunOS 5.9 sun4u
===> HOST_SH:          /usr/xpg4/bin/sh
===> No /home/rhaen/compile_things/src/../tools/bin/nbmake, needs
building.
===> Bootstrapping nbmake
checking for sh... /usr/xpg4/bin/sh
checking for gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no

[...]
cc  -O -DDEFSHELL_CUSTOM="/usr/xpg4/bin/sh" -DHAVE_STRDUP=1
-DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c
/home/rhaen/compile_things/src/tools/make/../../usr.bin/make/main.c
"/home/rhaen/compile_things/src/tools/make/../../usr.bin/make/main.c",
line 637: warning: implicit function declaration: setenv
[...]
cc  -O -DDEFSHELL_CUSTOM="/usr/xpg4/bin/sh" -DHAVE_STRDUP=1
-DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c
/home/rhaen/compile_things/src/tools/make/../../usr.bin/make/var.c
"/home/rhaen/compile_things/src/tools/make/../../usr.bin/make/var.c",
line 528: warning: implicit function declaration: unsetenv
"/home/rhaen/compile_things/src/tools/make/../../usr.bin/make/var.c",
line 592: warning: implicit function declaration: setenv
[...]

cc  -O -DDEFSHELL_CUSTOM="/usr/xpg4/bin/sh" -DHAVE_STRDUP=1
-DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c
/home/rhaen/compile_things/src/tools/make/../../usr.bin/make/lst.lib/lstSucc.c
cc  -O -o nbmake *.o  
Undefined                       first referenced
 symbol                             in file
 unsetenv                            var.o
 ld: fatal: Symbol referencing errors. No output written to nbmake

 ERROR: Build of nbmake failed
 *** BUILD ABORTED ***

Attachment: smime.p7s
Description: S/MIME cryptographic signature



Home | Main Index | Thread Index | Old Index