Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Cross building tools broken on MacOS X
Recent changes to lint are problematic at least on MacOS X:
$ ./build.sh -m amiga -U tools
(...)
# link lint1/lint1
cc -O -no-cpp-precomp -I/Users/rkujawa/Downloads/src/usr/src/tools/compat/obj
-I/Users/rkujawa/Downloads/src/usr/src/tools/compat/obj/include
-I/Users/rkujawa/Downloads/src/usr/src/tools/lint1/../compat
-DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64
-I/Users/rkujawa/Downloads/src/usr/src/tools/lint1/../../usr.bin/xlint/lint1
-I. -DPASS=\"lint1.h\"
-I/Users/rkujawa/Downloads/src/usr/src/tools/lint1/../../usr.bin/xlint/lint1/../arch/m68k
-I/Users/rkujawa/Downloads/src/usr/src/tools/lint1/../../usr.bin/xlint/lint1/../common
-o lint1 cgram.lo scan.lo mem1.lo mem.lo err.lo main1.lo decl.lo tree.lo
func.lo init.lo emit.lo emit1.lo inittyp.lo tyname.lo print.lo ops.lo
-L/Users/rkujawa/Downloads/src/usr/src/tools/compat/obj -lnbcompat -lz -lm
Undefined symbols:
"___arraycount", referenced from:
_initmtab in ops.lo
ld: symbol(s) not found
collect2: ld returned 1 exit status
I believe that this happens due to the fact, that MacOS X does not provide
___arraycount macro, and somehow this macro is not included from
tools/compat/compat_defs.h .
--
Best regards,
RadosÅaw Kujawa
Home |
Main Index |
Thread Index |
Old Index