Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Gaming & Leisure
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Gaming & Leisure
A section for users who strive to play the latest games on linux.

 
Thread Tools Display Modes
Old June 2nd, 2006   #1
kleenex88h
First Cup of Ubuntu
 
Join Date: Apr 2006
Beans: 8
Getting Duke Nukem 3d to work

Hey everybody! I found a place that explains how to get Duke Nukem to work on Linux here: http://www.icculus.org/duke3d/. I get the source, but when I try to 'make' it, I get an error. Actually, anytime I use the 'make' command I get an error. I'm not sure if this is the right forum for this, but anyone have any ideas?

Thanks,
Jeremy
kleenex88h is offline   Reply With Quote
Old June 3rd, 2006   #2
Artificial Intelligence
Deus ex machina
 
Artificial Intelligence's Avatar
 
Join Date: Oct 2004
Location: Denmark - Scandinavia
Beans: 11,376
Kubuntu 9.10 Karmic Koala
Re: Getting Duke Nukem 3d to work

First of all, you have to show us the output from the terminal or this gonna be a long guessing contest
Artificial Intelligence is offline   Reply With Quote
Old June 3rd, 2006   #3
jasay
Ubuntu Extra Shot
 
Join Date: Aug 2005
Location: Palo Alto, CA
Beans: 210
Re: Getting Duke Nukem 3d to work

Quote:
Originally Posted by Artificial Intelligence
First of all, you have to show us the output from the terminal or this gonna be a long guessing contest
Oh, oh me first. I guess
Code:
sudo apt-get install build-essential
What do I get if I win?
jasay is offline   Reply With Quote
Old June 3rd, 2006   #4
psyBSD
First Cup of Ubuntu
 
Join Date: Jun 2006
Beans: 6
Re: Getting Duke Nukem 3d to work

You lose, cvs version is broken.
psyBSD is offline   Reply With Quote
Old June 3rd, 2006   #5
bugzor
5 Cups of Ubuntu
 
Join Date: Apr 2006
Beans: 21
Edgy Eft Testing
Re: Getting Duke Nukem 3d to work

i got it compiled and installed ~3months ago after LOT OF FIXING
and it still crashed after i played ~10mins
bugzor is offline   Reply With Quote
Old June 3rd, 2006   #6
kleenex88h
First Cup of Ubuntu
 
Join Date: Apr 2006
Beans: 8
Re: Getting Duke Nukem 3d to work

Artifical Inteligence - when I try to make build this is the output:

