Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
building lint as a host tool on MacOS (Snow Leopard) and Solaris fails
Hi,
after updating -current source some minutes ago I ran into the problem
below on both my mac and solaris machine (no problem compiling native):
# link lint2/lint2
cc -O -no-cpp-precomp -I/Users/ks/NetBSD/arch/i386/obj/tools/compat
-I/Users/ks/NetBSD/arch/i386/obj/tools/compat/include
-I/Users/ks/NetBSD/src/tools/lint2/../compat -DHAVE_NBTOOL_CONFIG_H=1
-D_FILE_OFFSET_BITS=64 -DPASS=\"lint2.h\"
-I/Users/ks/NetBSD/src/tools/lint2/../../usr.bin/xlint/lint2
-I/Users/ks/NetBSD/src/tools/lint2/../../usr.bin/xlint/lint2/../arch/i386
-I/Users/ks/NetBSD/src/tools/lint2/../../usr.bin/xlint/lint2/../common -o
lint2 main2.lo hash.lo read.lo mem.lo mem2.lo chk.lo msg.lo emit.lo emit2.lo
inittyp.lo tyname.lo -L/Users/ks/NetBSD/arch/i386/obj/tools/compat -lnbcompat
-lz
Undefined symbols:
"___arraycount", referenced from:
_chkname in chk.lo
ld: symbol(s) not found
collect2: ld returned 1 exit status
*** Failed target: lint2
*** Failed command: cc -O -no-cpp-precomp
-I/Users/ks/NetBSD/arch/i386/obj/tools/compat
-I/Users/ks/NetBSD/arch/i386/obj/tools/compat/include
-I/Users/ks/NetBSD/src/tools/lint2/../compat -DHAVE_NBTOOL_CONFIG_H=1
-D_FILE_OFFSET_BITS=64 -DPASS=\"lint2.h\"
-I/Users/ks/NetBSD/src/tools/lint2/../../usr.bin/xlint/lint2
-I/Users/ks/NetBSD/src/tools/lint2/../../usr.bin/xlint/lint2/../arch/i386
-I/Users/ks/NetBSD/src/tools/lint2/../../usr.bin/xlint/lint2/../common -o lint2
main2.lo hash.lo read.lo mem.lo mem2.lo chk.lo msg.lo emit.lo emit2.lo
inittyp.lo tyname.lo -L/Users/ks/NetBSD/arch/i386/obj/tools/compat -lnbcompat
-lz
*** Error code 1
Stop.
nbmake: stopped in /Users/ks/NetBSD/src/tools/lint2
*** Failed target: dependall
Tried for both amd64 and i386.
Kurt
Home |
Main Index |
Thread Index |
Old Index