Compiling problems

DirtY iCE
2006-03-23
2013-04-06
  • DirtY iCE
    DirtY iCE
    2006-03-23

    I tried to compile LBreakout2 (2.5.1) on WindozeXP with cygwin. I compiled ,sdl, sdlmixer, sdlnet, zlib, libpng, but i couldn't compile LBreakout2...

    ./configure: OK;  ./win32_mancomp: OK; but make prints this:

    make[3]: Leaving directory `/home/dirty/lbreakout2/server/levels'
    make[3]: Entering directory `/home/dirty/lbreakout2/server'
    gcc  -I/usr/local/include -Wall -I/usr/local/include/SDL -Dmain=SDL_main -I/usr/include/mingw -DWIN32 -Uunix -mno-cygwin
    -L/usr/local/lib -o lbreakout2server.exe  server.o server_game.o ../common/libcommon.a ../game/libgame.a -lSDL_net -lpn
    g -lz -lm  -L/usr/local/lib -lmingw32 -lSDLmain -lSDL -mwindows -mno-cygwin
    ../common/libcommon.a(tools.o):tools.c:(.text+0x2cc): undefined reference to `___getreent'
    ../common/libcommon.a(tools.o):tools.c:(.text+0x301): undefined reference to `___getreent'
    ../common/libcommon.a(tools.o):tools.c:(.text+0x6b6): undefined reference to `___getreent'
    ../common/libcommon.a(parser.o):parser.c:(.text+0xe54): undefined reference to `___getreent'
    ../game/libgame.a(levels.o):levels.c:(.text+0x19c): undefined reference to `___getreent'
    ../game/libgame.a(levels.o):levels.c:(.text+0x2a8): more undefined references to `___getreent' follow
    collect2: ld returned 1 exit status
    make[3]: *** [lbreakout2server.exe] Error 1
    make[3]: Leaving directory `/home/dirty/lbreakout2/server'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/dirty/lbreakout2/server'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/dirty/lbreakout2'
    make: *** [all-recursive-am] Error 2

    any ideas?