Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Weird rm -f in compilation log
Forum Updated to NodeBB v4.3 + New Features

Weird rm -f in compilation log

Scheduled Pinned Locked Moved Qt Creator and other tools
5 Posts 2 Posters 2.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mike4
    wrote on last edited by
    #1

    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 function AES::PayloadSizeForFile(char const*)': AES.cpp:(.text+0x9b55): undefined reference to fopen'
    AES.cpp:(.text+0x9b84): undefined reference to fclose' b64.o: In function b64(int, char*, char*, int)':
    b64.cpp:(.text+0x76d): undefined reference to fopen' b64.cpp:(.text+0x797): undefined reference to fopen'
    b64.cpp:(.text+0x7e0): undefined reference to fclose' b64.cpp:(.text+0x7fa): undefined reference to fclose'
    ...

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lgeyer
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mike4
        wrote on last edited by
        #3

        Would you be able to sort missing or wrong headers if i post the complete log?
        I'm stuck...or better can I send you a pm?

        1 Reply Last reply
        0
        • L Offline
          L Offline
          lgeyer
          wrote on last edited by
          #4

          Well, is it possible that you mix C and C++ code here and you do not use extern "C" when facing C code?

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mike4
            wrote on last edited by
            #5

            How should I find out which headers need: extern "C"?
            Thanks

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved