Closed GoogleCodeExporter closed 9 years ago
What steps will reproduce the problem? 1. Add 'GnuConfigureExtra += --enable-shared' to Makefile 2. make build What is the expected output? What do you see instead? /bin/sh ./libtool --mode=link gcc -Wall -Wshadow -Wundef -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -arch i386 -arch x86_64 -Os -I./popt -arch i386 -arch x86_64 -o rdiff rdiff.o isprefix.o popt/libpopt.a librsync.la -lbz2 -lz gcc -Wall -Wshadow -Wundef -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -arch i386 -arch x86_64 -Os -I./popt -arch i386 -arch x86_64 -o .libs/rdiff rdiff.o isprefix.o popt/libpopt.a ./.libs/librsync.dylib -lbz2 -lz ld: warning: ignoring file ./.libs/librsync.dylib, file was built for unsupported file format which is not the architecture being linked (x86_64) Undefined symbols for architecture x86_64: "_rs_librsync_version", referenced from: _main in rdiff.o "_rs_supports_trace", referenced from: _main in rdiff.o "_rs_log0", referenced from: _main in rdiff.o "_rs_trace_set_level", referenced from: _main in rdiff.o "_rs_file_open", referenced from: _main in rdiff.o "_rs_sig_file", referenced from: _main in rdiff.o "_rs_file_close", referenced from: _main in rdiff.o "_rs_log_stats", referenced from: _main in rdiff.o "_rs_loadsig_file", referenced from: _main in rdiff.o "_rs_build_hash_table", referenced from: _main in rdiff.o "_rs_delta_file", referenced from: _main in rdiff.o "_rs_free_sumset", referenced from: _main in rdiff.o "_rs_patch_file", referenced from: _main in rdiff.o "_rs_strerror", referenced from: _main in rdiff.o "_rs_inbuflen", referenced from: _opts in rdiff.o "_rs_outbuflen", referenced from: _opts in rdiff.o "_rs_roll_paranoia", referenced from: _opts in rdiff.o ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status lipo: can't open input file: /var/folders/rX/rXLoLiozF347W9Y05+0SkE+++TI/-Tmp-//ccHCTGJG.out (No such file or directory) make[3]: *** [rdiff] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all] Error 2 make: *** [build] Error 2 Please use labels and text to provide additional information.
Original issue reported on code.google.com by ruda.moura@gmail.com on 7 May 2011 at 7:03
ruda.moura@gmail.com
Fixed in revision 3b53e24554.
Original comment by ruda.moura@gmail.com on 21 May 2011 at 1:58
Original issue reported on code.google.com by
ruda.moura@gmail.com
on 7 May 2011 at 7:03