Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Super Jamie

Compiling EE on Lunix

Recommended Posts

Hello.

I've got the latest ee3.35.92-src, and am trying to compile on Ubuntu 9.04.

I've installed sdl-mixer1.2-dev and sdl-net1.2-dev, and the autogen script appears to work fine.

When I try to make, it gets to d_dialog and errors.

gcc -DPACKAGE_NAME="eternity" -DPACKAGE_TARNAME="eternity"
-DPACKAGE_VERSION="3.33.50" -DPACKAGE_STRING="eternity\ 3.33.50"
-DPACKAGE_BUGREPORT="haleyjd@hotmail.com" -DPACKAGE="eternity"
-DVERSION="3.33.50" -I.    -I/usr/include/SDL -I/usr/local/
include/SDL -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall
-D_SDL_VER -DNDEBUG -DAMX_NODYNALOAD -DR_LINKEDPORTALS -DR_PORTALS
-DOVER_UNDER -DPOLYOBJECTS -D_CONSOLE -DLINUX -fno-strict-aliasing -g
-O2 -MT d_dialog.o -MD -MP -MF .deps/d_dialog.Tpo -c -o d_dialog.o
d_dialog.c
d_dialog.c: In function ‘DLG_Ticker’:
d_dialog.c:296: error: ‘consoleactive’ undeclared (first use in this function)
d_dialog.c:296: error: (Each undeclared identifier is reported only once
d_dialog.c:296: error: for each function it appears in.)
d_dialog.c: In function ‘DLG_Drawer’:
d_dialog.c:391: error: ‘consoleactive’ undeclared (first use in this function)
d_dialog.c:408: warning: implicit declaration of function ‘V_FontWriteText’
d_dialog.c:408: error: ‘in_font’ undeclared (first use in this function)
d_dialog.c: In function ‘DLG_WriteText’:
d_dialog.c:469: error: ‘V_FONTSTART’ undeclared (first use in this function)
d_dialog.c:470: error: ‘V_FONTSIZE’ undeclared (first use in this function)
d_dialog.c:470: error: ‘v_font’ undeclared (first use in this function)
make[2]: *** [d_dialog.o] Error 1
make[2]: Leaving directory `/home/superjamie/Desktop/ee3.35.92-src/source'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/superjamie/Desktop/ee3.35.92-src/source'
make: *** [all-recursive] Error 1
Any tips?

Share this post


Link to post

As in the linked thread, either remove those files from the build, or check out the latest SVN revision from our SVN repo at http://mancubus.net/svn/hosted/eternity/trunk/ to get the recently added fix for it.

This was a minor oversight that occurred right before the previous release, caused by some dead code suffering bit rot. We have no current active maintainer for the Linux build and so we have to rely on users to find problems like this for us :/

Share this post


Link to post

Cool, thanks, svn compiles great :)

This is a really cool port, wish I'd tried it earlier. It's so good to have r_swirl again :)

Share this post


Link to post

I compiled version 3.35.92 'NEKHBET' from the SVN repository and it works great. I also generated a .deb package for Ubuntu just in case it might come in handy, but anyone using it would probably need lindirs.sh from the source package anyway.

Thanks Quasar!

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×