Jump to content

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
  • 2 months later...

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...