Current-Users archive

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

cross compiling on MacOSX fails



Hi,

as compiling -current on Solaris fails (see my mail some
minutes ago) I tried MacOSX: Fails in nbperf, too:

dependall ===> nbperf
    compile  nbperf/nbperf.lo
/Users/ks/NetBSD/src/tools/nbperf/../../usr.bin/nbperf/nbperf.c: In function 
'main':
/Users/ks/NetBSD/src/tools/nbperf/../../usr.bin/nbperf/nbperf.c:205: warning: 
incompatible implicit declaration of built-in function 'strndup'
    compile  nbperf/nbperf-bdz.lo
    compile  nbperf/nbperf-chm.lo
    compile  nbperf/nbperf-chm3.lo
    compile  nbperf/graph2.lo
    compile  nbperf/graph3.lo
       link  nbperf/nbperf
Undefined symbols:
  "_le32toh", referenced from:
      _mi_vector_hash in libnbcompat.a(mi_vector_hash.lo)
      _mi_vector_hash in libnbcompat.a(mi_vector_hash.lo)
      _mi_vector_hash in libnbcompat.a(mi_vector_hash.lo)
      _mi_vector_hash in libnbcompat.a(mi_vector_hash.lo)
      _mi_vector_hash in libnbcompat.a(mi_vector_hash.lo)
      _mi_vector_hash in libnbcompat.a(mi_vector_hash.lo)
      _mi_vector_hash in libnbcompat.a(mi_vector_hash.lo)
      _mi_vector_hash in libnbcompat.a(mi_vector_hash.lo)
      _mi_vector_hash in libnbcompat.a(mi_vector_hash.lo)
  "_le32dec", referenced from:
      _mi_vector_hash in libnbcompat.a(mi_vector_hash.lo)
      _mi_vector_hash in libnbcompat.a(mi_vector_hash.lo)
      _mi_vector_hash in libnbcompat.a(mi_vector_hash.lo)
      _mi_vector_hash in libnbcompat.a(mi_vector_hash.lo)
      _mi_vector_hash in libnbcompat.a(mi_vector_hash.lo)
      _mi_vector_hash in libnbcompat.a(mi_vector_hash.lo)
ld: symbol(s) not found
collect2: ld returned 1 exit status

*** Failed target:  nbperf
*** 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/nbperf/../compat -DHAVE_NBTOOL_CONFIG_H=1 
-D_FILE_OFFSET_BITS=64 -o nbperf nbperf.lo nbperf-bdz.lo nbperf-chm.lo 
nbperf-chm3.lo graph2.lo graph3.lo 
-L/Users/ks/NetBSD/arch/amd64/obj/tools/compat -lnbcompat -lz
*** Error code 1

Stop.
nbmake: stopped in /Users/ks/NetBSD/src/tools/nbperf

*** Failed target:  dependall


Cross compiling on MacOSX worked for me till today, Feb  3 14:59
(building distribution for i386).

Kurt


Home | Main Index | Thread Index | Old Index