[cgma-dev] error in make check

Rajeev Jain jain at mcs.anl.gov
Sat Dec 18 20:17:40 CST 2010


Thanks, changed my configure line to include --enable-shared. I'm doing this on 
a 32-bit system:

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


I'm getting a seg fault now. It seems to be related to Ubuntu distribution:
https://bugs.launchpad.net/ubuntu/+source/pciutils/+bug/690431


rajeev at nix:~/FATHOM/source/CGM/itaps/.libs$ ./testgeom
Segmentation fault
rajeev at nix:~/FATHOM/source/CGM/itaps/.libs$ gdb testgeom
This GDB was configured as "i686-linux-gnu".
.
Reading symbols from /home/rajeev/FATHOM/source/CGM/itaps/.libs/testgeom...done.
(gdb) r
Starting program: /home/rajeev/FATHOM/source/CGM/itaps/.libs/testgeom 
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
__memcpy_ssse3 () at ../sysdeps/i386/i686/multiarch/memcpy-ssse3.S:1279
1279    ../sysdeps/i386/i686/multiarch/memcpy-ssse3.S: No such file or 
directory.
    in ../sysdeps/i386/i686/multiarch/memcpy-ssse3.S
(gdb) 


 Rajeev





________________________________
From: Steve Jackson <sjackson at cae.wisc.edu>
To: Rajeev Jain <jain at mcs.anl.gov>
Cc: Developer information for cgma <cgma-dev at lists.mcs.anl.gov>
Sent: Friday, December 17, 2010 10:31:41
Subject: Re: [cgma-dev] error in make check

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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/cgma-dev/attachments/20101218/c8e23941/attachment.htm>


More information about the cgma-dev mailing list