Closed nevik-xx closed 13 years ago
I found that this was due to GMP not being installed correctly with macports and needed to be not just port installed but also configured like. --enable-cxx --enable-mpbsd --enable-static --with-gnu-ld
and then all worked fine. with the make_self error.
hello and good day. I am running Mac OsX 10.6.7 an iMac Core2Duo. I have come across this error and can't seem to figure out what to do? any help would be great! thanks!
libsputhread.a building ... make_self ld: warning: in /opt/local/lib/libgmp.dylib, file was built for unsupported file format which is not the architecture being linked (i386) ld: warning: in /opt/local/lib/libcrypto.dylib, file was built for unsupported file format which is not the architecture being linked (i386) ld: warning: in /opt/local/lib/libz.dylib, file was built for unsupported file format which is not the architecture being linked (i386) Undefined symbols: "_SHA1_Init", referenced from: _SHA1_ghetto_final in ccLXBFVv.o _SHA1_ghetto_init in ccLXBFVv.o "_AES_ctr128_encrypt", referenced from: _enumerate_segments in ccLXBFVv.o _main in ccLXBFVv.o "_gmpz_add", referenced from: main in ccLXBFVv.o "gmpz_urandomb", referenced from: _enumerate_segments in ccLXBFVv.o _enumerate_segments in ccLXBFVv.o _enumerate_segments in ccLXBFVv.o "_gmpz_mul", referenced from: _main in ccLXBFVv.o _main in ccLXBFVv.o "_gmp_randinit_default", referenced from: main in ccLXBFVv.o "gmp_randseed_ui", referenced from: _main in ccLXBFVv.o "___gmpz_invert", referenced from: main in ccLXBFVv.o "gmpz_export", referenced from: _enumerate_segments in ccLXBFVv.o _enumerate_segments in ccLXBFVv.o _enumerate_segments in ccLXBFVv.o _main in ccLXBFVv.o _main in ccLXBFVv.o "deflateInit", referenced from: _def in ccLXBFVv.o "_SHA1_Update", referenced from: _SHA1_ghetto_final in ccLXBFVv.o _SHA1_ghetto_final in ccLXBFVv.o _SHA1_ghetto_init in ccLXBFVv.o _enumerate_segments in ccLXBFVv.o "_deflateEnd", referenced from: _def in ccLXBFVv.o "_gmpz_import", referenced from: _main in ccLXBFVv.o _main in ccLXBFVv.o _main in ccLXBFVv.o _main in ccLXBFVv.o _main in ccLXBFVv.o "_AES_set_encrypt_key", referenced from: _aesOmac1Mode in ccLXBFVv.o _enumerate_segments in ccLXBFVv.o main in ccLXBFVv.o "gmpz_init", referenced from: _enumerate_segments in ccLXBFVv.o _enumerate_segments in ccLXBFVv.o _enumerate_segments in ccLXBFVv.o _main in ccLXBFVv.o _main in ccLXBFVv.o _main in ccLXBFVv.o _main in ccLXBFVv.o _main in ccLXBFVv.o _main in ccLXBFVv.o _main in ccLXBFVv.o "_AES_encrypt", referenced from: _aesOmac1Mode in ccLXBFVv.o _aesOmac1Mode in ccLXBFVv.o _aesOmac1Mode in ccLXBFVv.o "_SHA1", referenced from: _main in ccLXBFVv.o (maybe you meant: _SHA1_ghetto_final, _SHA1_ghetto_init ) "_deflate", referenced from: _def in ccLXBFVv.o "___gmpz_mod", referenced from: _main in ccLXBFVv.o _main in ccLXBFVv.o _main in ccLXBFVv.o "_SHA1_Final", referenced from: _SHA1_ghetto_final in ccLXBFVv.o _SHA1_ghetto_final in ccLXBFVv.o ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: * [make_self] Error 1 make[1]: * [all] Error 2 make: *\ [all] Error 2 ../scripts/011-psl1ght.sh: Failed. ERROR: Could not run the toolchain script.