#658 Compilation Error from r3070

SDL
closed:fixed
nobody
None
5
2015-01-15
2014-03-17
Dan Letz
No

Last commit broke compilation, even after implementing workaround for r3068

src/lua-engine.o: In function FCEU_LuaOnStop()': lua-engine.cpp:(.text+0x782): undefined reference tofps_scale'

Discussion

  • Greyor
    Greyor
    2014-05-01

    I'm having the same issue on Xubuntu 14.04 (amd64). I've applied, of course, my previous patch (applied for r3068: https://sourceforge.net/p/fceultra/bugs/653/#cfde)

    src/lua-engine.o: In function `FCEU_LuaFrameBoundary()':
    lua-engine.cpp:(.text+0x8a05): undefined reference to `fps_scale'
    lua-engine.cpp:(.text+0x8a8a): undefined reference to `fps_scale'
    lua-engine.cpp:(.text+0x8ad2): undefined reference to `fps_scale'
    src/lua-engine.o: In function `FCEU_LuaStop()':
    lua-engine.cpp:(.text+0xb55d): undefined reference to `fps_scale'
    collect2: error: ld returned 1 exit status
    scons: *** [src/fceux] Error 1
    scons: building terminated because of errors.
    

    Not sure if this is an issue on other architectures/systems, but things aren't compiling correctly on SDL.
    (sorry, I accidentally posted this on the previous bug #653)

     
  • Dan Letz
    Dan Letz
    2015-01-15

    Seems to be fixed as of r3093

     
  • Lukas Sabota
    Lukas Sabota
    2015-01-15

    • status: open --> closed:fixed