[cgma-dev] CGM make check not working for me...

Grindeanu, Iulian R. iulian at mcs.anl.gov
Thu Mar 13 16:34:30 CDT 2014


I would do a make distclean, set the LD_LIBRARY_PATH, autoreconf , etc

are your .libs folder clean?

Iulian
________________________________________
From: cgma-dev-bounces at mcs.anl.gov [cgma-dev-bounces at mcs.anl.gov] on behalf of Tim Tautges (ANL) [tautges at mcs.anl.gov]
Sent: Thursday, March 13, 2014 4:04 PM
To: CGMA Development
Subject: [cgma-dev] CGM make check not working for me...

... I'm seeing the following error:

make[3]: Entering directory `/code/CGMcubit2/itaps'
make  chaman test_edge_orient  testgeom
make[4]: Entering directory `/code/CGMcubit2/itaps'
/bin/bash ../libtool  --tag=CXX   --mode=link g++  -Wall -pipe -pedantic -g -R/cubit/cubit13.1/bin
-L/cubit/cubit13.1/bin  -o chaman chaman.o libiGeom.la ../libcgm.la  -lm
libtool: link: g++ -Wall -pipe -pedantic -g -o .libs/chaman chaman.o  -L/cubit/cubit13.1/bin ./.libs/libiGeom.so
../.libs/libcgm.so -lm -Wl,-rpath -Wl,/home/tautges/code/CGMcubit2/lib -Wl,-rpath -Wl,/cubit/cubit13.1/bin
./.libs/libiGeom.so: undefined reference to `CubitSimpleAttrib::operator=(CubitSimpleAttrib const&)'
./.libs/libiGeom.so: undefined reference to `CubitSimpleAttrib::character_type() const'
./.libs/libiGeom.so: undefined reference to `CubitSimpleAttrib::CubitSimpleAttrib(CubitSimpleAttrib const&)'
./.libs/libiGeom.so: undefined reference to `CubitAttribManager::register_attrib_type(int, char const*, char const*,
CubitAttrib* (*)(RefEntity*, CubitSimpleAttrib const&), bool, bool, bool, bool, bool, bool)'
./.libs/libiGeom.so: undefined reference to `RefEntityFactory::instance()'
./.libs/libiGeom.so: undefined reference to `CubitSimpleAttrib::CubitSimpleAttrib(std::vector<CubitString,
std::allocator<CubitString> > const*, std::vector<double, std::allocator<double> > const*, std::vector<int,
std::allocator<int> > const*)'
./.libs/libiGeom.so: undefined reference to `CGMApp::startup(std::vector<CubitString, std::allocator<CubitString> > const&)'

I'm seeing that same error trying to build a MeshKit-based app, so I don't think it's anything specific to those
particular executables in itaps.  My configure line is:

   $ ./configure --with-cubit=/cubit/cubit13.1 --disable-optimize --enable-debug --prefix=/home/tautges/code/CGMcubit2
--enable-shared --enable-igeom


Oddly, I tried the same thing with cubit14.1, and got a different set of unresolved refs, but otherwise the same result:

make[3]: Entering directory `/code/CGMcubit2/itaps'
make  chaman test_edge_orient  testgeom
make[4]: Entering directory `/code/CGMcubit2/itaps'
g++ -DHAVE_CONFIG_H -I. -I.. -I../geom/parallel -I../geom  -DLITTLE_ENDIAN=BYTE_ORDER   -DTEMPLATE_DEFS_INCLUDED
-DHAVE_ACIS  -DSRCDIR=. -I../util -I../geom -I../init     -Wall -pipe -pedantic -g -MT chaman.o -MD -MP -MF
.deps/chaman.Tpo -c -o chaman.o chaman.cc
mv -f .deps/chaman.Tpo .deps/chaman.Po
/bin/bash ../libtool  --tag=CXX   --mode=link g++  -Wall -pipe -pedantic -g -R/cubit/cubit14.1/bin
-L/cubit/cubit14.1/bin  -o chaman chaman.o libiGeom.la ../libcgm.la  -lm
libtool: link: g++ -Wall -pipe -pedantic -g -o .libs/chaman chaman.o  -L/cubit/cubit14.1/bin ./.libs/libiGeom.so
../.libs/libcgm.so -lm -Wl,-rpath -Wl,/home/tautges/code/CGMcubit2/lib -Wl,-rpath -Wl,/cubit/cubit14.1/bin
./.libs/libiGeom.so: undefined reference to `GeometryQueryTool::translate(Body*, CubitVector const&, bool, bool)'
./.libs/libiGeom.so: undefined reference to `GeometryQueryTool::rotate(BasicTopologyEntity*, CubitVector const&, double,
bool, bool)'
./.libs/libiGeom.so: undefined reference to `CubitMessage::print_error(char const*, ...)'
./.libs/libiGeom.so: undefined reference to `GeometryQueryTool::translate(BasicTopologyEntity*, CubitVector const&,
bool, bool)'
./.libs/libiGeom.so: undefined reference to `GeometryQueryTool::reflect(DLIList<Body*>, CubitVector const&, CubitVector
const&, bool)'
./.libs/libiGeom.so: undefined reference to `CubitString::operator==(char const*) const'
./.libs/libiGeom.so: undefined reference to `GeometryQueryTool::reflect(BasicTopologyEntity*, CubitVector const&,
CubitVector const&, bool, bool)'
./.libs/libiGeom.so: undefined reference to `GeometryQueryTool::rotate(Body*, CubitVector const&, double, bool, bool)'
collect2: error: ld returned 1 exit status
make[4]: *** [chaman] Error 1
make[4]: Leaving directory `/code/CGMcubit2/itaps'

Any clues?

--
================================================================
"You will keep in perfect peace him whose mind is
   steadfast, because he trusts in you."               Isaiah 26:3

              Tim Tautges            Argonne National Laboratory
          (tautges at mcs.anl.gov)      (telecommuting from UW-Madison)
  phone (gvoice): (608) 354-1459      1500 Engineering Dr.
             fax: (608) 263-4499      Madison, WI 53706



More information about the cgma-dev mailing list