Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

cturnes

macrumors newbie
Original poster
I'm trying to configure the FFTW3 library to use in OS X 10.6.3. I have a machine capable of 64-bit, but I need to configure it as a 32-bit so that a 32-bit program (MATLAB) can interface with it (through mex). I'm trying to pass it the following configure command:

./configure CFLAGS="-m32 -b i386" CPPFLAGS="-b i386" LDFLAGS="-arch i386"

but when I go to run make, I get:
/usr/bin/ranlib: archive member: libbench2.a(my-getopt.o) cputype (16777223) does not match previous archive members cputype (7) (all members must match)

Any ideas?
 
Sounds like there were some object files left around which were compiled with the previous setting. Perhaps you've tried to build it first, and then decided to try a different configuration?

Does it help to do a make clean in the top-level directory?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.