gcc -c -o build.o build.c -DUDP_NETWORKING=1 -funsigned-char -O3 -DPLATFORM_UNIX -g -Wall -I/usr/include/SDL -D_REENTRANT -fno-omit-frame-pointer -fno-strict-aliasing
gcc -c -o bstub.o bstub.c -DUDP_NETWORKING=1 -funsigned-char -O3 -DPLATFORM_UNIX -g -Wall -I/usr/include/SDL -D_REENTRANT -fno-omit-frame-pointer -fno-strict-aliasing
gcc -c -o engine.o engine.c -DUDP_NETWORKING=1 -funsigned-char -O3 -DPLATFORM_UNIX -g -Wall -I/usr/include/SDL -D_REENTRANT -fno-omit-frame-pointer -fno-strict-aliasing
engine.c: In function ‘loadboard’:
engine.c:2974: warning: pointer targets in passing argument 2 of ‘kread8’ differ in signedness
engine.c:2975: warning: pointer targets in passing argument 2 of ‘kread8’ differ in signedness
engine.c:2976: warning: pointer targets in passing argument 2 of ‘kread8’ differ in signedness
engine.c:2977: warning: pointer targets in passing argument 2 of ‘kread8’ differ in signedness
engine.c:2980: warning: pointer targets in passing argument 2 of ‘kread8’ differ in signedness
engine.c:2981: warning: pointer targets in passing argument 2 of ‘kread8’ differ in signedness
engine.c:2982: warning: pointer targets in passing argument 2 of ‘kread8’ differ in signedness
engine.c:2983: warning: pointer targets in passing argument 2 of ‘kread8’ differ in signedness
engine.c:2984: warning: pointer targets in passing argument 2 of ‘kread8’ differ in signedness
engine.c:2985: warning: pointer targets in passing argument 2 of ‘kread8’ differ in signedness
engine.c:3002: warning: pointer targets in passing argument 2 of ‘kread8’ differ in signedness
engine.c:3021: warning: pointer targets in passing argument 2 of ‘kread8’ differ in signedness
engine.c:3022: warning: pointer targets in passing argument 2 of ‘kread8’ differ in signedness
engine.c:3023: warning: pointer targets in passing argument 2 of ‘kread8’ differ in signedness
engine.c:3024: warning: pointer targets in passing argument 2 of ‘kread8’ differ in signedness
engine.c:3025: warning: pointer targets in passing argument 2 of ‘kread8’ differ in signedness
engine.c:3026: warning: pointer targets in passing argument 2 of ‘kread8’ differ in signedness
engine.c:3027: warning: pointer targets in passing argument 2 of ‘kread8’ differ in signedness
engine.c:3028: warning: pointer targets in passing argument 2 of ‘kread8’ differ in signedness
gcc -c -o cache1d.o cache1d.c -DUDP_NETWORKING=1 -funsigned-char -O3 -DPLATFORM_UNIX -g -Wall -I/usr/include/SDL -D_REENTRANT -fno-omit-frame-pointer -fno-strict-aliasing
gcc -c -o sdl_driver.o sdl_driver.c -DUDP_NETWORKING=1 -funsigned-char -O3 -DPLATFORM_UNIX -g -Wall -I/usr/include/SDL -D_REENTRANT -fno-omit-frame-pointer -fno-strict-aliasing
sdl_driver.c: In function ‘screencapture’:
sdl_driver.c:1548: warning: pointer targets in passing argument 3 of ‘VBE_getPalette’ differ in signedness
gcc -c -o unix_compat.o unix_compat.c -DUDP_NETWORKING=1 -funsigned-char -O3 -DPLATFORM_UNIX -g -Wall -I/usr/include/SDL -D_REENTRANT -fno-omit-frame-pointer -fno-strict-aliasing
gcc -c -o a.o a.c -DUDP_NETWORKING=1 -funsigned-char -O3 -DPLATFORM_UNIX -g -Wall -I/usr/include/SDL -D_REENTRANT -fno-omit-frame-pointer -fno-strict-aliasing
a.c: In function ‘prevlineasm1’:
a.c:189: error: invalid lvalue in assignment
make: *** [a.o] Error 1




