CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

Problem compiling OpenFOAM on AIX 53

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 17, 2006, 02:35
Default Hello, I am using AIX-5.3 a
  #1
New Member
 
Ernst Haunschmid
Join Date: Mar 2009
Posts: 1
Rep Power: 0
haunschmid is on a distinguished road
Hello,

I am using AIX-5.3 and gcc-4.1.1
Compiling the libraries in the lib subdirectory
does not show any error message.
When compiling executables in the application
subddir I get error messages:

...
+ cd basic
+ ./Allwmake
+ wmake laplacianFoam
make: Nothing to be done for `allFiles'.
make: `Make/Power5Gcc4DPOpt/dependencies' is up to date.
/home/haunschm/OpenFOAM/OpenFOAM-1.3/wmake/bashScripts/mkObjectDir /home/haunschm/OpenFOAM/OpenFOAM-1.3/applications/bin/Power5Gcc4DPOpt/laplacianF oam
g++ -fpermissive -maix64 -DPower5 -DDP -Wall -W -Wno-unused-parameter -Wold-style-cast -O3 -mcpu=power5+ -DNoRepository -ftemplate-depth-30 -I/home/haunschm/OpenFOAM/OpenFOAM-1.3/src/finiteVolume/lnInclude -I/home/haunschm/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude -IlnInclude -I. -fPIC -Wl,-brtl Make/Power5Gcc4DPOpt/laplacianFoam.o -L/home/haunschm/OpenFOAM/OpenFOAM-1.3/lib/Power5Gcc4DPOpt \
-lfiniteVolume -lOpenFOAM -liberty -o /home/haunschm/OpenFOAM/OpenFOAM-1.3/applications/bin/Power5Gcc4DPOpt/laplacianF oam
ld: 0711-317 ERROR: Undefined symbol: typeinfo for Foam::regIOobject
ld: 0711-317 ERROR: Undefined symbol: typeinfo for Foam::token::compound
ld: 0711-317 ERROR: Undefined symbol: typeinfo for Foam::lduCoupledInterface
ld: 0711-317 ERROR: Undefined symbol: vtable for Foam::lduCoupledInterface
ld: 0711-317 ERROR: Undefined symbol: vtable for Foam::IOdictionary
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
...

There is a local symbol in libOpenFOAM.so, but no global one:

$ /opt/freeware/bin/nm -C libOpenFOAM.so | grep "typeinfo for Foam::regIOobject"
00000000200ef848 d typeinfo for Foam::regIOobject
00000000200266a0 d typeinfo for Foam::regIOobject
U typeinfo for Foam::regIOobject

Any suggestions ?

Best Regards, Ernst
haunschmid is offline   Reply With Quote

Old   October 17, 2006, 12:58
Default Is there a compiler/linker opt
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Is there a compiler/linker option to export all symbols as default? I remember there being a similar issue under cygwin? There should be more info on this forum.
mattijs is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Statically Compiling OpenFOAM Issues herzfeldd OpenFOAM Installation 21 January 6, 2009 09:38
Problems in Compiling OpenFOAM in IRIX lakeat OpenFOAM Installation 0 June 7, 2007 21:44
Compiling errors for OpenFOAM 13 brucejimo OpenFOAM Installation 3 October 5, 2006 00:01
A new Howto on the OpenFOAM Wiki Compiling OpenFOAM under Unix mbeaudoin OpenFOAM Installation 2 April 28, 2006 08:54
Compiling openfoam zaferleylek OpenFOAM Installation 0 November 7, 2005 07:01


All times are GMT -4. The time now is 07:11.