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
[email protected]


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to