Then when I try to make duke3d (which I think is doomed since it's probably dependent on being successful with build) this is the output:





ar -fno-strict-aliasing -O2 -o animlib.o animlib.c
animlib.c: In function ‘renderframe’:
animlib.c:241: warning: pointer targets in passing argument 1 of ‘CPlayRunSkipDu mp’ differ in signedness
animlib.c:241: warning: pointer targets in passing argument 2 of ‘CPlayRunSkipDu mp’ differ in signedness
animlib.c: In function ‘ANIM_LoadAnim’:
animlib.c:277: warning: pointer targets in assignment differ in signedness
gcc -c -g -I/usr/include/SDL -D_REENTRANT -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -DUSE_EXECINFO=1 -DVOLUMEALL -DCONTROLS_CONFIG_MENU=1 -funsigned-ch ar -fno-strict-aliasing -O2 -o control.o control.c
gcc -c -g -I/usr/include/SDL -D_REENTRANT -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -DUSE_EXECINFO=1 -DVOLUMEALL -DCONTROLS_CONFIG_MENU=1 -funsigned-ch ar -fno-strict-aliasing -O2 -o config.o config.c
gcc -c -g -I/usr/include/SDL -D_REENTRANT -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -DUSE_EXECINFO=1 -DVOLUMEALL -DCONTROLS_CONFIG_MENU=1 -funsigned-ch ar -fno-strict-aliasing -O2 -o game.o game.c
game.c: In function ‘allowtimetocorrecterrorswhenquitting’:
game.c:364: warning: pointer targets in passing argument 2 of ‘sendpacket’ diffe r in signedness
game.c: In function ‘getpackets’:
game.c:403: warning: pointer targets in passing argument 2 of ‘getpacket’ differ in signedness
game.c:513: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness
game.c: In function ‘faketimerhandler’:
game.c:797: warning: pointer targets in passing argument 2 of ‘sendpacket’ diffe r in signedness
game.c:856: warning: pointer targets in passing argument 2 of ‘sendpacket’ diffe r in signedness
game.c:866: warning: pointer targets in passing argument 2 of ‘sendpacket’ diffe r in signedness
game.c:938: warning: pointer targets in passing argument 2 of ‘sendpacket’ diffe r in signedness
game.c: In function ‘caches’:
game.c:959: warning: pointer targets in passing argument 1 of ‘sprintf’ differ i n signedness
game.c:960: warning: pointer targets in passing argument 5 of ‘printext256’ diff er in signedness
game.c:968: warning: pointer targets in passing argument 1 of ‘sprintf’ differ i n signedness
game.c:969: warning: pointer targets in passing argument 5 of ‘printext256’ diff er in signedness
game.c: In function ‘displayfragbar’:
game.c:1559: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
game.c:1560: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
game.c: In function ‘coords’:
game.c:1832: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
game.c:1833: warning: pointer targets in passing argument 5 of ‘printext256’ dif fer in signedness
game.c:1834: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
game.c:1835: warning: pointer targets in passing argument 5 of ‘printext256’ dif fer in signedness
game.c:1836: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness

...yada, yada, yada...

gcc -c -g -I/usr/include/SDL -D_REENTRANT -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -DUSE_EXECINFO=1 -DVOLUMEALL -DCONTROLS_CONFIG_MENU=1 -funsigned-ch ar -fno-strict-aliasing -c -o user.o user.c
gcc -c -g -I/usr/include/SDL -D_REENTRANT -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -DUSE_EXECINFO=1 -DVOLUMEALL -DCONTROLS_CONFIG_MENU=1 -funsigned-ch ar -fno-strict-aliasing -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 `/home/user/duke3d/source/audiolib'
gcc actors.o animlib.o control.o config.o game.o gamedef.o global.o keyboard.o m enues.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 -L. -lSDL -lSDL_mixer -o duke3d
gcc: buildengine/mmulti.o: No such file or directory
gcc: buildengine/pragmas.o: No such file or directory
gcc: buildengine/a.o: No such file or directory
make: *** [duke3d] Error 1

That wasn't even the whole thing because the terminal only went back part of the way and the post length limit is 30000 characters (I had 30210), but it's not like I expect anyone to read every line of this post!

I'm starting to think this may be beyond my abilities.
kleenex88h is offline   Reply With Quote
Old June 3rd, 2006   #7
Artificial Intelligence
Deus ex machina
 
Artificial Intelligence's Avatar
 
Join Date: Oct 2004
Location: Denmark - Scandinavia
Beans: 11,376
Kubuntu 9.10 Karmic Koala
Re: Getting Duke Nukem 3d to work

Can I get the ./configure output (If it's using it).
Artificial Intelligence is offline   Reply With Quote
Old June 3rd, 2006   #8
kleenex88h
First Cup of Ubuntu
 
Join Date: Apr 2006
Beans: 8
Re: Getting Duke Nukem 3d to work

Quote:
Originally Posted by Artificial Intelligence
Can I get the ./configure output (If it's using it).
It's not using it.
kleenex88h is offline   Reply With Quote
Old June 3rd, 2006   #9
Gnobody
Gee! These Aren't Roasted!
 
Gnobody's Avatar
 
Join Date: Dec 2004
Location: Nova Scotia, Canada
Beans: 195
Ubuntu 7.10 Gutsy Gibbon
Send a message via MSN to Gnobody
Re: Getting Duke Nukem 3d to work

I'd try DOSbox, none of the build engine ports work for me. DOSbox may be a little slow, or not work at all, I haven't tried it yet.
Gnobody is offline   Reply With Quote
Old June 3rd, 2006   #10
kleenex88h
First Cup of Ubuntu
 
Join Date: Apr 2006
Beans: 8
Re: Getting Duke Nukem 3d to work

Quote:
Originally Posted by Gnobody
I'd try DOSbox, none of the build engine ports work for me. DOSbox may be a little slow, or not work at all, I haven't tried it yet.
I did try DOSbox, and it is slow. The draw for me to use the source is that it would then run natively on linux.
kleenex88h is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:29 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry