[MBDyn-users] Mac OS X linking problem MBDyn 1.3.6

Torsten Sadowski torsten.sadowski at tu-berlin.de
Fri Feb 6 16:38:46 CET 2009


Hi,

I get a bunch of linking errors complainig about missing symbols which I would 
expect to be present. I did not have this with 1.3.4. Right now I'm clueless.

Cheers, Torsten




-------------- next part --------------
tmac:~/Projects/mbdyn-1.3.6 totty$ ./configure --prefix=/Users/totty/Projects/MBDyn/
Configuring MBDyn 1.3.6 ...
checking build system type... powerpc-apple-darwin8.11.0
checking host system type... powerpc-apple-darwin8.11.0
checking target system type... powerpc-apple-darwin8.11.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build/install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking configure arguments... checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking for gcc version = 3.3... no
checking for gcc version = 3.2... no
checking for a sed that does not truncate output... /sw/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by gcc... /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld
checking if the linker (/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld) is GNU ld... no
checking for /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm -p output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin8.11.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld
checking if the linker (/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld) is GNU ld... no
checking whether the g++ linker (/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common
checking if g++ PIC flag -fno-common works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin8.11.0 dyld
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fno-common
checking if g77 PIC flag -fno-common works... yes
checking if g77 static flag -static works... no
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin8.11.0 dyld
checking how to hardcode library paths into programs... immediate
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for ANSI C header files... (cached) yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking atomic_ops.h usability... no
checking atomic_ops.h presence... no
checking for atomic_ops.h... no
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking semaphore.h usability... yes
checking semaphore.h presence... yes
checking for semaphore.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for stdint.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/sysinfo.h usability... no
checking sys/sysinfo.h presence... no
checking for sys/sysinfo.h... no
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for sys/types.h... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking values.h usability... no
checking values.h presence... no
checking for values.h... no
checking exception usability... yes
checking exception presence... yes
checking for exception... yes
checking stdexcept usability... yes
checking stdexcept presence... yes
checking for stdexcept... yes
checking netcdfcpp.h usability... no
checking netcdfcpp.h presence... no
checking for netcdfcpp.h... no
checking udunits.h usability... no
checking udunits.h presence... no
checking for udunits.h... no
checking for offsetof... yes
checking for socket... yes
checking for socklen_t... yes
checking for sig_atomic_t... yes
checking whether bool is defined... yes
checking whether the C++ compiler handles exceptions... yes
checking whether the C++ compiler allows to use namespace std... yes
checking g2c.h usability... no
checking g2c.h presence... yes
configure: WARNING: g2c.h: present but cannot be compiled
configure: WARNING: g2c.h:     check for missing prerequisite headers?
configure: WARNING: g2c.h: see the Autoconf documentation
configure: WARNING: g2c.h:     section "Present But Cannot Be Compiled"
configure: WARNING: g2c.h: proceeding with the preprocessor's result
configure: WARNING: g2c.h: in the future, the compiler will take precedence
checking for g2c.h... yes
checking f2c.h usability... no
checking f2c.h presence... no
checking for f2c.h... no
checking for f2c library... 
checking for libg2c... yes
checking for pow_di in -lg2c... yes
checking for usable threads... yes
checking ltdl.h usability... yes
checking ltdl.h presence... yes
checking for ltdl.h... yes
checking for lt_dlinit in -lltdl... yes
checking for /dev/TASK2CPU... no
checking for BLAS library... no
checking umfpack.h usability... no
checking umfpack.h presence... no
checking for umfpack.h... no
configure: WARNING: Umfpack not supported
checking for lapack... no
checking for arpack... no
checking mpi.h usability... no
checking mpi.h presence... no
checking for mpi.h... no
checking mpi++.h usability... no
checking mpi++.h presence... no
checking for mpi++.h... no
checking mpicxx.h usability... no
checking mpicxx.h presence... no
checking for mpicxx.h... no
configure: WARNING: MPI not supported
checking for METIS_PartGraphVKway in -lmetis... no
checking metis.h usability... no
checking metis.h presence... no
checking for metis.h... no
configure: WARNING: Metis not supported
checking for clock_nanosleep in -lrt... no
configure: WARNING: GPC/Deadbeat not allowed
checking ginac/ginac.h usability... no
checking ginac/ginac.h presence... no
checking for ginac/ginac.h... no
checking for GiNaC library... no
configure: WARNING: GiNaC not available
checking for atoi... yes
checking for atol... yes
checking for chdir... yes
checking for copysign... yes
checking for finite... yes
checking for get_ncpus... no
checking for get_nprocs... no
checking for get_nprocs_conf... no
checking for getcwd... yes
checking for gethostbyname... yes
checking for gethostbyname2... yes
checking for getopt... yes
checking for getopt_long... yes
checking for getpid... yes
checking for inet_aton... yes
checking for localtime... yes
checking for memset... yes
checking for memmove... yes
checking for mkstemp... yes
checking for mlockall... yes
checking for pstat_getdynamic... no
checking for pstat_getprocessor... no
checking for putenv... yes
checking for setenv... yes
checking for signal... yes
checking for sleep... yes
checking for strftime... yes
checking for strtod... yes
checking for strtol... yes
checking for strtoul... yes
checking for time... yes
checking for times... yes
checking for unsetenv... yes
checking whether cmath defines 'std::isfinite'... yes
checking whether class ios has fmtflags type... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating ./libraries/Makefile
config.status: creating ./libraries/libmbutil/Makefile
config.status: creating ./libraries/libmbmath/Makefile
config.status: creating ./libraries/libmbwrap/Makefile
config.status: creating ./libraries/liby12/Makefile
config.status: creating ./libraries/libcolamd/Makefile
config.status: creating ./libraries/libann/Makefile
config.status: creating ./libraries/libnaive/Makefile
config.status: creating ./libraries/libobjs/Makefile
config.status: creating ./mbdyn/Makefile
config.status: creating ./mbdyn/base/Makefile
config.status: creating ./mbdyn/aero/Makefile
config.status: creating ./mbdyn/elec/Makefile
config.status: creating ./mbdyn/thermo/Makefile
config.status: creating ./mbdyn/hydr/Makefile
config.status: creating ./mbdyn/struct/Makefile
config.status: creating ./modules/Makefile
config.status: creating ./utils/Makefile
config.status: creating ./etc/Makefile
config.status: creating ./etc/modal.d/Makefile
config.status: creating ./etc/pam.d/Makefile
config.status: creating ./var/Makefile
config.status: creating ./manual/Makefile
config.status: creating ./manual/mbdyn.1
config.status: creating ./include/Makefile
config.status: creating ./include/ac/Makefile
config.status: creating ./build/Makefile
config.status: creating include/mbconfig.h
config.status: include/mbconfig.h is unchanged
config.status: executing depfiles commands
config.status: executing default commands
tmac:~/Projects/mbdyn-1.3.6 totty$ make
Making all in include
.
.
.
g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I./../include -I./../libraries/libmbutil -I./../libraries/libmbmath -I./../libraries/libmbwrap -I./../mbdyn/base -I./../mbdyn/struct -I../mbdyn/thermo -I./../mbdyn/aero -I./../mbdyn/elec -I./../mbdyn/hydr   -I/sw/include  -g -O2 -MT mbdyn.o -MD -MP -MF .deps/mbdyn.Tpo -c -o mbdyn.o mbdyn.cc
mv -f .deps/mbdyn.Tpo .deps/mbdyn.Po
/bin/sh ../libtool --tag=CXX   --mode=link g++  -g -O2  -L/sw/lib -o mbdyn dummy_c.o dummy_f.o mbdyn.o  aero/libaero.la struct/libstruct.la elec/libelec.la thermo/libthermo.la hydr/libhydr.la base/libbase.la ../libraries/libmbwrap/libmbwrap.la ../libraries/libann/libann.la  /Users/totty/Projects/mbdyn-1.3.6/libraries/liby12/liby12.la -lm -lg2c -lltdl  -lltdl
mkdir .libs
g++ -g -O2 -o mbdyn dummy_c.o dummy_f.o mbdyn.o -Wl,-bind_at_load  -L/sw/lib aero/.libs/libaero.a struct/.libs/libstruct.a elec/.libs/libelec.a thermo/.libs/libthermo.a hydr/.libs/libhydr.a base/.libs/libbase.a ../libraries/libmbwrap/.libs/libmbwrap.a /Users/totty/Projects/mbdyn-1.3.6/libraries/libmbmath/.libs/libmbmath.a /Users/totty/Projects/mbdyn-1.3.6/libraries/libmbutil/.libs/libmbutil.a /Users/totty/Projects/mbdyn-1.3.6/libraries/libcolamd/.libs/libmbdyncolamd.a /Users/totty/Projects/mbdyn-1.3.6/libraries/libnaive/.libs/libnaive.a ../libraries/libann/.libs/libann.a /Users/totty/Projects/mbdyn-1.3.6/libraries/liby12/.libs/liby12.a /sw/lib/libg2c.a -lm /sw/lib/libltdl.dylib -ldl  
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
ReadHydraulicFluid(MBDynParser&, unsigned int)
C81Data::C81Data(unsigned int)
_destroy_c81_data
_read_c81_data
_read_c81_data_free_format
_read_fc511_data
TDCLW_init()
vtable for InvAngularCLR
typeinfo for AerodynamicElem
typeinfo for ElemGravityOwner
ReadStructNode(DataManager*, MBDynParser&, DofOwner*, unsigned int)
ThermalNode::ThermalNode(unsigned int, DofOwner const*, double, double, long)
ElectricNode::ElectricNode(unsigned int, DofOwner const*, double, double, long)
typeinfo for DynamicStructNode
ReadThermal(DataManager*, MBDynParser&, DofOwner const*, unsigned int)
ReadElectric(DataManager*, MBDynParser&, DofOwner const*, unsigned int)
ReadStructOutput(DataManager*, MBDynParser&, unsigned int)
ReadAirProperties(DataManager*, MBDynParser&)
ReadHydraulicElem(DataManager*, MBDynParser&, DofOwner const*, unsigned int)
ReadAerodynamicBeam(DataManager*, MBDynParser&, unsigned int)
ReadAerodynamicBody(DataManager*, MBDynParser&, unsigned int)
ReadAerodynamicBeam2(DataManager*, MBDynParser&, unsigned int)
ReadAerodynamicModal(DataManager*, MBDynParser&, DofOwner const*, unsigned int)
ReadAircraftInstruments(DataManager*, MBDynParser&, unsigned int)
ReadJointRegularization(DataManager*, MBDynParser&, unsigned int)
ReadGenericAerodynamicForce(DataManager*, MBDynParser&, unsigned int)
ReadBeam(DataManager*, MBDynParser&, unsigned int)
ReadBody(DataManager*, MBDynParser&, unsigned int)
ReadGust(DataManager*, MBDynParser&)
ReadBeam2(DataManager*, MBDynParser&, unsigned int)
ReadGenel(DataManager*, MBDynParser&, DofOwner const*, unsigned int)
ReadHBeam(DataManager*, MBDynParser&, unsigned int)
ReadJoint(DataManager*, MBDynParser&, DofOwner const*, unsigned int)
ReadRotor(DataManager*, MBDynParser&, DofOwner const*, unsigned int)
GravityOwner::PutGravity(Gravity const*)
AutomaticStructElem::Init(Vec3 const&, Vec3 const&, Vec3 const&, Vec3 const&)
AutomaticStructElem::AutomaticStructElem(DynamicStructNode const*)
Gravity::Gravity(TplDriveCaller<Vec3> const*, long)
Inertia::Inertia(unsigned int, std::set<ElemGravityOwner const*, std::less<ElemGravityOwner const*>, std::allocator<ElemGravityOwner const*> >&, Vec3 const&, Mat3x3 const&, std::basic_ostream<char, std::char_traits<char> >&, long)
typeinfo for StructNode
typeinfo for AirProperties
typeinfo for AutomaticStructElem
typeinfo for Modal
typeinfo for Gravity
AirPropOwner::PutAirProperties(AirProperties const*)
AerodynamicElem::~AerodynamicElem()
AerodynamicElem::~AerodynamicElem()
ElemGravityOwner::~ElemGravityOwner()
ElemGravityOwner::~ElemGravityOwner()
AirPropOwner::GetAirProps(Vec3 const&, double&, double&, double&, double&) const
AirPropOwner::dGetAirDensity(Vec3 const&) const
AirPropOwner::dGetSoundSpeed(Vec3 const&) const
AirPropOwner::dGetAirPressure(Vec3 const&) const
AirPropOwner::fGetAirVelocity(Vec3&, Vec3 const&) const
AirPropOwner::dGetAirTemperature(Vec3 const&) const
GravityOwner::bGetGravity(Vec3 const&, Vec3&) const
AerodynamicElem::NeedsAirProperties() const
AerodynamicElem::pGetRotor() const
virtual thunk to AerodynamicElem::~AerodynamicElem()
virtual thunk to AerodynamicElem::~AerodynamicElem()
virtual thunk to ElemGravityOwner::~ElemGravityOwner()
virtual thunk to ElemGravityOwner::~ElemGravityOwner()
virtual thunk to AerodynamicElem::~AerodynamicElem()
virtual thunk to AerodynamicElem::~AerodynamicElem()
virtual thunk to ElemGravityOwner::~ElemGravityOwner()
virtual thunk to ElemGravityOwner::~ElemGravityOwner()
virtual thunk to AerodynamicElem::~AerodynamicElem()
virtual thunk to AerodynamicElem::~AerodynamicElem()
virtual thunk to ElemGravityOwner::~ElemGravityOwner()
virtual thunk to ElemGravityOwner::~ElemGravityOwner()
ReadModalForce(DataManager*, MBDynParser&, unsigned int)
ReadModalExtForce(DataManager*, MBDynParser&, unsigned int)
ReadStructExtForce(DataManager*, MBDynParser&, unsigned int)
TotalForce::TotalForce(unsigned int, TplDriveCaller<Vec3>*, TplDriveCaller<Vec3>*, StructNode const*, Vec3 const&, Mat3x3 const&, Mat3x3 const&, StructNode const*, Vec3 const&, Mat3x3 const&, Mat3x3 const&, long)
FollowerForce::FollowerForce(unsigned int, StructNode const*, DriveCaller const*, Vec3 const&, Vec3 const&, long)
FollowerCouple::FollowerCouple(unsigned int, StructNode const*, DriveCaller const*, Vec3 const&, long)
ConservativeForce::ConservativeForce(unsigned int, StructNode const*, DriveCaller const*, Vec3 const&, Vec3 const&, long)
ConservativeCouple::ConservativeCouple(unsigned int, StructNode const*, DriveCaller const*, Vec3 const&, long)
FollowerInternalForce::FollowerInternalForce(unsigned int, StructNode const*, StructNode const*, DriveCaller const*, Vec3 const&, Vec3 const&, Vec3 const&, long)
FollowerInternalCouple::FollowerInternalCouple(unsigned int, StructNode const*, StructNode const*, DriveCaller const*, Vec3 const&, long)
ConservativeInternalForce::ConservativeInternalForce(unsigned int, StructNode const*, StructNode const*, DriveCaller const*, Vec3 const&, Vec3 const&, Vec3 const&, long)
ConservativeInternalCouple::ConservativeInternalCouple(unsigned int, StructNode const*, StructNode const*, DriveCaller const*, Vec3 const&, long)
typeinfo for Joint
AerodynamicElem::AerodynamicElem(unsigned int, long)
AerodynamicElem::~AerodynamicElem()
ElemGravityOwner::ElemGravityOwner(unsigned int, long)
ElemGravityOwner::~ElemGravityOwner()
typeinfo for ElectricNode
StreamContentMotion::StreamContentMotion(unsigned int, std::vector<StructNode*, std::allocator<StructNode*> >&)
Mat3xN::Reset(double const&)
Mat3xN::operator*=(double const&)
collect2: ld returned 1 exit status
make[2]: *** [mbdyn] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
tmac:~/Projects/mbdyn-1.3.6 totty$ 



More information about the Mbdyn-users mailing list