- Compiling Duke Nukem 3D Under Debian 'woody' r0
- Posted by Joseph William Dixon on October 24th, 2003
Okay, I'm attempting to compile Duke Nukem 3D, following the instructions
at http://www.icculus.org/duke3d/, under Debian 'woody' r0 and have run into
the following sequence... [beginning with the last gcc call before things go
*boom*]
#####
gcc -c -g -I/usr/include/SDL -D_REENTRANT -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W
-Wall -Wno-unused -DUSE_EXECINFO=1 -funsigned-char -c -o usrhooks.o usrhooks.c
rm -rf audiolib.a
ar rc audiolib.a fx_man.o dsl.o ll_man.o multivoc.o mv_mix.o mvreverb.o
nodpmi.o pitch.o user.o usrhooks.o
ranlib audiolib.a
make[1]: Leaving directory `/var/lib/cvs/duke3d/source/audiolib'
gcc actors.o animlib.o control.o config.o game.o gamedef.o global.o
keyboard.o menues.o player.o premap.o rts.o scriplib.o sector.o sounds.o
dukemusc.o audiolib/audiolib.a buildengine/cache1d.o buildengine/engine.o
buildengine/sdl_driver.o
buildengine/mmulti.o buildengine/pragmas.o buildengine/unix_compat.o
buildengine/a.o -L/usr/lib -lSDL -lpthread -lSDL -lSDL_mixer -o duke3d
audiolib/audiolib.a(dsl.o): In function `DSL_BeginBufferedPlayback':
/var/lib/cvs/duke3d/source/audiolib/dsl.c:189: undefined reference to
`Mix_QuickLoad_RAW'
collect2: ld returned 1 exit status
make: *** [duke3d] Error 1
#####
As far as I know, I've got all the dev packages for libsdl &
libsdl-mixer, but they *are* only the woody version of 1.2 and not the
current cvs version. Would that be the problem? Or is there some other
package(s) that I need that no one's told me about? 
All help would be appreciated...
--
"...there are hardly any excesses of the most crazed psychopath that cannot
easily be duplicated by a normal, kindly family man who just comes into
work every day and has a job to do." [Terry Pratchett, "Small Gods"]
http://www.chebucto.ns.ca/~aa343/index.html
- Posted by Dan Olson on October 25th, 2003
You need a newer SDL_mixer, newer than May 18 2002 specifically. The one
in sid should work.
- Posted by Joseph William Dixon on October 25th, 2003
On Sat, 25 Oct 2003, Dan Olson wrote:
I'm on 33.6k dialup (a slow version where 3kb/sec download rates are
exceptional
- sid, or even sarge, is *not* an option. Looks like I get
to have fun compiling it. Blech.
Thanks for the info, though.
--
"...there are hardly any excesses of the most crazed psychopath that cannot
easily be duplicated by a normal, kindly family man who just comes into
work every day and has a job to do." [Terry Pratchett, "Small Gods"]
http://www.chebucto.ns.ca/~aa343/index.html
- Posted by Dan Olson on October 26th, 2003
On Sat, 25 Oct 2003 03:55:45 -0300, Joseph William Dixon wrote:
I was thinking you could grab just the SDL_Mixer package from sid, but I
don't know if that would work well.