[CGMa-announce] error in make check

Rajeev Jain jain at mcs.anl.gov
Thu Dec 16 18:57:57 CST 2010


Please ignore: This must addressed to "Developer information for cgma" <cgma-dev at lists.mcs.anl.gov>; 

Rajeev

----- Original Message -----
From: "Rajeev Jain" <jain at mcs.anl.gov>
To: "Announcements for CGM-Argonne" <cgma-announce at lists.mcs.anl.gov>
Sent: Thursday, December 16, 2010 6:41:07 PM
Subject: [CGMa-announce] error in make check

Hi,

I'm trying to build a serial, static version of CGM. autoreconf, ./configure and make goes well, but, make check fails with the following error, looking for /libcubit_geom.so. I'm attaching my config.log file. My config options are: 

./configure --prefix=/home/rajeev/FATHOM/lib/CGM --with-cubit=/home/rajeev/cubit-32 --enable-debug


rajeev at nix:~/FATHOM/source/CGM/itaps$ make testgeom


/bin/bash ../libtool  --tag=CXX   --mode=link g++  -Wall -pipe -pedantic -g -R/home/rajeev/cubit-32/bin -L/home/rajeev/cubit-32/bin  -o testgeom testgeom.o libiGeom.la -lm
libtool: link: g++ -Wall -pipe -pedantic -g -o testgeom testgeom.o  -L/home/rajeev/cubit-32/bin ./.libs/libiGeom.a /home/rajeev/FATHOM/source/CGM/.libs/libcgm.a -lcubiti19 -lm -Wl,-rpath -Wl,/home/rajeev/cubit-32/bin
./.libs/libiGeom.a(iGeom_CGMA.o): In function `iGeom_load_cub_geometry':
/home/rajeev/FATHOM/source/CGM/itaps/iGeom_CGMA.cc:6260: warning: the use of `tmpnam' is dangerous, better use `mkstemp'


/usr/bin/ld.bfd.real: ./.libs/libiGeom.a(iGeom_CGMA.o): undefined reference to symbol 'MergeTool::merge_volumes(DLIList<RefVolume*>&, bool)'
/usr/bin/ld.bfd.real: note: 'MergeTool::merge_volumes(DLIList<RefVolume*>&, bool)' is defined in DSO /home/rajeev/cubit-32/bin/libcubit_geom.so so try adding it to the linker command line
/home/rajeev/cubit-32/bin/libcubit_geom.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make: *** [testgeom] Error 1


rajeev at nix:~/FATHOM/source/CGM/itaps$ ls -l .libs/


total 1420
-rw-r--r-- 1 rajeev rajeev 1444022 2010-12-16 18:10 libiGeom.a
lrwxrwxrwx 1 rajeev rajeev      14 2010-12-16 18:10 libiGeom.la -> ../libiGeom.la
-rw-r--r-- 1 rajeev rajeev    1020 2010-12-16 18:10 libiGeom.lai


Tried explicitly adding the linker by using "LDFLAGS=-L/home/rajeev/cubit-32/bin LIBS=-lcubit_geom" in the config line, it doesn't work.
 
Rajeev



More information about the cgma-announce mailing list