I builded my app with xcode iOS8 under 32 bits architecture, it succeeded. When I builded it under 64 bits architecture (armv7, arm64), it failed with the following message: Undefined symbols for architecture x8664: 'OBJCCLASS$ATParams', referenced from: objc-class-ref in Tagger.o. Ld: symbol(s) not found for architecture x8664. Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers. Undefined symbols for architecture x8664: 'LLVMFuzzerInitialize' in MacOS #115. Closed riusksk opened this issue Nov 26, 2016 17 comments. I don't think there's a code yet in mac/ to support persistent fuzzing? You can try to compile with OS=POSIX, though as far as I can tell MacOSX doesn't support timers used in posix/.
Our computer labs are working under Linux OS, but I tried compiling the code on my home computer (Mac OS X). I am getting the following error: Undefined symbols for architecture x8664: 'tdestroy', referenced from: dictionarydestroy in libdictionary.o dictionarydestroyfree in libdictionary.o ld: symbol(s) not found for architecture x8664. Dec 31, 2016 I bet this error compiling on Mac OS 10.10 Undefined symbols for architecture x8664 and if I try compiling using 32bit I get this error Undefined symbols for.
What is going on here? I can't seem to build with gcc. How can I fix this.
mbp-mbp 09:24:18 ~/bin $ gcc connect.c -o connect
Undefined symbols for architecture x86_64:
'_res_9_init', referenced from:
_switch_ns in ccTLCqYq.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
mbp-mbp 09:26:14 ~/bin $ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc/4.8.3/libexec/gcc/x86_64-apple-darwin1 3.2.0/4.8.3/lto-wrapper
Target: x86_64-apple-darwin13.2.0
Configured with: ../configure --build=x86_64-apple-darwin13.2.0 --prefix=/usr/local/Cellar/gcc/4.8.3 --enable-languages=c,c++,objc,obj-c++,fortran --with-gmp=/usr/local/opt/gmp --with-mpfr=/usr/local/opt/mpfr --with-mpc=/usr/local/opt/libmpc --with-cloog=/usr/local/opt/cloog --with-isl=/usr/local/opt/isl --with-system-zlib --enable-version-specific-runtime-libs --enable-libstdcxx-time=yes --enable-stage1-checking --enable-checking=release --enable-lto --disable-werror --enable-plugin --disable-nls --enable-multilib
Thread model: posix
gcc version 4.8.3 (GCC)
5.1.1 xcode nad command line tools
OSX 10.9.3
Cheers
Posted on
What is going on here? I can't seem to build with gcc. How can I fix this.
mbp-mbp 09:24:18 ~/bin $ gcc connect.c -o connect
Undefined symbols for architecture x86_64:
'_res_9_init', referenced from:
_switch_ns in ccTLCqYq.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
Undefined Symbols For Architecture X86_64 Mac Gfortran
mbp-mbp 09:26:14 ~/bin $ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc/4.8.3/libexec/gcc/x86_64-apple-darwin1 3.2.0/4.8.3/lto-wrapper
Target: x86_64-apple-darwin13.2.0
Configured with: ../configure --build=x86_64-apple-darwin13.2.0 --prefix=/usr/local/Cellar/gcc/4.8.3 --enable-languages=c,c++,objc,obj-c++,fortran --with-gmp=/usr/local/opt/gmp --with-mpfr=/usr/local/opt/mpfr --with-mpc=/usr/local/opt/libmpc --with-cloog=/usr/local/opt/cloog --with-isl=/usr/local/opt/isl --with-system-zlib --enable-version-specific-runtime-libs --enable-libstdcxx-time=yes --enable-stage1-checking --enable-checking=release --enable-lto --disable-werror --enable-plugin --disable-nls --enable-multilib
Thread model: posix
gcc version 4.8.3 (GCC)
5.1.1 xcode nad command line tools
Undefined Symbols For Architecture X86_64 Mac Ffmpeg
OSX 10.9.3
Undefined Symbols For Architecture X86_64 Mac G++
Cheers
Posted on
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2020
Categories |