Skip to content

Instantly share code, notes, and snippets.

@dchmelik
Last active November 11, 2020 07:33
Show Gist options
  • Save dchmelik/1157ecd065e98552c7f8bc85f981b81d to your computer and use it in GitHub Desktop.
Save dchmelik/1157ecd065e98552c7f8bc85f981b81d to your computer and use it in GitHub Desktop.
mangband-1.1.3 make error log
gcc -Wall -g -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_GCU -DUSE_SDL -o mangclient common/z-util.o common/z-virt.o common/z-form.o common/z-rand.o common/net-unix.o common/net-win.o common/net-ibm.o common/sockbuf.o common/md5.o client/z-term.o client/c-util.o client/c-cmd.o client/c-inven.o client/c-files.o client/c-tables.o client/c-store.o client/c-init.o client/set_focus.o client/variable.o client/readdib.o client/main-ibm.o client/main-cap.o client/main-xaw.o client/main-gcu.o client/main-x11.o client/main-sdl.o client/maim-sdl.o client/sdl-xxx.o client/netclient.o client/c-birth.o client/c-xtra1.o client/c-xtra2.o client/c-spell.o client/client.o -lncurses -L/usr/lib64 -Wl,-rpath,/usr/lib64 -lSDL -lpthread
client/maim-sdl.o: In function `SDL_ScaleBlit':
/tmp/SBo/mangband-1.1.3/src/client/maim-sdl.c:179: undefined reference to `ifloor'
/tmp/SBo/mangband-1.1.3/src/client/maim-sdl.c:181: undefined reference to `ifloor'
/tmp/SBo/mangband-1.1.3/src/client/maim-sdl.c:194: undefined reference to `SDL_GetPixel'
/tmp/SBo/mangband-1.1.3/src/client/maim-sdl.c:181: undefined reference to `iceil'
/tmp/SBo/mangband-1.1.3/src/client/maim-sdl.c:179: undefined reference to `iceil'
/tmp/SBo/mangband-1.1.3/src/client/maim-sdl.c:215: undefined reference to `SDL_PutPixel'
collect2: error: ld returned 1 exit status
Makefile:346: recipe for target 'mangclient' failed
make: *** [mangclient] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment