1
gcc / Building a server on Ubuntu
« on: March 27, 2008, 04:49:23 am »
Hi guys
Hope someone can help. I am trying to build a server on Ubuntu 8.04. I was able to compile cal3d without any problems and I was able to configure CS. When I start with the
I get the following error:
I made a script to load all sources which is below
Any help will be greatly appreciated
Thanks in advance
Hope someone can help. I am trying to build a server on Ubuntu 8.04. I was able to compile cal3d without any problems and I was able to configure CS. When I start with the
Code: [Select]
jam -aq libs plugins cs-config walktest
I get the following error:
Code: [Select]
C++ ./out/linuxx86/optimize/libs/cstool/smartfileopen.o
libs/cstool/smartfileopen.cpp:83: warning: ‘bool IsVfsDir(iVFS*, const char*)’ defined but not used
cc1plus: error: unrecognized command line option "-Wno-long-double"
-c -o ./out/linuxx86/optimize/libs/cstool/smartfileopen.o -I. -I./include -I./include -pipe -Wall -Wno-unknown-pragmas -fvisibility=hidden
-march=i586 -mtune=generic -I/usr/local/include -Wno-long-double -fno-exceptions -fvisibility-inlines-hidden -O3 -fomit-frame-pointer
-ffast-math -g2 -fPIC -DCS_CRYSTALSPACE_LIB -Ilibs/csutil/ptmalloc -Ilibs/csutil/ptmalloc/sysdeps/pthread -DCS_CONFIGDIR='"
/usr/local/etc/crystalspace-1.2"' -DCS_PLUGINDIR='"/usr/local/lib/crystalspace-1.2"' libs/cstool/smartfileopen.cpp
...failed C++ ./out/linuxx86/optimize/libs/cstool/smartfileopen.o ...
...skipped libcrystalspace-1.2.a for lack of libcrystalspace-1.2.a(smartfileopen.o)...
...failed updating 1 target(s)...
...skipped 1 target(s)...
...updated 177 target(s)...
Copy cs-config
...updated 1 target(s)...
I made a script to load all sources which is below
Code: [Select]
export LD_LIBRARY_PATH=/home/ruaan/development/cal3d/src/cal3d/.libs/:$LD_LIBRARY_PATH
export CRYSTAL=/home/ruaan/development/cs
export CEL=/home/ruaan/development/cel
export CSCONFPATH=/home/ruaan/development/cel
export CAL3D=/home/ruaan/development/cal3d
Any help will be greatly appreciated
Thanks in advance