Weird rm -f in compilation log
-
Hi
ist this rm -f command necessary. I wonder because after that I get tons of compile errors. Where
can I disable this?
Many thanks
Michael
...
g++ -c -m32 -pipe -O2 -Wall -W -fPIC -DXPLM200 -DAPL=0 -DIBM=0 -DLIN=1 -I/usr/share/qt4/mkspecs/linux-g++-32 -I../plugin_source -I../plugin_source -I../plugin_source/gizmo_lua_api -I../../SDK/CHeaders/XPLM -I../../SDK/CHeaders/Wrappers -I../../SDK/CHeaders/Widgets -I/usr/local/include/bullet -I. -o api_third_party_docs.o ../plugin_source/gizmo_lua_api/api_third_party_docs.cpp
../plugin_source/gizmo_lua_api/api_third_party_docs.cpp:74: warning: ignoring #pragma mark io
../plugin_source/gizmo_lua_api/api_third_party_docs.cpp:100: warning: ignoring #pragma mark math
rm -f liblin.xpl.so
g++ -m32 -Wl,-O1 -shared -o liblin.xpl.so AES.o b64.o BulletPhysicsHooks.o gizmo_httpd.o GLee.o luagl.o luagl_util.o luaglu.o md5.o NASA_TurboJetSim_Solver.o StringTools.o TerrainMap.o tgaTools.o XDataRefCustom.o XMiscUtils.o XParticleEngine.o XPlaneHooks.o XTrig.o api_airframe.o api_event_docs.o api_third_party_docs.o -llua -lBulletDynamics -lBulletCollision -lLinearMath -lcurl -lopenal -lalut
AES.o: In functionAES::PayloadSizeForFile(char const*)': AES.cpp:(.text+0x9b55): undefined reference to
fopen'
AES.cpp:(.text+0x9b84): undefined reference tofclose' b64.o: In function
b64(int, char*, char*, int)':
b64.cpp:(.text+0x76d): undefined reference tofopen' b64.cpp:(.text+0x797): undefined reference to
fopen'
b64.cpp:(.text+0x7e0): undefined reference tofclose' b64.cpp:(.text+0x7fa): undefined reference to
fclose'
... -
make removes the file liblin.xpl.so because it is built in the next step (g++ -m32 -Wl,-O1 -shared -o liblin.xpl.so ...). There errors you receive are not caused by this rm statement. You are most probably missing a library and/or you are mixing different library versions.