[cgma-dev] error in make check

Steve Jackson sjackson at cae.wisc.edu
Fri Dec 17 10:31:41 CST 2010


If you're building against 32-bit CUBIT on a 64-bit machine, you probably need to add "--enable-32bit" to your CGM configure line.
~S

On Dec 16, 2010, at 18:56 , Rajeev Jain wrote:

> 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
> 
> Send to CGMA announce instead of dev.



More information about the cgma-dev mailing list