compilation - Compile error OSX -
i'm trying compile programme called pear enter link description here , seems there wrong @ step.
i have xcode installed.
thanks help, bernardo
bernardos-macbook-pro:pear-0.9.0-src bernardo$ create /applications/xcode.app/contents/developer/usr/bin/make -c src gcc -c -wall -fomit-frame-pointer -o3 -lm pear-pt.c -o pear-pt.o clang: warning: -lm: 'linker' input unused gcc -c -wall -fomit-frame-pointer -o3 -lm reader.c -o reader.o clang: warning: -lm: 'linker' input unused reader.c:670:1: warning: unused function 'do_cpuid' [-wunused-function] do_cpuid(uint32_t selector, uint32_t *data) ^ 1 warning generated. gcc -wall -fomit-frame-pointer -o3 -lm pear-pt.o args.o statistics.o reader.o -lm -lpthread -o pear ld: warning: ignoring file args.o, file built unsupported file format ( 0x7f 0x45 0x4c 0x46 0x01 0x01 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ) not architecture beingness linked (x86_64): args.o ld: warning: ignoring file statistics.o, file built unsupported file format ( 0x7f 0x45 0x4c 0x46 0x01 0x01 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ) not architecture beingness linked (x86_64): statistics.o undefined symbols architecture x86_64: "_decode_switches", referenced from: _main in pear-pt.o "_stat_test2", referenced from: _assembly_forward_longer in pear-pt.o _assembly_reads_equal in pear-pt.o _assembly_reverse_longer in pear-pt.o _assembly in pear-pt.o "_usage", referenced from: _main in pear-pt.o ld: symbol(s) not found architecture x86_64 clang: error: linker command failed exit code 1 (use -v see invocation) make[1]: *** [pear] error 1 make: *** [all] error 2
osx compilation
No comments:
Post a Comment