Now rebuilding fink in 64-bit only mode.
Will probably take a while to redownload all packages. Sigh.
This mix of 64 bit and 32 bit libraries is really frustrating. I imagine some will be 32 bit, others 64 bit. What is the best strategy? Force everything to be 32 bits? 64 bits?Erland-Lewins-Mac-mini:src erl$ makear rc ../lib/libfeat.a imgfeatures.o utils.o sift.o kdtree.o minpq.o xform.oranlib ../lib/libfeat.agcc -O3 -I../include `pkg-config --cflags opencv` `pkg-config --cflags gtk+-2.0` `pkg-config --cflags gsl` siftfeat.c -o ../bin/siftfeat -L../lib -lfeat `pkg-config --libs opencv` `pkg-config --libs gtk+-2.0` `pkg-config --libs gsl`ld: warning: in /sw/lib/libgtk-x11-2.0.dylib, file is not of required architectureld: warning: in /sw/lib/libgdk-x11-2.0.dylib, file is not of required architectureld: warning: in /sw/lib/libatk-1.0.dylib, file is not of required architectureld: warning: in /sw/lib/libgio-2.0.dylib, file is not of required architectureld: warning: in /sw/lib/libpangoft2-1.0.dylib, file is not of required architectureld: warning: in /sw/lib/libgdk_pixbuf-2.0.dylib, file is not of required architectureld: warning: in /sw/lib/libpangocairo-1.0.dylib, file is not of required architectureld: warning: in /sw/lib/libcairo.dylib, file is not of required architectureld: warning: in /sw/lib/libpango-1.0.dylib, file is not of required architectureld: warning: in /sw/lib/libfreetype.dylib, file is not of required architectureld: warning: in /sw/lib/libgobject-2.0.dylib, file is not of required architectureld: warning: in /sw/lib/libgmodule-2.0.dylib, file is not of required architectureld: warning: in /sw/lib/libglib-2.0.dylib, file is not of required architectureld: warning: in /sw/lib/libintl.dylib, file is not of required architectureld: warning: in /sw/lib/libgsl.dylib, file is not of required architectureld: warning: in /sw/lib/libgslcblas.dylib, file is not of required architectureUndefined symbols:"_gdk_screen_get_default", referenced from:_display_big_img in libfeat.a(utils.o)"_gdk_screen_get_height", referenced from:_display_big_img in libfeat.a(utils.o)"_gdk_init", referenced from:_display_big_img in libfeat.a(utils.o)"_gdk_screen_get_width", referenced from:_display_big_img in libfeat.a(utils.o)ld: symbol(s) not foundcollect2: ld returned 1 exit statusmake: *** [siftfeat] Error 1
g++ -O3 -c `pkg-config --cflags opencv libxml-2.0 sdl gtk+-2.0` -I./ann_1.1.1/include/ cv_extensions.cppcv_extensions.cpp: In function ‘void cvComputeRQDecomposition(CvMat*, CvMat*, CvMat*, CvMat*, CvMat*, CvMat*, CvPoint3D64f*)’:cv_extensions.cpp:18: error: ‘__BEGIN__’ was not declared in this scopecv_extensions.cpp:197: error: ‘__END__’ was not declared in this scopecv_extensions.cpp:22: error: label ‘exit’ used but not defined
Erland-Lewins-Mac-mini:sift erl$ makemake -C ./src siftfeatar rc ../lib/libfeat.a imgfeatures.o utils.o sift.o kdtree.o minpq.o xform.oranlib ../lib/libfeat.aranlib: warning for library: ../lib/libfeat.a the table of contents is empty (no object file members in the library define global symbols)gcc -O3 -I../include `pkg-config --cflags opencv` `pkg-config --cflags gtk+-2.0` `pkg-config --cflags gsl` siftfeat.c -o ../bin/siftfeat -L../lib -lfeat `pkg-config --libs opencv` `pkg-config --libs gtk+-2.0` `pkg-config --libs gsl`ld: warning: in ../lib/libfeat.a, file is not of required architectureld: warning: in /usr/local/lib/libcxcore.dylib, file is not of required architectureld: warning: in /usr/local/lib/libcv.dylib, file is not of required architectureld: warning: in /usr/local/lib/libhighgui.dylib, file is not of required architecture