Current-Users archive

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

Re: cross compiling on MacOSX fails



On 03/02/2010 21:58, Kurt Schreiner wrote:
But there's another failure now compiling tic as a host tool
(this is on MacOSX again, not tried Solaris, yet):

dependall ===>  tic
     compile  tic/hash.lo
/Users/ks/NetBSD/src/lib/libterminfo/hash.c:58: error: expected '=', ',', ';', 
'asm' or '__attribute__' before '_ti_flaghash'
/Users/ks/NetBSD/src/lib/libterminfo/hash.c: In function '_ti_flagindex':
/Users/ks/NetBSD/src/lib/libterminfo/hash.c:88: error: 'uint32_t' undeclared 
(first use in this function)
/Users/ks/NetBSD/src/lib/libterminfo/hash.c:88: error: (Each undeclared 
identifier is reported only once
/Users/ks/NetBSD/src/lib/libterminfo/hash.c:88: error: for each function it 
appears in.)
/Users/ks/NetBSD/src/lib/libterminfo/hash.c:88: error: expected ';' before 'idx'
/Users/ks/NetBSD/src/lib/libterminfo/hash.c:90: error: 'idx' undeclared (first 
use in this function)
/Users/ks/NetBSD/src/lib/libterminfo/hash.c: At top level:
/Users/ks/NetBSD/src/lib/libterminfo/hash.c:136: error: expected '=', ',', ';', 
'asm' or '__attribute__' before '_ti_numhash'
/Users/ks/NetBSD/src/lib/libterminfo/hash.c: In function '_ti_numindex':
/Users/ks/NetBSD/src/lib/libterminfo/hash.c:165: error: 'uint32_t' undeclared 
(first use in this function)
/Users/ks/NetBSD/src/lib/libterminfo/hash.c:165: error: expected ';' before 
'idx'
/Users/ks/NetBSD/src/lib/libterminfo/hash.c:167: error: 'idx' undeclared (first 
use in this function)
/Users/ks/NetBSD/src/lib/libterminfo/hash.c: At top level:
/Users/ks/NetBSD/src/lib/libterminfo/hash.c:574: error: expected '=', ',', ';', 
'asm' or '__attribute__' before '_ti_strhash'
/Users/ks/NetBSD/src/lib/libterminfo/hash.c: In function '_ti_strindex':
/Users/ks/NetBSD/src/lib/libterminfo/hash.c:695: error: 'uint32_t' undeclared 
(first use in this function)
/Users/ks/NetBSD/src/lib/libterminfo/hash.c:695: error: expected ';' before 
'idx'
/Users/ks/NetBSD/src/lib/libterminfo/hash.c:697: error: 'idx' undeclared (first 
use in this function)

*** Failed target:  hash.lo
*** Failed command: cc -O -no-cpp-precomp 
-I/Users/ks/NetBSD/arch/amd64/obj/tools/compat 
-I/Users/ks/NetBSD/arch/amd64/obj/tools/compat/include 
-I/Users/ks/NetBSD/src/tools/tic/../compat -DHAVE_NBTOOL_CONFIG_H=1 
-D_FILE_OFFSET_BITS=64 
-I/Users/ks/NetBSD/src/tools/tic/../../usr.bin/tic/../../lib/libterminfo -c -o 
hash.lo.o /Users/ks/NetBSD/src/lib/libterminfo/hash.c
*** Error code 1

This should be fixed as well now.

Thanks

Roy


Home | Main Index | Thread Index | Old Index