CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Installation (
-   -   Manage openfoam solver project in KDevelop probably the last linker error any suggestion is welcome (

lakeat July 7, 2007 10:01

I met the same problem on fedo
I met the same problem on fedora 7, the error message is as followed:

[Daniel@Daniel incompressible]$ wmake icoFoam
SOURCE=icoFoam.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/Daniel/OpenFOAM/OpenFOAM-1.4/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/Daniel/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGcc4DPDebug/icoFoam.o
g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/Daniel/OpenFOAM/OpenFOAM-1.4/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/Daniel/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM/lnInclude -fPIC -pthread Make/linuxGcc4DPDebug/icoFoam.o -L/home/Daniel/OpenFOAM/OpenFOAM-1.4/lib/linuxGcc4DPDebug \
-lfiniteVolume -liberty -lOpenFOAM -liberty -ldl -lOpenFOAM -liberty -ldl -ggdb3 -DFULLDEBUG -lm -o /home/Daniel/OpenFOAM/OpenFOAM-1.4/applications/bin/linuxGcc4DPDebug/icoFoam
/home/Daniel/OpenFOAM/OpenFOAM-1.4/lib/linuxGcc4DPDebug/ undefined reference to `cplus_demangle(char const*, int)'
collect2: ld returned 1 exit status
make: *** [/home/Daniel/OpenFOAM/OpenFOAM-1.4/applications/bin/linuxGcc4DPDebug/icoFoam] Error 1

so what does it mean, "undefined reference to `cplus_demangle' "
I never met it before i installed it on fedora 6 and on ubuntu.



All times are GMT -4. The time now is 10:32.