From: D. M. <dm...@ne...> - 2011-11-28 07:06:10
|
g++ -o libgag/src/BinaryStream.o -c -g -O2 -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/sw/include -I/usr/X11R6/include -Ilibgag/include -I. -I/sw/include/SDL libgag/src/BinaryStream.cpp [...and other .cpp->.o with no problems...] g++ -o src/glob2 -g -O2 -Wl,-framework,Cocoa src/AICastor.o [...a mile of other .o...] libgag/src/libgag.a -L/sw/lib -L/usr/X11R6/lib -lz -lboost_thread -lfribidi -lSDLmain -lSDL -lvorbisfile -lSDL_ttf -lSDL_image -lSDL_net -lspeex -framework OpenGL -framework GLUT ld: warning: ignoring file /sw/lib/libboost_thread.dylib, file was built for unsupported file format which is not the architecture being linked (x86_64) [...a bunch of this same warning for other dependent libs via -l flags...] Undefined symbols for architecture x86_64: "_main", referenced from: start in crt1.10.6.o (maybe you meant: _SDL_main) [...a few miles of others...] I spot-checked the local .o and they are all single-arch x86_64, which is not correct for my fink installation (the dep libs *are* correct arch). So the compiling stage is not using the i386 compiler-wrappers PATH setting. This build is driven by the black box that is scons, so I have no idea how to begin diagnosing. But I did try with both the current scons-2.0.1-1 and the scone-1.2.0-2 whose .deb I had laying around, and both gave same result. dan -- Daniel Macks dm...@ne... |