You are not logged in.

#1 2007-10-14 12:32:40

scj
Member
From: Sweden
Registered: 2007-09-23
Posts: 158

slashem and SDL

I've recently developed quite an addiction to Slash'EM, and after being content with playing it with TTY, I finally got fed up with not seeing enemies due to the colorscheme (dark blue and black backgrounds don't mix, especially not for those floating eyes I keep running into) and the difficulty of aiming spells and stuff due to the aspect ratio. Time for a GUI!

After browsing through the documentation for nethacks weird build system, I've added the changes described in win/gl/Install.GL, but there still seems to be some issues with SDL. This is the modified PKGBUILD I use:

pkgname=slashem
pkgver=0.0.7E7F3
pkgrel=1
pkgdesc='Nethack variant Super Lotsa Added Stuff Hack - Extended Magic'
url="http://www.slashem.org/"
arch=('i686')
license=('custom')
depends=('ncurses' 'gzip' 'sdl' 'libpng' 'mesa')
source=(http://mesh.dl.sourceforge.net/sourceforge/${pkgname}/se007e7f3.tar.gz)
md5sums=('54b4534fe85f08722e8b6b38d52c2e9a')

build(){
  cd $startdir/src/$pkgname-$pkgver/sys/unix
  sh setup.sh

  cd $startdir/src/$pkgname-$pkgver/include
  sed -e '/define COMPRESS/ s|/usr/bin/compress|/bin/gzip|' \
      -e '/define COMPRESS_EXTENSION/ s|".Z"|".gz"|' \
      -e 's|^/\* \(#define DLB\) \*/|\1|' \
      -e 's|^/\* \(#define GL_GRAPHICS\) \*/|\1|' \
      -e 's|^/\* \(#define SDL_GRAPHICS\) \*/|\1|' -i config.h || return 1
  sed -e 's|^/\* \(#define LINUX\) \*/|\1|' \
      -e 's|^/\* \(#define TIMED_DELAY\) \*/|\1|' -i unixconf.h
  cd $startdir/src/$pkgname-$pkgver/src
  sed -e 's|^# \(WINTTYLIB = -lncurses\)|\1|' \
      -e 's|^\(WINSRC\s*=.*\)|\1 $(WINGLSRC)|' \
      -e 's|^\(WINOBJ\s*=.*\)|\1 $(WINGLOBJ)|' \
      -e 's|^\(WINLIB\s*=.*\)|\1 $(WINGLLIB)|' \
      -e 's|^WINTTYLIB = -ltermlib|#&|' -i Makefile
  cd ..
  sed -e '/^GAMEUID\s*=/ s|games|root|' \
      -e '/^GAMEGRP\s*=/ s|bin|root|' \
      -e '/^SHELLDIR\s*=/ s|/games|/bin|' \
      -e '/GAMEDIR/ s|/local/slashemdir|/share/slashem|' \
      -e 's|^\(CNF_SHARE_DATND\s*=.*\)|\1 $(CNF_SHARE_GLND)|' \
      -e '/SHELLDIR/ s|/local/bin|/bin|' -i Makefile

  make || return 1
  make PREFIX=$startdir/pkg/usr install
  sed -e 's|HACKDIR=.*/pkg/usr/|HACKDIR=/usr/|' \
      -i $startdir/pkg/usr/bin/slashem
  install -Dm644 dat/license $startdir/pkg/usr/share/licenses/$pkgname/license
}

This is the buildlog

Copying Makefiles.
( cd src ; make )
make[1]: Entering directory `/var/abs/local/slashem/src/slashem-0.0.7E7F3/src'
touch ../src/config.h-t
cc -O -I../include -c monst.c
cc -O -I../include -c objects.c
cc -O -I../include   -c -o alloc.o alloc.c
make[2]: Entering directory `/var/abs/local/slashem/src/slashem-0.0.7E7F3/util'
cc -O -I../include   -c -o makedefs.o makedefs.c
cc -O -I../include   -c -o panic.o panic.c
cc  -o makedefs makedefs.o ../src/monst.o ../src/objects.o ../src/alloc.o panic.o
make[2]: Leaving directory `/var/abs/local/slashem/src/slashem-0.0.7E7F3/util'
make[2]: Entering directory `/var/abs/local/slashem/src/slashem-0.0.7E7F3/util'
./makedefs -p
make[2]: Leaving directory `/var/abs/local/slashem/src/slashem-0.0.7E7F3/util'
make[2]: Entering directory `/var/abs/local/slashem/src/slashem-0.0.7E7F3/util'
./makedefs -o
make[2]: Leaving directory `/var/abs/local/slashem/src/slashem-0.0.7E7F3/util'
touch ../src/hack.h-t
cc -O -I../include   -c -o allmain.o allmain.c
cc -O -I../include   -c -o apply.o apply.c
cc -O -I../include   -c -o artifact.o artifact.c
cc -O -I../include   -c -o attrib.o attrib.c
cc -O -I../include   -c -o ball.o ball.c
cc -O -I../include   -c -o bones.o bones.c
cc -O -I../include   -c -o botl.o botl.c
cc -O -I../include   -c -o cmd.o cmd.c
cc -O -I../include   -c -o dbridge.o dbridge.c
cc -O -I../include   -c -o decl.o decl.c
cc -O -I../include   -c -o detect.o detect.c
cc -O -I../include   -c -o dig.o dig.c
cc -O -I../include   -c -o display.o display.c
cc -O -I../include   -c -o dlb.o dlb.c
cc -O -I../include   -c -o do.o do.c
cc -O -I../include   -c -o do_name.o do_name.c
cc -O -I../include   -c -o do_wear.o do_wear.c
cc -O -I../include   -c -o dog.o dog.c
cc -O -I../include   -c -o dogmove.o dogmove.c
cc -O -I../include   -c -o dokick.o dokick.c
cc -O -I../include   -c -o dothrow.o dothrow.c
cc -O -I../include   -c -o drawing.o drawing.c
cc -O -I../include   -c -o dungeon.o dungeon.c
cc -O -I../include   -c -o eat.o eat.c
cc -O -I../include   -c -o end.o end.c
cc -O -I../include   -c -o engrave.o engrave.c
cc -O -I../include   -c -o exper.o exper.c
cc -O -I../include   -c -o explode.o explode.c
cc -O -I../include   -c -o extralev.o extralev.c
../util/makedefs -f
cc -O -I../include   -c -o files.o files.c
cc -O -I../include   -c -o fountain.o fountain.c
cc -O -I../include   -c -o hack.o hack.c
cc -O -I../include   -c -o hacklib.o hacklib.c
cc -O -I../include   -c -o invent.o invent.c
cc -O -I../include   -c -o light.o light.c
cc -O -I../include   -c -o lock.o lock.c
cc -O -I../include   -c -o mail.o mail.c
cc -O -I../include   -c -o makemon.o makemon.c
cc -O -I../include   -c -o mapglyph.o mapglyph.c
cc -O -I../include   -c -o mcastu.o mcastu.c
cc -O -I../include   -c -o mhitm.o mhitm.c
cc -O -I../include   -c -o mhitu.o mhitu.c
cc -O -I../include   -c -o minion.o minion.c
cc -O -I../include   -c -o mklev.o mklev.c
cc -O -I../include   -c -o mkmap.o mkmap.c
cc -O -I../include   -c -o mkmaze.o mkmaze.c
cc -O -I../include   -c -o mkobj.o mkobj.c
cc -O -I../include   -c -o mkroom.o mkroom.c
cc -O -I../include   -c -o mon.o mon.c
cc -O -I../include   -c -o mondata.o mondata.c
cc -O -I../include   -c -o monmove.o monmove.c
make[2]: Entering directory `/var/abs/local/slashem/src/slashem-0.0.7E7F3/util'
./makedefs -m
make[2]: Leaving directory `/var/abs/local/slashem/src/slashem-0.0.7E7F3/util'
cc -O -I../include   -c -o monstr.o monstr.c
cc -O -I../include   -c -o mplayer.o mplayer.c
cc -O -I../include   -c -o mthrowu.o mthrowu.c
cc -O -I../include   -c -o muse.o muse.c
cc -O -I../include   -c -o music.o music.c
cc -O -I../include   -c -o o_init.o o_init.c
cc -O -I../include   -c -o objnam.o objnam.c
cc -O -I../include   -c -o options.o options.c
cc -O -I../include   -c -o pager.o pager.c
cc -O -I../include   -c -o pickup.o pickup.c
cc -O -I../include   -c -o pline.o pline.c
cc -O -I../include   -c -o polyself.o polyself.c
cc -O -I../include   -c -o potion.o potion.c
potion.c: In function 'upgrade_obj':
potion.c:2517: warning: passing argument 2 of 'artifact_name' from incompatible pointer type
cc -O -I../include   -c -o pray.o pray.c
cc -O -I../include   -c -o priest.o priest.c
cc -O -I../include   -c -o quest.o quest.c
cc -O -I../include   -c -o questpgr.o questpgr.c
cc -O -I../include   -c -o read.o read.c
cc -O -I../include   -c -o rect.o rect.c
cc -O -I../include   -c -o region.o region.c
cc -O -I../include   -c -o restore.o restore.c
cc -O -I../include   -c -o rip.o rip.c
cc -O -I../include   -c -o rnd.o rnd.c
cc -O -I../include   -c -o role.o role.c
cc -O -I../include   -c -o rumors.o rumors.c
cc -O -I../include   -c -o save.o save.c
cc -O -I../include   -c -o shk.o shk.c
cc -O -I../include   -c -o shknam.o shknam.c
cc -O -I../include   -c -o sit.o sit.c
cc -O -I../include   -c -o sounds.o sounds.c
cc -O -I../include   -c -o sp_lev.o sp_lev.c
cc -O -I../include   -c -o spell.o spell.c
cc -O -I../include   -c -o steal.o steal.c
cc -O -I../include   -c -o steed.o steed.c
cc -O -I../include   -c -o teleport.o teleport.c
cc -O -I../include   -c -o timeout.o timeout.c
cc -O -I../include   -c -o topten.o topten.c
cc -O -I../include   -c -o track.o track.c
cc -O -I../include   -c -o trap.o trap.c
cc -O -I../include   -c -o u_init.o u_init.c
cc -O -I../include   -c -o uhitm.o uhitm.c
cc -O -I../include   -c -o vault.o vault.c
make[2]: Entering directory `/var/abs/local/slashem/src/slashem-0.0.7E7F3/util'
./makedefs -z
make[2]: Leaving directory `/var/abs/local/slashem/src/slashem-0.0.7E7F3/util'
cc -O -I../include   -c -o vision.o vision.c
cc -O -I../include   -c -o vis_tab.o vis_tab.c
cc -O -I../include   -c -o weapon.o weapon.c
cc -O -I../include   -c -o were.o were.c
cc -O -I../include   -c -o wield.o wield.c
cc -O -I../include   -c -o windows.o windows.c
cc -O -I../include   -c -o wizard.o wizard.c
cc -O -I../include   -c -o worm.o worm.c
cc -O -I../include   -c -o worn.o worn.c
cc -O -I../include   -c -o write.o write.c
cc -O -I../include   -c -o zap.o zap.c
cc -O -I../include   -c -o gypsy.o gypsy.c
cc -O -I../include   -c -o tech.o tech.c
cc -O -I../include -c ../sys/share/ioctl.c
cc -O -I../include -c ../sys/unix/unixmain.c
cc -O -I../include -c ../sys/share/unixtty.c
cc -O -I../include -c ../sys/unix/unixunix.c
cc -O -I../include -c ../sys/unix/unixres.c
cc -O -I../include -c ../win/tty/getline.c
cc -O -I../include -c ../win/tty/termcap.c
cc -O -I../include -c ../win/tty/topl.c
cc -O -I../include -c ../win/tty/wintty.c
cc -O -I../include `sdl-config --cflags` -c ../win/gl/gl_conf.c
cc -O -I../include `sdl-config --cflags` -c ../win/gl/gl_emul.c
cc -O -I../include `sdl-config --cflags` -c ../win/gl/gl_font.c
cc -O -I../include `sdl-config --cflags` -c ../win/gl/gl_hardw.c
cc -O -I../include `sdl-config --cflags` -c ../win/gl/gl_image.c
cc -O -I../include `sdl-config --cflags` -c ../win/gl/gl_main.c
cc -O -I../include `sdl-config --cflags` -c ../win/gl/gl_map.c
cc -O -I../include `sdl-config --cflags` -c ../win/gl/gl_menu.c
../util/makedefs -v
cc -O -I../include `sdl-config --cflags` -c ../win/gl/gl_opt.c
cc -O -I../include `sdl-config --cflags` -c ../win/gl/gl_rendu.c
cc -O -I../include `sdl-config --cflags` -c ../win/gl/gl_role.c
cc -O -I../include `sdl-config --cflags` -c ../win/gl/gl_softw.c
cc -O -I../include `sdl-config --cflags` -c ../win/gl/gl_stat.c
cc -O -I../include `sdl-config --cflags` -c ../win/gl/gl_text.c
cc -O -I../include `sdl-config --cflags` -c ../win/gl/gl_tile.c
cc -O -I../include `sdl-config --cflags` -c ../win/gl/gl_unit.c
cc -O -I../include `sdl-config --cflags` -c ../win/gl/gl_win.c
make[2]: Entering directory `/var/abs/local/slashem/src/slashem-0.0.7E7F3/util'
cc -O -I../include  -o tilemap ../win/share/tilemap.c 
./tilemap
make[2]: Leaving directory `/var/abs/local/slashem/src/slashem-0.0.7E7F3/util'
cc -O -I../include   -c -o tile.o tile.c
ar cr nhwin.a tile.o md5.o
cc -O -I../include   -c -o version.o version.c
Loading ...
gl_hardw.o: In function `hw_blit_frame':
gl_hardw.c:(.text+0x9a5): undefined reference to `SDL_GL_SwapBuffers'
gl_image.o: In function `sdlgl_load_png_file':
gl_image.c:(.text+0x1f4): undefined reference to `png_sig_cmp'
gl_image.c:(.text+0x231): undefined reference to `png_create_read_struct'
gl_image.c:(.text+0x251): undefined reference to `png_create_info_struct'
gl_image.c:(.text+0x29b): undefined reference to `png_init_io'
gl_image.c:(.text+0x2ae): undefined reference to `png_set_sig_bytes'
gl_image.c:(.text+0x2c0): undefined reference to `png_read_info'
gl_image.c:(.text+0x305): undefined reference to `png_get_IHDR'
gl_image.c:(.text+0x320): undefined reference to `png_set_strip_16'
gl_image.c:(.text+0x346): undefined reference to `png_get_valid'
gl_image.c:(.text+0x355): undefined reference to `png_set_expand'
gl_image.c:(.text+0x370): undefined reference to `png_set_filler'
gl_image.c:(.text+0x382): undefined reference to `png_read_update_info'
gl_image.c:(.text+0x394): undefined reference to `png_get_rowbytes'
gl_image.c:(.text+0x3ef): undefined reference to `png_read_image'
gl_image.c:(.text+0x401): undefined reference to `png_read_end'
gl_image.c:(.text+0x41b): undefined reference to `png_destroy_read_struct'
gl_image.c:(.text+0x471): undefined reference to `png_destroy_read_struct'
gl_image.c:(.text+0x48e): undefined reference to `png_destroy_read_struct'
gl_image.o: In function `sdlgl_free_mouse_cursors':
gl_image.c:(.text+0x4d8): undefined reference to `SDL_SetCursor'
gl_image.c:(.text+0x4f3): undefined reference to `SDL_FreeCursor'
gl_image.c:(.text+0x50e): undefined reference to `SDL_FreeCursor'
gl_image.c:(.text+0x529): undefined reference to `SDL_FreeCursor'
gl_image.c:(.text+0x544): undefined reference to `SDL_FreeCursor'
gl_image.c:(.text+0x55f): undefined reference to `SDL_FreeCursor'
gl_image.o:gl_image.c:(.text+0x57a): more undefined references to `SDL_FreeCursor' follow
gl_image.o: In function `make_sdl_cursor':
gl_image.c:(.text+0x609): undefined reference to `SDL_CreateCursor'
gl_image.o: In function `sdlgl_init_mouse_cursors':
gl_image.c:(.text+0x61f): undefined reference to `SDL_GetCursor'
gl_main.o: In function `Sdlgl_exit_nhwindows':
gl_main.c:(.text+0x111): undefined reference to `SDL_Quit'
gl_main.o: In function `sdlgl_get_poskey':
gl_main.c:(.text+0x296): undefined reference to `SDL_PollEvent'
gl_main.o: In function `sdlgl_do_init_nhwindows':
gl_main.c:(.text+0x91b): undefined reference to `SDL_Init'
gl_main.c:(.text+0x96c): undefined reference to `SDL_VideoDriverName'
gl_main.c:(.text+0x989): undefined reference to `SDL_GetVideoInfo'
gl_main.c:(.text+0xa7d): undefined reference to `SDL_ListModes'
gl_main.c:(.text+0xd58): undefined reference to `SDL_GL_SetAttribute'
gl_main.c:(.text+0xd6c): undefined reference to `SDL_GL_SetAttribute'
gl_main.c:(.text+0xd80): undefined reference to `SDL_GL_SetAttribute'
gl_main.c:(.text+0xd96): undefined reference to `SDL_GL_SetAttribute'
gl_main.c:(.text+0xdaa): undefined reference to `SDL_GL_SetAttribute'
gl_main.o:gl_main.c:(.text+0xdbe): more undefined references to `SDL_GL_SetAttribute' follow
gl_main.o: In function `sdlgl_do_init_nhwindows':
gl_main.c:(.text+0xe6e): undefined reference to `SDL_SetVideoMode'
gl_main.c:(.text+0xe7c): undefined reference to `SDL_Quit'
gl_main.c:(.text+0xed2): undefined reference to `SDL_EnableUNICODE'
gl_main.c:(.text+0xee6): undefined reference to `SDL_EnableKeyRepeat'
gl_main.c:(.text+0xefa): undefined reference to `SDL_WM_SetCaption'
gl_main.c:(.text+0xf20): undefined reference to `SDL_WarpMouse'
gl_rendu.o: In function `sdlgl_sw_create_has_alpha':
gl_rendu.c:(.text+0x681): undefined reference to `SDL_LockSurface'
gl_rendu.c:(.text+0x7ca): undefined reference to `SDL_UnlockSurface'
gl_rendu.o: In function `sdlgl_free_font_cache':
gl_rendu.c:(.text+0x864): undefined reference to `SDL_FreeSurface'
gl_rendu.o: In function `sdlgl_RGBA_to_truecolor':
gl_rendu.c:(.text+0x8dc): undefined reference to `SDL_CreateRGBSurfaceFrom'
gl_rendu.o: In function `sdlgl_set_surface_colors':
gl_rendu.c:(.text+0x963): undefined reference to `SDL_SetColors'
gl_rendu.o: In function `sdlgl_create_font_cache':
gl_rendu.c:(.text+0x9e1): undefined reference to `SDL_CreateRGBSurface'
gl_rendu.c:(.text+0xa1a): undefined reference to `SDL_SetColorKey'
gl_rendu.o: In function `sdlgl_shrink_surface':
gl_rendu.c:(.text+0xab0): undefined reference to `SDL_CreateRGBSurface'
gl_rendu.c:(.text+0xb0b): undefined reference to `SDL_SetColorKey'
gl_rendu.c:(.text+0xb81): undefined reference to `SDL_LockSurface'
gl_rendu.c:(.text+0xb9d): undefined reference to `SDL_LockSurface'
gl_rendu.c:(.text+0xe77): undefined reference to `SDL_UnlockSurface'
gl_rendu.c:(.text+0xe93): undefined reference to `SDL_UnlockSurface'
gl_rendu.o: In function `sdlgl_RGBA_to_palettised':
gl_rendu.c:(.text+0xee9): undefined reference to `SDL_CreateRGBSurface'
gl_rendu.c:(.text+0xf17): undefined reference to `SDL_SetColorKey'
gl_rendu.c:(.text+0xf30): undefined reference to `SDL_LockSurface'
gl_rendu.c:(.text+0x1050): undefined reference to `SDL_UnlockSurface'
gl_rendu.o: In function `sdlgl_font_cache_lookup':
gl_rendu.c:(.text+0x121f): undefined reference to `SDL_MapRGB'
gl_rendu.c:(.text+0x1275): undefined reference to `SDL_LockSurface'
gl_rendu.c:(.text+0x1291): undefined reference to `SDL_LockSurface'
gl_rendu.c:(.text+0x141e): undefined reference to `SDL_UnlockSurface'
gl_rendu.c:(.text+0x143a): undefined reference to `SDL_UnlockSurface'
gl_rendu.o: In function `sdlgl_dirty_matrix_blit':
gl_rendu.c:(.text+0x16f1): undefined reference to `SDL_UpperBlit'
gl_rendu.c:(.text+0x1711): undefined reference to `SDL_FillRect'
gl_rendu.c:(.text+0x172a): undefined reference to `SDL_GetClipRect'
gl_rendu.c:(.text+0x1862): undefined reference to `SDL_SetClipRect'
gl_rendu.c:(.text+0x18ca): undefined reference to `SDL_UpperBlit'
gl_rendu.c:(.text+0x18e7): undefined reference to `SDL_FillRect'
gl_rendu.c:(.text+0x1934): undefined reference to `SDL_SetClipRect'
gl_softw.o: In function `sw_finish_fading':
gl_softw.c:(.text+0x1f7): undefined reference to `SDL_FreeSurface'
gl_softw.o: In function `sw_free_extra_shapes':
gl_softw.c:(.text+0x21a): undefined reference to `SDL_FreeSurface'
gl_softw.c:(.text+0x235): undefined reference to `SDL_FreeSurface'
gl_softw.o: In function `sw_draw_fading':
gl_softw.c:(.text+0x33c): undefined reference to `SDL_SetPalette'
gl_softw.c:(.text+0x3bc): undefined reference to `SDL_SetAlpha'
gl_softw.o: In function `sw_start_fading':
gl_softw.c:(.text+0x4b6): undefined reference to `SDL_CreateRGBSurface'
gl_softw.c:(.text+0x500): undefined reference to `SDL_CreateRGBSurface'
gl_softw.c:(.text+0x53c): undefined reference to `SDL_MapRGB'
gl_softw.c:(.text+0x555): undefined reference to `SDL_FillRect'
gl_softw.o: In function `sw_draw_tile':
gl_softw.c:(.text+0x945): undefined reference to `SDL_SetAlpha'
gl_softw.c:(.text+0x98b): undefined reference to `SDL_SetAlpha'
gl_softw.o: In function `sw_draw_background':
gl_softw.c:(.text+0xb70): undefined reference to `SDL_MapRGB'
gl_softw.o: In function `sw_blit_frame':
gl_softw.c:(.text+0xd3e): undefined reference to `SDL_UpdateRects'
gl_softw.o: In function `sw_disable_clipper':
gl_softw.c:(.text+0xd68): undefined reference to `SDL_SetClipRect'
gl_softw.o: In function `sw_enable_clipper':
gl_softw.c:(.text+0xda9): undefined reference to `SDL_SetClipRect'
gl_softw.o: In function `mark_to_surface':
gl_softw.c:(.text+0xe04): undefined reference to `SDL_CreateRGBSurface'
gl_softw.c:(.text+0xe36): undefined reference to `SDL_SetColorKey'
gl_softw.c:(.text+0xe59): undefined reference to `SDL_MapRGB'
gl_softw.c:(.text+0xeab): undefined reference to `SDL_FillRect'
gl_softw.o: In function `sw_free_tileset':
gl_softw.c:(.text+0xf5e): undefined reference to `SDL_FreeSurface'
gl_softw.c:(.text+0xf74): undefined reference to `SDL_FreeSurface'
gl_softw.o: In function `sw_load_tileset':
gl_softw.c:(.text+0x1260): undefined reference to `SDL_CreateRGBSurface'
gl_softw.c:(.text+0x12a2): undefined reference to `SDL_SetColorKey'
gl_softw.c:(.text+0x12cd): undefined reference to `SDL_MapRGB'
gl_softw.c:(.text+0x1356): undefined reference to `SDL_FillRect'
gl_softw.c:(.text+0x1396): undefined reference to `SDL_FillRect'
gl_softw.c:(.text+0x13d4): undefined reference to `SDL_FillRect'
gl_softw.o: In function `sw_draw_border':
gl_softw.c:(.text+0x163c): undefined reference to `SDL_MapRGB'
gl_softw.o: In function `sw_draw_cursor':
gl_softw.c:(.text+0x18aa): undefined reference to `SDL_MapRGB'
gl_win.o: In function `sdlgl_update_mouse_location':
gl_win.c:(.text+0xc6): undefined reference to `SDL_GetMouseState'
gl_win.c:(.text+0x132): undefined reference to `SDL_SetCursor'
gl_win.c:(.text+0x18e): undefined reference to `SDL_GetModState'
gl_win.c:(.text+0x32b): undefined reference to `SDL_SetCursor'
gl_win.c:(.text+0x33a): undefined reference to `SDL_SetCursor'
gl_win.c:(.text+0x349): undefined reference to `SDL_SetCursor'
gl_win.c:(.text+0x358): undefined reference to `SDL_SetCursor'
gl_win.c:(.text+0x367): undefined reference to `SDL_SetCursor'
gl_win.o:gl_win.c:(.text+0x376): more undefined references to `SDL_SetCursor' follow
gl_win.o: In function `Sdlgl_display_nhwindow':
gl_win.c:(.text+0x173b): undefined reference to `SDL_PumpEvents'
collect2: ld returned 1 exit status
make[1]: *** [Sysunix] Error 1
make[1]: Leaving directory `/var/abs/local/slashem/src/slashem-0.0.7E7F3/src'
make: *** [slashem] Error 2

Offline

#2 2007-10-14 13:50:13

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,920

Re: slashem and SDL

As slash'em and vultures are made by the same guy and share a lot of code, this aur package may help :
Vltureseye in AUR


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2007-10-15 09:51:50

scj
Member
From: Sweden
Registered: 2007-09-23
Posts: 158

Re: slashem and SDL

I tried the devel version (0.0.8E0F1) where they've added autoconf and it worked.

Offline

Board footer

Powered by FluxBB