Don't use --enable-shared. It is experimental, and as you can see it does not work atm.
Also, the targets you are building (libcrystalspace and libcrystalspace_opengl) is not enough to do anything using CS really (unless you are for example only using the vector library or so). -Marten Quoting Rene Rivera <[EMAIL PROTECTED]>: > Amir Taaki wrote: >> Looking through your mail you said you've tried the targets in "jam >> help"? Hope that helps. > > I tried some of them, two things about those. There doesn't seem to be > anything other than the single "install" target. And some of those are > ones I get errors on, for example: > > ==== > $ make crystalspace_opengl > > mkdir -p "./out/msysx86/optimize/libs/csplugincommon/opengl" > > > g++ -c -o > ./out/msysx86/optimize/libs/csplugincommon/opengl/driverdb.o -I. > -I./include -I./include -DMSYS -Wall -Wno-unknown-pragmas -pipe > -march=i586 -fno-exceptions -O3 -fomit-frame-pointer -ffast-math -pipe > -DCS_CRYSTALSPACE_OPENGL_LIB -DCS_CSPLUGINCOMMON_GL_LIB > libs/csplugincommon/opengl/driverdb.cpp > > > g++ -c -o > ./out/msysx86/optimize/libs/csplugincommon/opengl/glcommon2d.o -I. > -I./include -I./include -DMSYS -Wall -Wno-unknown-pragmas -pipe > -march=i586 -fno-exceptions -O3 -fomit-frame-pointer -ffast-math -pipe > -DCS_CRYSTALSPACE_OPENGL_LIB -DCS_CSPLUGINCOMMON_GL_LIB > libs/csplugincommon/opengl/glcommon2d.cpp > > > g++ -c -o > ./out/msysx86/optimize/libs/csplugincommon/opengl/glfontcache.o -I. > -I./include -I./include -DMSYS -Wall -Wno-unknown-pragmas -pipe > -march=i586 -fno-exceptions -O3 -fomit-frame-pointer -ffast-math -pipe > -DCS_CRYSTALSPACE_OPENGL_LIB -DCS_CSPLUGINCOMMON_GL_LIB > libs/csplugincommon/opengl/glfontcache.cpp > > > g++ -c -o ./out/msysx86/optimize/libs/csplugincommon/opengl/glss.o > -I. -I./include -I./include -DMSYS -Wall -Wno-unknown-pragmas -pipe > -march=i586 -fno-exceptions -O3 -fomit-frame-pointer -ffast-math -pipe > -DCS_CRYSTALSPACE_OPENGL_LIB -DCS_CSPLUGINCOMMON_GL_LIB > libs/csplugincommon/opengl/glss.cpp > > > g++ -shared -o > ./out/msysx86/optimize/libs/crystalspace_opengl-GCC.dll > ./out/msysx86/optimize/libs/csplugincommon/opengl/driverdb.o > ./out/msysx86/optimize/libs/csplugincommon/opengl/glcommon2d.o > ./out/msysx86/optimize/libs/csplugincommon/opengl/glfontcache.o > ./out/msysx86/optimize/libs/csplugincommon/opengl/glss.o -lm > -L/usr/lib/w32api -lgdi32 -lshell32 > ./out/msysx86/optimize/libs/libcrystalspace.a > -L/c/DevRoots/RSI/org/crystalspace3d/stage/lib -lz -lopengl32 -lm -lm > -L/usr/lib/w32api -lgdi32 -lshell32 > > ./out/msysx86/optimize/libs/csplugincommon/opengl/driverdb.o:driverdb.cpp:(.text+0xd35): > undefined reference > to > `csStaticVarCleanup' > ./out/msysx86/optimize/libs/csplugincommon/opengl/driverdb.o:driverdb.cpp:(.text+0xd6c): > undefined reference > to > `csStaticVarCleanup' > ./out/msysx86/optimize/libs/csplugincommon/opengl/driverdb.o:driverdb.cpp:(.text+0x108c): > undefined reference > to > `csStaticVarCleanup' > ./out/msysx86/optimize/libs/csplugincommon/opengl/driverdb.o:driverdb.cpp:(.text+0x10c3): > undefined reference > to > `csStaticVarCleanup' > ./out/msysx86/optimize/libs/csplugincommon/opengl/driverdb.o:driverdb.cpp:(.text+0x2b4a): > undefined reference > to > `csStaticVarCleanup' > ./out/msysx86/optimize/libs/csplugincommon/opengl/driverdb.o:driverdb.cpp:(.text+0x2ba9): > more undefined references to > `csStaticVarCleanup' > follow > ./out/msysx86/optimize/libs/csplugincommon/opengl/glcommon2d.o:glcommon2d.cpp:(.text+0x16d8): > undefined reference to `csevCanvasOp(csRef<iEventNameRegistry>&, iGraphics2D > const*, > csString > const&)' > ./out/msysx86/optimize/libs/csplugincommon/opengl/glcommon2d.o:glcommon2d.cpp:(.text+0x1a35): > undefined reference > to > `csStaticVarCleanup' > ./out/msysx86/optimize/libs/csplugincommon/opengl/glcommon2d.o:glcommon2d.cpp:(.text+0x1a6c): > undefined reference > to > `csStaticVarCleanup' > ./out/msysx86/optimize/libs/csplugincommon/opengl/glcommon2d.o:glcommon2d.cpp:(.text+0x20bf): > undefined reference > to > `csStaticVarCleanup' > ./out/msysx86/optimize/libs/csplugincommon/opengl/glcommon2d.o:glcommon2d.cpp:(.text+0x2c8a): > undefined reference > to > `csStaticVarCleanup' > ./out/msysx86/optimize/libs/csplugincommon/opengl/glcommon2d.o:glcommon2d.cpp:(.text+0x2d15): > undefined reference > to > `csStaticVarCleanup' > ./out/msysx86/optimize/libs/csplugincommon/opengl/glcommon2d.o:glcommon2d.cpp:(.text+0x2dd5): > more undefined references to > `csStaticVarCleanup' > follow > collect2: ld returned 1 exit status > ...skipped libcrystalspace_opengl.def for lack of > crystalspace_opengl-GCC.dll... > ...skipped libcrystalspace_opengl.a for lack of > crystalspace_opengl-GCC.dll... > make: *** [crystalspace_opengl] Error 1 > ==== > > I'm attaching the build script I'm writing for informational use. > > -- > -- Grafik - Don't Assume Anything > -- Redshift Software, Inc. - http://redshift-software.com > -- rrivera/acm.org - grafik/redshift-software.com > -- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Crystal-main mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/crystal-main Unsubscribe: mailto:[EMAIL PROTECTED]
