Hi all,
I decided to give el on FreeBSD another try after a few months off. I just can't get it to compile.
I tried:
make -f Makefile.bsd release
and it returned:
`all' not remade because of errors.
The most notable error (for my untrained eye) was:
Graph cycles through framebuffer.o
I started afresh, now using:
gmake -f Makefile.bsdg release
and it returned:
gmake[1]: *** [2d_objects.o] Error 1
gmake[1]: Leaving directory `/usr/home/frans-jan/el-112/elc'
gmake: *** [release] Error 2
The full output from gmake is posted below.
I ran this in the elc directory from elc-112.tgz. I have no experience with installing software this way (I use the ports-system mostly, but that is stuck wit el-101).
What am I missing?
(details on system: FreeBSD 6-STABLE on AMD Sempron x86, Nvidia graphics with proprietary nvidia-driver, xorg-6.8.2, sdl-1.2.9)
gmake-errors:
$ gmake -f Makefile.bsdg release
gcc -march=i686 -g -ggdb -pipe -DLINUX -DELC -DBSD -DPNG_SCREENSHOT -I/usr/local/include/SDL11 -I/usr/local/include -D_REENTRANT -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/X11R6/include/ -MM 2d_objects.c 3d_objects.c actor_scripts.c actors.c alphamap.c asc.c books.c buddy.c bags.c cache.c cal.c chat.c colors.c console.c consolewin.c cursors.c dialogues.c draw_scene.c elconfig.c elmemory.c elwindows.c encyclopedia.c errors.c events.c framebuffer.c filter.c font.c frustum.c gamewin.c gl_init.c hud.c help.c highlight.c ignore.c init.c interface.c items.c keys.c knowledge.c lights.c loading_win.c loginwin.c main.c manufacture.c map_io.c mapwin.c md2loader.c md5.c misc.c multiplayer.c new_actors.c new_character.c notepad.c openingwin.c particles.c paste.c pathfinder.c pm_log.c questlog.c queue.c reflection.c rules.c skills.c sector.c shadows.c sort.c sound.c spells.c stats.c storage.c symbol_table.c tabs.c text.c textures.c tile_map.c timers.c translate.c trade.c weather.c widgets.c books/fontdef.c books/parser.c books/symbols.c books/typesetter.c >.depend
gmake -f Makefile.linux 'CFLAGS=-march=i686 -O3 -fomit-frame-pointer -ffast-math -pipe -DLINUX -DELC -DBSD -DPNG_SCREENSHOT -I/usr/local/include/SDL11 -I/usr/local/include -D_REENTRANT -I/usr/local/include/libxml2 -I/usr/local/include' 'CXXFLAGS=-march=i686 -O3 -fomit-frame-pointer -ffast-math -pipe -DLINUX -DELC -DBSD -DPNG_SCREENSHOT'
gmake[1]: Entering directory `/usr/home/frans-jan/el-112/elc'
gcc -march=i686 -O3 -fomit-frame-pointer -ffast-math -pipe -DLINUX -DELC -DBSD -DPNG_SCREENSHOT -I/usr/local/include/SDL11 -I/usr/local/include -D_REENTRANT -I/usr/local/include/libxml2 -I/usr/local/include -c -o 2d_objects.o 2d_objects.c
In file included from 2d_objects.c:7:
global.h:49:19: GL/gl.h: No such file or directory
global.h:50:20: GL/glu.h: No such file or directory
global.h:51:22: GL/glext.h: No such file or directory
In file included from global.h:90,
from 2d_objects.c:7:
e3d.h:206: error: syntax error before "GLuint"
e3d.h:261: error: syntax error before "GLuint"
In file included from global.h:95,
from 2d_objects.c:7:
lights.h:46: error: syntax error before "sky_lights_c1"
lights.h:46: warning: data definition has no type or storage class
lights.h:47: error: syntax error before "sky_lights_c2"
lights.h:47: warning: data definition has no type or storage class
lights.h:48: error: syntax error before "sky_lights_c3"
lights.h:48: warning: data definition has no type or storage class
lights.h:49: error: syntax error before "sky_lights_c4"
lights.h:49: warning: data definition has no type or storage class
lights.h:52: error: syntax error before "sun_ambient_light"
lights.h:52: warning: data definition has no type or storage class
lights.h:53: error: syntax error before "difuse_light"
lights.h:53: warning: data definition has no type or storage class
lights.h:100: error: syntax error before "x"
In file included from global.h:98,
from 2d_objects.c:7:
interface.h:89: error: syntax error before "cont_text"
interface.h:89: warning: data definition has no type or storage class
interface.h:90: error: syntax error before "legend_text"
interface.h:90: warning: data definition has no type or storage class
In file included from global.h:102,
from 2d_objects.c:7:
shadows.h:15: error: syntax error before "depth_map_id"
shadows.h:15: warning: data definition has no type or storage class
shadows.h:16: error: syntax error before "depth_texture_target"
shadows.h:16: warning: data definition has no type or storage class
In file included from global.h:103,
from 2d_objects.c:7:
particles.h:58: error: syntax error before "GLenum"
In file included from global.h:108,
from 2d_objects.c:7:
weather.h:39: error: syntax error before "fogColor"
weather.h:39: warning: data definition has no type or storage class
In file included from global.h:110,
from 2d_objects.c:7:
items.h:143: error: syntax error before "get_items_texture"
items.h:143: warning: data definition has no type or storage class
In file included from global.h:112,
from 2d_objects.c:7:
draw_scene.h:11: error: syntax error before "paper1_text"
draw_scene.h:11: warning: data definition has no type or storage class
draw_scene.h:46: error: syntax error before "base_unit"
draw_scene.h:46: warning: data definition has no type or storage class
In file included from global.h:118,
from 2d_objects.c:7:
gl_init.h:59: error: syntax error before "target"
gl_init.h:60: error: syntax error before "texture"
gl_init.h:61: error: syntax error before "texture"
gl_init.h:62: error: syntax error before "first"
gl_init.h:64: error: syntax error before "target"
gl_init.h:65: error: syntax error before "no"
gl_init.h:66: error: syntax error before "no"
gl_init.h:67: error: syntax error before "target"
gl_init.h:68: error: syntax error before "n"
gl_init.h:69: error: syntax error before "n"
gl_init.h:70: error: syntax error before "target"
gl_init.h:71: error: syntax error before "target"
gl_init.h:72: error: syntax error before "n"
gl_init.h:73: error: syntax error before "n"
gl_init.h:74: error: syntax error before "n"
gl_init.h:75: error: syntax error before "n"
gl_init.h:76: error: syntax error before "n"
gl_init.h:77: error: syntax error before "type"
gl_init.h:78: error: syntax error before "type"
gl_init.h:79: error: syntax error before '*' token
gl_init.h:80: error: syntax error before "shader"
gl_init.h:81: error: syntax error before "shader"
gl_init.h:82: error: syntax error before '*' token
gl_init.h:83: error: syntax error before "program"
gl_init.h:84: error: syntax error before "program"
gl_init.h:85: error: syntax error before "program"
In file included from global.h:120,
from 2d_objects.c:7:
misc.h:35: error: syntax error before "wx"
In file included from global.h:121,
from 2d_objects.c:7:
paste.h:24:22: X11/Xlib.h: No such file or directory
In file included from global.h:121,
from 2d_objects.c:7:
paste.h:44: error: syntax error before "event"
In file included from global.h:122,
from 2d_objects.c:7:
textures.h:29: error: syntax error before "load_bmp8_color_key"
textures.h:29: warning: data definition has no type or storage class
textures.h:42: error: syntax error before "load_bmp8_fixed_alpha"
textures.h:42: warning: data definition has no type or storage class
textures.h:139: error: syntax error before "load_bmp8_remapped_skin"
textures.h:140: warning: data definition has no type or storage class
2d_objects.c: In function `draw_2d_object':
2d_objects.c:78: error: `GL_QUADS' undeclared (first use in this function)
2d_objects.c:78: error: (Each undeclared identifier is reported only once
2d_objects.c:78: error: for each function it appears in.)
2d_objects.c:102: error: `GL_TEXTURE_2D' undeclared (first use in this function)
2d_objects.c: In function `display_2d_objects':
2d_objects.c:488: error: `GL_ALPHA_TEST' undeclared (first use in this function)
2d_objects.c:489: error: `GL_GREATER' undeclared (first use in this function)
2d_objects.c: At top level:
lights.h:52: warning: array 'sun_ambient_light' assumed to have one element
lights.h:53: warning: array 'difuse_light' assumed to have one element
weather.h:39: warning: array 'fogColor' assumed to have one element
gmake[1]: *** [2d_objects.o] Error 1
gmake[1]: Leaving directory `/usr/home/frans-jan/el-112/elc'
gmake: *** [release] Error 2
(I'm sorry for the long post)