32 bit compilation

Bardo Bakker bardobakker at gmail.com
Mon Nov 30 13:34:40 PST 2009


Hi,

I changed macports.conf and set build_arch as i386.
This changed the occurring error... This time the error is less understandable.
Is this a port-thin or CGAL thing?

Importent part of log:

:info:build   "boost::detail::set_tss_data(void const*, boost::shared_ptr<boost::detail::tss_cleanup_function>, void*, bool)", referenced from:
:info:build       ___tcf_3 in all_files.o
:info:build       ___tcf_4 in all_files.o
:info:build       ___tcf_5 in all_files.o
:info:build ld: symbol(s) not found
:info:build collect2: ld returned 1 exit status
:info:build make[2]: *** [lib/libCGAL.4.0.0.dylib] Error 1
:info:build make[1]: *** [src/CGAL/CMakeFiles/CGAL.dir/all] Error 2
:info:build make: *** [all] Error 2


The rest of log:


:msg:configure --->  Building cgal
:debug:build build phase started at Mon Nov 30 22:08:36 CET 2009
:debug:build Executing org.macports.build (cgal)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gis_cgal/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gis_cgal/work/cgal-3.5" && /usr/bin/make -j2'
:info:build Scanning dependencies of target CGAL
:info:build [  4%] Building CXX object src/CGAL/CMakeFiles/CGAL.dir/all_files.o
:info:build Linking CXX shared library ../../lib/libCGAL.dylib
:info:build ld: warning: in /opt/local/lib/libgmpxx.dylib, file is not of required architecture
:info:build ld: warning: in /opt/local/lib/libmpfr.dylib, file is not of required architecture
:info:build ld: warning: in /opt/local/lib/libgmp.dylib, file is not of required architecture
:info:build ld: warning: in /opt/local/lib/libboost_thread-mt.dylib, file is not of required architecture
:info:build Undefined symbols:
:info:build   "boost::detail::set_tss_data(void const*, boost::shared_ptr<boost::detail::tss_cleanup_function>, void*, bool)", referenced from:
:info:build       ___tcf_3 in all_files.o
:info:build       ___tcf_4 in all_files.o
:info:build       ___tcf_5 in all_files.o
:info:build ld: symbol(s) not found
:info:build collect2: ld returned 1 exit status
:info:build make[2]: *** [lib/libCGAL.4.0.0.dylib] Error 1
:info:build make[1]: *** [src/CGAL/CMakeFiles/CGAL.dir/all] Error 2
:info:build make: *** [all] Error 2
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gis_cgal/work/cgal-3.5" && /usr/bin/make -j2 " returned error 2
:error:build Target org.macports.build returned: shell command failed
:debug:build Backtrace: shell command failed
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 9)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for cgal): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:msg:build Log for cgal is at: /opt/local/var/macports/logs/cgal/main.log
:error:build Status 1 encountered during processing.
:msg:build To report a bug, see <http://guide.macports.org/#project.tickets>



More information about the macports-users mailing list