Jump to content
Eternal Lands Official Forums
Beaverhunter

Current CVS errors

Recommended Posts

This always happened to me when I had animation program enabled. So I guess Karmic doesn't accelerate the graphics enough to be able to use it.

Share this post


Link to post
Share on other sites

Found this bug after compiling the mac client yesterday, and mistakenly posted it in the Mac bug reports thread. Oops. Also, noticed its appearance on both a G4 and an Intel Mac.

 

I'm not sure if this is the appropriate place to post this, but I did a universal CVS build of the mac client today and noticed a kind of major bug. Basically, bags do not appear. If you create a bag, the bag window will show but no bag graphic will appear onscreen and if you close that window, you will not have access to what you put in the bag.

 

Also, I did a build on October 5th, and this bug was not present then.

 

Just letting you all know...

Share this post


Link to post
Share on other sites

meh.

 

You guys update to / install Karmic and you get graphical anomalies, i've installed Karmic and now i seem to have some race condition bug that has the client seg faulting anywhere between 0 and about 4 seconds after opening it, most of the time... maybe 1 in 5 or 6 times the client starts successfully and then runs fine.

 

I have this problem with bluap's binary, my own compiled binaries, the release 1.8.0 linux binary and the release 'alternate' 1.8.0 binary (a note though: that el.x86.linux.alt.bin binary that comes with release client seems to start up successfully a bit more often than all the others... but the testing was only brief, could have been coincidence).

 

:~/bin$ gdb ./el.x86.linux.bin 
GNU gdb (GDB) 7.0-ubuntu
...
Reading symbols from /home/korrode/bin/el.x86.linux.bin...done.
(gdb) run
Starting program: /home/korrode/bin/el.x86.linux.bin 
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x0071eb07 in memset () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt
#0  0x0071eb07 in memset () from /lib/tls/i686/cmov/libc.so.6
#1  0x080b650c in init_stuff () at init.c:774
#2  0x080d101e in main (argc=1, argv=0xbffff7e4) at main.c:342

:~/bin$ gdb ./el.x86.linux.bin 
GNU gdb (GDB) 7.0-ubuntu
...
Reading symbols from /home/korrode/bin/el.x86.linux.bin...done.
(gdb) run
Starting program: /home/korrode/bin/el.x86.linux.bin 
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x009abb07 in memset () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt
#0  0x009abb07 in memset () from /lib/tls/i686/cmov/libc.so.6
#1  0x08062261 in init_actor_defs () at actor_scripts.c:3941
#2  0x080b651d in init_stuff () at init.c:777
#3  0x080d101e in main (argc=1, argv=0xbffff7e4) at main.c:342

 

init.c:774

memset(actors_defs, 0, sizeof(actors_defs));

 

actor_scripts.c:3941

memset (attached_actors_defs, 0, sizeof (attached_actors_defs));

 

Seems it's something related to 'memset' and/or actor defs... although, one other segfault seemed to point to something quite different >.> ...idk i'm not a coder, i'm just making this up as i go along. :rolleyes:

 

I think i'll just install Arch :rolleyes: ...or maybe go back to using Debian Testing (the versions of kernel, libraries, etc. if anything were newer than those on Karmic when i was on up-to-date Debian Testing a few days ago)... these problems certainly appear to be Karmic exclusive... damn Canonical and their no-where-near-upstream'ness :icon13:

Edited by Korrode

Share this post


Link to post
Share on other sites

I have no sound AND characters are shadowed. I've tried compiling a new binary and it fails. Shown below:

 

djr@popeye-laptop:~/elc$ cvs update

? .deps

? el.x86.linux.bin

? make.conf

cvs server: Updating .

M Makefile.linux

M el.ini

M make.defaults

cvs server: Updating actor_defs

cvs server: Updating books

cvs server: Updating debian

cvs server: Updating docs

cvs server: Updating docs/eye_candy

cvs server: Updating docs/eye_candy/images

cvs server: Updating exceptions

cvs server: Updating eye_candy

cvs server: Updating eye_candy/textures

cvs server: Updating eye_candy/textures/128x128

cvs server: Updating eye_candy/textures/16x16

cvs server: Updating eye_candy/textures/32x32

cvs server: Updating eye_candy/textures/64x64

cvs server: Updating generic

cvs server: Updating io

cvs server: Updating languages

cvs server: Updating languages/de

cvs server: Updating languages/de/Encyclopedia

cvs server: Updating languages/de/strings

cvs server: Updating languages/en

cvs server: Updating languages/en/Encyclopedia

cvs server: Updating languages/en/Encyclopedia/images

cvs server: Updating languages/en/books

cvs server: Updating languages/en/books/races

cvs server: Updating languages/en/strings

cvs server: Updating languages/fr

cvs server: Updating languages/fr/Encyclopedia

cvs server: Updating languages/fr/Encyclopedia/images

cvs server: Updating languages/fr/strings

cvs server: Updating languages/po

cvs server: Updating languages/po/Encyclopedia

cvs server: Updating languages/si

cvs server: Updating languages/si/Encyclopedia

cvs server: Updating languages/si/Encyclopedia/images

cvs server: Updating macosx

cvs server: Updating macosx/English.lproj

cvs server: Updating macosx/EternalLands.xcodeproj

cvs server: Updating map_editor

cvs server: Updating pawn

cvs server: Updating pawn_scripts

cvs server: Updating pkgfiles

cvs server: Updating shader

cvs server: Updating shader/data

cvs server: Updating shader/data/shader

cvs server: Updating shaders

cvs server: Updating skybox

cvs server: Updating temlates

cvs server: Updating templates

cvs server: Updating xml

djr@popeye-laptop:~/elc$ make -f Makefile.linux

CC 2d_objects.o

In file included from 2d_objects.c:10:

load_gl_extensions.h:69: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglClientActiveTexture’

load_gl_extensions.h:77: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglLoadTransposeMatrixd’

load_gl_extensions.h:78: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglLoadTransposeMatrixf’

load_gl_extensions.h:79: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultTransposeMatrixd’

load_gl_extensions.h:80: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultTransposeMatrixf’

load_gl_extensions.h:81: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord1d’

load_gl_extensions.h:82: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord1dv’

load_gl_extensions.h:83: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord1f’

load_gl_extensions.h:84: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord1fv’

load_gl_extensions.h:85: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord1i’

load_gl_extensions.h:86: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord1iv’

load_gl_extensions.h:87: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord1s’

load_gl_extensions.h:88: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord1sv’

load_gl_extensions.h:89: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord2d’

load_gl_extensions.h:90: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord2dv’

load_gl_extensions.h:91: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord2f’

load_gl_extensions.h:92: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord2fv’

load_gl_extensions.h:93: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord2i’

load_gl_extensions.h:94: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord2iv’

load_gl_extensions.h:95: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord2s’

load_gl_extensions.h:96: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord2sv’

load_gl_extensions.h:97: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord3d’

load_gl_extensions.h:98: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord3dv’

load_gl_extensions.h:99: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord3f’

load_gl_extensions.h:100: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord3fv’

load_gl_extensions.h:101: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord3i’

load_gl_extensions.h:102: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord3iv’

load_gl_extensions.h:103: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord3s’

load_gl_extensions.h:104: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord3sv’

load_gl_extensions.h:105: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord4d’

load_gl_extensions.h:106: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord4dv’

load_gl_extensions.h:107: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord4f’

load_gl_extensions.h:108: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord4fv’

load_gl_extensions.h:109: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord4i’

load_gl_extensions.h:110: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord4iv’

load_gl_extensions.h:111: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord4s’

load_gl_extensions.h:112: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord4sv’

make: *** [2d_objects.o] Error 1

djr@popeye-laptop:~/elc$ ./el.x86.linux.bin

I/O warning : failed to load external entity "./spells.xml"

Share this post


Link to post
Share on other sites

Using el.x86.linux.alt.bin works! Sound's fine and no shadows.

 

Still can't use the cvs version with sound or regular char animation.

Edited by popeye

Share this post


Link to post
Share on other sites

@Korrode: Do you have valgrind installed? that could help in pinpointing thread safety issues (since you mention race condition...). I'll try it myself on my own (CVS) client, see what it gives.

 

Just a caution: that part of valgrind tremendously slows down the program under observation (up to 100x according to docs, :) )

 

Edit: did the thread error detection run... it is indeed slow as molasses (~5 min to get into the game windowà, and

>valgrind --tool=helgrind ./el.x86.linux.bin

spits out a lot of possible race conditions during startup. Full log is rather long, in summary:

seen 4 threads, with lots of complaints about no locking or inconsistent locks. If this is a known issue, sorry for wasting your time,

otherwise I'm quite willing to dig into it further

 

What I find surprising is that normally I see no problems during play. One reason might be that SDL is playing tricks with the locks so all I get are false positives, another might be that scheduling keeps EL on one core

 

My system:

AMD athlon64 double core, 2Gb mem, running OpenSuSE 11.1 (with upgrades), SDL version 1.2.13.107,

CVS client compiled under GCC 4.3,

Edited by revi

Share this post


Link to post
Share on other sites
I have no sound AND characters are shadowed. I've tried compiling a new binary and it fails. Shown below:

...

CC 2d_objects.o

In file included from 2d_objects.c:10:

load_gl_extensions.h:69: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglClientActiveTexture’

...

Have a look on the previous page. :icon4:

I'm still hoping for a better solution...

Share this post


Link to post
Share on other sites
I have no sound AND characters are shadowed. I've tried compiling a new binary and it fails. Shown below:

...

CC 2d_objects.o

In file included from 2d_objects.c:10:

load_gl_extensions.h:69: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglClientActiveTexture’

...

Have a look on the previous page. :icon4:

I'm still hoping for a better solution...

 

What I think is weird (though I don't pretend to understand the EL client in it's entirety) is that it seems to include a copy of an original glext.h file (platform.h, line 82). From my QUICK testing (although I believe Korrode's been running it for a while now without issue), you can simply include the ORIGINAL system file instead:

- #include "glext.h"
+ #include <GL/glext.h>

 

Of course, ymmv.

Share this post


Link to post
Share on other sites
(although I believe Korrode's been running it for a while now without issue)

Err no i haven't been running it at all... in fact, i haven't even compiled my own binary on Arch yet :icon4:

 

EDIT: just made your change to platform.h to double check it does compile for me... it does :) (well, it's gotten past where it usually would have had the error anyways.)

Edited by Korrode

Share this post


Link to post
Share on other sites
Current CVS doesn't build for me.

[hussam@LARS elc]$ make -f Makefile.linux

CC 2d_objects.o

In file included from 2d_objects.c:10:

load_gl_extensions.h:69: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglClientActiveTexture’

...

make: *** [2d_objects.o] Error 1

 

I upgraded two days ago to GCC 4.4.2 Any compiler experts?

I came across the same error when compiling for Ubuntu Karmic. I think it is due to newer version of gl.h rather than the compiler. I have not found the solution yet but the temporary work around was a rather nasty hack, apologies to all open GL experts...

Index: platform.h
===================================================================
RCS file: /cvsroot/elc/elc/platform.h,v
retrieving revision 1.21
diff -a -u -r1.21 platform.h
--- platform.h	29 Apr 2009 13:28:08 -0000	1.21
+++ platform.h	20 Oct 2009 22:38:53 -0000
@@ -78,6 +78,10 @@
#else
 #define GL_GLEXT_LEGACY
 #include <GL/gl.h>
+ // #undef is a temporary fix for new gl.h files
+ // until I find out how to do it correctly....
+ #undef GL_VERSION_1_2
+ #undef GL_VERSION_1_3
 #include <GL/glu.h>
 #include "glext.h"
#endif

 

 

Where in the file <platform.h> do I paste that? I tried pasting it into a section and it didn't compile.

Share this post


Link to post
Share on other sites

I pasted "

- #include "glext.h"

+ #include <GL/glext.h>"

below "#ifndef PLATFORM_H

#define PLATFORM_H".

 

 

glext.h:6391: error: expected ‘)’ before ‘stream’

glext.h:6392: error: expected ‘)’ before ‘stream’

glext.h:6393: error: expected ‘)’ before ‘stream’

glext.h:6394: error: expected ‘)’ before ‘stream’

glext.h:6395: error: expected ‘)’ before ‘stream’

glext.h:6396: error: expected ‘)’ before ‘stream’

glext.h:6397: error: expected ‘)’ before ‘stream’

glext.h:6398: error: expected ‘)’ before ‘stream’

glext.h:6399: error: expected ‘)’ before ‘stream’

glext.h:6400: error: expected ‘)’ before ‘stream’

glext.h:6401: error: expected ‘)’ before ‘stream’

glext.h:6402: error: expected ‘)’ before ‘stream’

glext.h:6403: error: expected ‘)’ before ‘stream’

glext.h:6404: error: expected ‘)’ before ‘stream’

glext.h:6405: error: expected ‘)’ before ‘stream’

glext.h:6406: error: expected ‘)’ before ‘stream’

glext.h:6407: error: expected ‘)’ before ‘stream’

glext.h:6408: error: expected ‘)’ before ‘stream’

glext.h:6409: error: expected ‘)’ before ‘stream’

glext.h:6410: error: expected ‘)’ before ‘stream’

glext.h:6411: error: expected ‘)’ before ‘stream’

glext.h:6412: error: expected ‘)’ before ‘stream’

glext.h:6413: error: expected ‘)’ before ‘stream’

glext.h:6414: error: expected ‘)’ before ‘stream’

glext.h:6415: error: expected ‘)’ before ‘stream’

glext.h:6416: error: expected ‘)’ before ‘stream’

glext.h:6417: error: expected ‘)’ before ‘stream’

glext.h:6418: error: expected ‘)’ before ‘stream’

glext.h:6419: error: expected ‘)’ before ‘stream’

glext.h:6420: error: expected ‘)’ before ‘stream’

glext.h:6421: error: expected ‘)’ before ‘stream’

glext.h:6422: error: expected ‘)’ before ‘stream’

glext.h:6423: error: expected ‘)’ before ‘stream’

glext.h:6424: error: expected ‘)’ before ‘pname’

glext.h:6425: error: expected ‘)’ before ‘pname’

glext.h:6435: error: expected ‘)’ before ‘type’

glext.h:6436: error: expected ‘)’ before ‘mode’

glext.h:6437: error: expected ‘)’ before ‘mode’

glext.h:6445: error: expected ‘)’ before ‘mode’

glext.h:6476: error: expected declaration specifiers or ‘...’ before ‘GLenum’

glext.h:6477: error: expected declaration specifiers or ‘...’ before ‘GLenum’

glext.h:6486: error: expected ‘)’ before ‘pname’

glext.h:6487: error: expected ‘)’ before ‘pname’

glext.h:6507: error: expected ‘)’ before ‘face’

glext.h:6527: error: expected ‘)’ before ‘type’

glext.h:6528: error: expected ‘)’ before ‘mode’

glext.h:6529: error: expected ‘)’ before ‘mode’

glext.h:6530: error: expected ‘)’ before ‘mode’

glext.h:6531: error: expected ‘)’ before ‘mode’

glext.h:6552: error: expected ‘)’ before ‘object’

glext.h:6553: error: expected ‘)’ before ‘object’

glext.h:6579: error: expected ‘)’ before ‘pname’

glext.h:6595: warning: type defaults to ‘int’ in declaration of ‘GLenum’

glext.h:6595: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token

glext.h:6706: error: expected ‘)’ before ‘target’

glext.h:6707: error: expected ‘)’ before ‘target’

glext.h:6708: error: expected ‘)’ before ‘target’

glext.h:6709: error: expected ‘)’ before ‘target’

glext.h:6710: error: expected ‘)’ before ‘target’

glext.h:6711: error: expected ‘)’ before ‘target’

glext.h:6712: error: expected ‘)’ before ‘target’

glext.h:6713: error: expected ‘)’ before ‘target’

glext.h:6740: error: expected ‘)’ before ‘target’

glext.h:6741: error: expected ‘)’ before ‘target’

glext.h:6778: error: expected ‘)’ before ‘face’

glext.h:6779: error: expected ‘)’ before ‘frontfunc’

glext.h:6789: error: expected declaration specifiers or ‘...’ before ‘GLenum’

glext.h:6790: error: expected declaration specifiers or ‘...’ before ‘GLenum’

glext.h:6791: error: expected declaration specifiers or ‘...’ before ‘GLenum’

glext.h:6815: error: expected ‘)’ before ‘modeRGB’

glext.h:6868: error: expected ‘)’ before ‘target’

glext.h:6871: error: expected ‘)’ before ‘target’

glext.h:6872: error: expected ‘)’ before ‘target’

glext.h:6874: error: expected ‘)’ before ‘target’

glext.h:6877: error: expected declaration specifiers or ‘...’ before ‘*’ token

glext.h:6877: error: expected ‘)’ before ‘target’

glext.h:6878: error: expected ‘)’ before ‘target’

glext.h:6879: error: expected ‘)’ before ‘target’

glext.h:6880: error: expected ‘)’ before ‘target’

glext.h:6881: error: expected ‘)’ before ‘target’

glext.h:6882: error: expected ‘)’ before ‘target’

glext.h:6883: error: expected ‘)’ before ‘target’

glext.h:6915: error: expected declaration specifiers or ‘...’ before ‘GLenum’

glext.h:6923: error: expected ‘)’ before ‘target’

glext.h:6936: error: expected declaration specifiers or ‘...’ before ‘GLenum’

glext.h:6937: error: expected declaration specifiers or ‘...’ before ‘GLenum’

glext.h:6946: error: expected ‘)’ before ‘target’

glext.h:6947: error: expected ‘)’ before ‘target’

glext.h:6956: error: expected ‘)’ before ‘target’

glext.h:6957: error: expected ‘)’ before ‘target’

glext.h:6980: error: expected ‘)’ before ‘target’

glext.h:6981: error: expected ‘)’ before ‘target’

glext.h:6982: error: expected ‘)’ before ‘target’

glext.h:6983: error: expected ‘)’ before ‘target’

glext.h:6984: error: expected ‘)’ before ‘target’

glext.h:6985: error: expected ‘)’ before ‘target’

glext.h:6986: error: expected ‘)’ before ‘target’

glext.h:6987: error: expected ‘)’ before ‘target’

glext.h:6988: error: expected ‘)’ before ‘target’

glext.h:6989: error: expected ‘)’ before ‘target’

glext.h:6990: error: expected ‘)’ before ‘target’

glext.h:6991: error: expected ‘)’ before ‘target’

glext.h:6992: error: expected ‘)’ before ‘target’

glext.h:6993: error: expected ‘)’ before ‘target’

glext.h:6994: error: expected ‘)’ before ‘target’

glext.h:6995: error: expected ‘)’ before ‘target’

glext.h:7006: error: expected ‘)’ before ‘target’

glext.h:7007: error: expected ‘)’ before ‘target’

glext.h:7008: error: expected ‘)’ before ‘target’

glext.h:7009: error: expected ‘)’ before ‘target’

glext.h:7017: error: expected declaration specifiers or ‘...’ before ‘GLenum’

glext.h:7067: error: expected declaration specifiers or ‘...’ before ‘GLenum’

glext.h:7068: error: expected declaration specifiers or ‘...’ before ‘GLenum’

glext.h:7069: error: expected declaration specifiers or ‘...’ before ‘GLenum’

glext.h:7106: error: expected ‘)’ before ‘mode’

glext.h:7107: error: expected ‘)’ before ‘mode’

glext.h:7123: error: expected ‘)’ before ‘target’

glext.h:7159: error: expected ‘)’ before ‘target’

glext.h:7177: error: expected ‘)’ before ‘target’

glext.h:7178: error: expected ‘)’ before ‘target’

glext.h:7179: error: expected ‘)’ before ‘target’

glext.h:7193: error: expected ‘)’ before ‘target’

glext.h:7194: error: expected ‘)’ before ‘target’

glext.h:7195: error: expected ‘)’ before ‘target’

glext.h:7196: error: expected ‘)’ before ‘target’

glext.h:7197: error: expected ‘)’ before ‘target’

glext.h:7215: error: expected ‘)’ before ‘primitiveMode’

glext.h:7217: error: expected declaration specifiers or ‘...’ before ‘GLenum’

glext.h:7218: error: expected ‘)’ before ‘target’

glext.h:7219: error: expected ‘)’ before ‘target’

glext.h:7220: error: expected ‘)’ before ‘target’

glext.h:7221: error: expected declaration specifiers or ‘...’ before ‘GLenum’

glext.h:7224: error: expected declaration specifiers or ‘...’ before ‘GLenum’

glext.h:7250: error: expected ‘)’ before ‘target’

glext.h:7251: error: expected ‘)’ before ‘target’

glext.h:7252: error: expected ‘)’ before ‘target’

glext.h:7253: error: expected ‘)’ before ‘target’

In file included from 2d_objects.h:9,

from 2d_objects.c:4:

vmath.h: In function ‘calc_rotation_and_translation_matrix’:

vmath.h:635: warning: implicit declaration of function ‘glGetFloatv’

In file included from eye_candy_wrapper.h:18,

from text.h:12,

from font.h:9,

from asc.h:12,

from 2d_objects.c:5:

actors.h: At top level:

actors.h:382: error: expected specifier-qualifier-list before ‘GLenum’

In file included from e3d.h:9,

from eye_candy_wrapper.h:19,

from text.h:12,

from font.h:9,

from asc.h:12,

from 2d_objects.c:5:

e3d_object.h:27: error: expected specifier-qualifier-list before ‘GLenum’

In file included from text.h:12,

from font.h:9,

from asc.h:12,

from 2d_objects.c:5:

eye_candy_wrapper.h:183: error: expected ‘)’ before ‘light_id’

In file included from 2d_objects.c:6:

draw_scene.h:75: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘base_unit’

In file included from 2d_objects.c:10:

load_gl_extensions.h:61: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglCopyTexSubImage3D’

load_gl_extensions.h:62: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglDrawRangeElements’

load_gl_extensions.h:63: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglTexImage3D’

load_gl_extensions.h:64: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglTexSubImage3D’

load_gl_extensions.h:68: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglActiveTexture’

load_gl_extensions.h:69: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglClientActiveTexture’

load_gl_extensions.h:70: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglCompressedTexImage1D’

load_gl_extensions.h:71: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglCompressedTexImage2D’

load_gl_extensions.h:72: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglCompressedTexImage3D’

load_gl_extensions.h:73: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglCompressedTexSubImage1D’

load_gl_extensions.h:74: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglCompressedTexSubImage2D’

load_gl_extensions.h:75: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglCompressedTexSubImage3D’

load_gl_extensions.h:76: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglGetCompressedTexImage’

load_gl_extensions.h:77: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglLoadTransposeMatrixd’

load_gl_extensions.h:78: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglLoadTransposeMatrixf’

load_gl_extensions.h:79: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultTransposeMatrixd’

load_gl_extensions.h:80: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultTransposeMatrixf’

load_gl_extensions.h:81: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord1d’

load_gl_extensions.h:82: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord1dv’

load_gl_extensions.h:83: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord1f’

load_gl_extensions.h:84: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord1fv’

load_gl_extensions.h:85: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord1i’

load_gl_extensions.h:86: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord1iv’

load_gl_extensions.h:87: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord1s’

load_gl_extensions.h:88: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord1sv’

load_gl_extensions.h:89: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord2d’

load_gl_extensions.h:90: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord2dv’

load_gl_extensions.h:91: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord2f’

load_gl_extensions.h:92: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord2fv’

load_gl_extensions.h:93: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord2i’

load_gl_extensions.h:94: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord2iv’

load_gl_extensions.h:95: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord2s’

load_gl_extensions.h:96: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord2sv’

load_gl_extensions.h:97: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord3d’

load_gl_extensions.h:98: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord3dv’

load_gl_extensions.h:99: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord3f’

load_gl_extensions.h:100: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord3fv’

load_gl_extensions.h:101: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord3i’

load_gl_extensions.h:102: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord3iv’

load_gl_extensions.h:103: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord3s’

load_gl_extensions.h:104: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord3sv’

load_gl_extensions.h:105: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord4d’

load_gl_extensions.h:106: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord4dv’

load_gl_extensions.h:107: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord4f’

load_gl_extensions.h:108: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord4fv’

load_gl_extensions.h:109: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord4i’

load_gl_extensions.h:110: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord4iv’

load_gl_extensions.h:111: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord4s’

load_gl_extensions.h:112: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord4sv’

load_gl_extensions.h:118: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglBlendEquation’

load_gl_extensions.h:119: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglBlendFuncSeparate’

load_gl_extensions.h:120: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglFogCoordPointer’

load_gl_extensions.h:125: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiDrawArrays’

load_gl_extensions.h:126: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiDrawElements’

load_gl_extensions.h:127: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglPointParameterf’

load_gl_extensions.h:128: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglPointParameterfv’

load_gl_extensions.h:165: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglBeginQuery’

load_gl_extensions.h:166: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglBindBuffer’

load_gl_extensions.h:167: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglBufferData’

load_gl_extensions.h:168: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglBufferSubData’

load_gl_extensions.h:171: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglEndQuery’

load_gl_extensions.h:174: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglGetBufferParameteriv’

load_gl_extensions.h:175: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglGetBufferPointerv’

load_gl_extensions.h:176: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglGetBufferSubData’

load_gl_extensions.h:179: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglGetQueryiv’

load_gl_extensions.h:182: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMapBuffer’

load_gl_extensions.h:183: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglUnmapBuffer’

load_gl_extensions.h:189: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglBlendEquationSeparate’

load_gl_extensions.h:192: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglCreateShader’

load_gl_extensions.h:197: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglDrawBuffers’

load_gl_extensions.h:219: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglStencilFuncSeparate’

load_gl_extensions.h:220: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglStencilMaskSeparate’

load_gl_extensions.h:221: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglStencilOpSeparate’

load_gl_extensions.h:292: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglActiveTextureARB’

load_gl_extensions.h:293: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglClientActiveTextureARB’

load_gl_extensions.h:294: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord1dARB’

load_gl_extensions.h:295: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord1dvARB’

load_gl_extensions.h:296: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord1fARB’

load_gl_extensions.h:297: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord1fvARB’

load_gl_extensions.h:298: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord1iARB’

load_gl_extensions.h:299: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord1ivARB’

load_gl_extensions.h:300: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord1sARB’

load_gl_extensions.h:301: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord1svARB’

load_gl_extensions.h:302: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord2dARB’

load_gl_extensions.h:303: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord2dvARB’

load_gl_extensions.h:304: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord2fARB’

load_gl_extensions.h:305: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord2fvARB’

load_gl_extensions.h:306: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord2iARB’

load_gl_extensions.h:307: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord2ivARB’

load_gl_extensions.h:308: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord2sARB’

load_gl_extensions.h:309: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord2svARB’

load_gl_extensions.h:310: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord3dARB’

load_gl_extensions.h:311: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord3dvARB’

load_gl_extensions.h:312: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord3fARB’

load_gl_extensions.h:313: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord3fvARB’

load_gl_extensions.h:314: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord3iARB’

load_gl_extensions.h:315: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord3ivARB’

load_gl_extensions.h:316: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord3sARB’

load_gl_extensions.h:317: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord3svARB’

load_gl_extensions.h:318: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord4dARB’

load_gl_extensions.h:319: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord4dvARB’

load_gl_extensions.h:320: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord4fARB’

load_gl_extensions.h:321: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord4fvARB’

load_gl_extensions.h:322: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord4iARB’

load_gl_extensions.h:323: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord4ivARB’

load_gl_extensions.h:324: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord4sARB’

load_gl_extensions.h:325: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMultiTexCoord4svARB’

load_gl_extensions.h:334: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglDrawRangeElementsEXT’

load_gl_extensions.h:338: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglPointParameterfARB’

load_gl_extensions.h:339: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglPointParameterfvARB’

load_gl_extensions.h:343: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglBindBufferARB’

load_gl_extensions.h:344: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglBufferDataARB’

load_gl_extensions.h:345: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglBufferSubDataARB’

load_gl_extensions.h:348: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglGetBufferParameterivARB’

load_gl_extensions.h:349: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglGetBufferPointervARB’

load_gl_extensions.h:350: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglGetBufferSubDataARB’

load_gl_extensions.h:352: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglMapBufferARB’

load_gl_extensions.h:353: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglUnmapBufferARB’

load_gl_extensions.h:357: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglBindFramebufferEXT’

load_gl_extensions.h:358: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglBindRenderbufferEXT’

load_gl_extensions.h:359: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglCheckFramebufferStatusEXT’

load_gl_extensions.h:362: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglFramebufferRenderbufferEXT’

load_gl_extensions.h:363: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglFramebufferTexture1DEXT’

load_gl_extensions.h:364: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglFramebufferTexture2DEXT’

load_gl_extensions.h:365: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglFramebufferTexture3DEXT’

load_gl_extensions.h:368: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglGenerateMipmapEXT’

load_gl_extensions.h:369: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglGetFramebufferAttachmentParameterivEXT’

load_gl_extensions.h:370: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglGetRenderbufferParameterivEXT’

load_gl_extensions.h:373: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglRenderbufferStorageEXT’

load_gl_extensions.h:377: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglCompressedTexImage1DARB’

load_gl_extensions.h:378: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglCompressedTexImage2DARB’

load_gl_extensions.h:379: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglCompressedTexImage3DARB’

load_gl_extensions.h:380: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglCompressedTexSubImage1DARB’

load_gl_extensions.h:381: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglCompressedTexSubImage2DARB’

load_gl_extensions.h:382: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglCompressedTexSubImage3DARB’

load_gl_extensions.h:383: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglGetCompressedTexImageARB’

load_gl_extensions.h:387: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglBeginQueryARB’

load_gl_extensions.h:389: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglEndQueryARB’

load_gl_extensions.h:393: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglGetQueryivARB’

load_gl_extensions.h:398: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglBindProgramARB’

load_gl_extensions.h:403: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglGetProgramEnvParameterdvARB’

load_gl_extensions.h:404: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglGetProgramEnvParameterfvARB’

load_gl_extensions.h:405: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglGetProgramLocalParameterdvARB’

load_gl_extensions.h:406: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglGetProgramLocalParameterfvARB’

load_gl_extensions.h:407: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglGetProgramStringARB’

load_gl_extensions.h:408: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglGetProgramivARB’

load_gl_extensions.h:414: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglProgramEnvParameter4dARB’

load_gl_extensions.h:415: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglProgramEnvParameter4dvARB’

load_gl_extensions.h:416: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglProgramEnvParameter4fARB’

load_gl_extensions.h:417: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglProgramEnvParameter4fvARB’

load_gl_extensions.h:418: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglProgramLocalParameter4dARB’

load_gl_extensions.h:419: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglProgramLocalParameter4dvARB’

load_gl_extensions.h:420: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglProgramLocalParameter4fARB’

load_gl_extensions.h:421: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglProgramLocalParameter4fvARB’

load_gl_extensions.h:422: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglProgramStringARB’

load_gl_extensions.h:472: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglCreateShaderObjectARB’

load_gl_extensions.h:477: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglGetHandleARB’

load_gl_extensions.h:511: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglFogCoordPointerEXT’

load_gl_extensions.h:519: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglProgramEnvParameters4fvEXT’

load_gl_extensions.h:520: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ELglProgramLocalParameters4fvEXT’

In file included from 2d_objects.c:13:

shadows.h:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘depth_texture_target’

In file included from 2d_objects.c:14:

textures.h: In function ‘bind_texture_id’:

textures.h:207: warning: implicit declaration of function ‘glBindTexture’

In file included from cluster.h:10,

from 2d_objects.c:25:

particles.h: At top level:

particles.h:79: error: expected specifier-qualifier-list before ‘GLenum’

2d_objects.c: In function ‘draw_2d_object’:

2d_objects.c:90: warning: implicit declaration of function ‘glBegin’

2d_objects.c:124: warning: implicit declaration of function ‘ELglMultiTexCoord2fARB’

2d_objects.c:124: error: ‘base_unit’ undeclared (first use in this function)

2d_objects.c:124: error: (Each undeclared identifier is reported only once

2d_objects.c:124: error: for each function it appears in.)

2d_objects.c:125: error: ‘detail_unit’ undeclared (first use in this function)

2d_objects.c: In function ‘display_2d_objects’:

2d_objects.c:635: warning: implicit declaration of function ‘glEnable’

2d_objects.c:636: warning: implicit declaration of function ‘glAlphaFunc’

2d_objects.c:643: warning: implicit declaration of function ‘ELglActiveTextureARB’

2d_objects.c:643: error: ‘detail_unit’ undeclared (first use in this function)

2d_objects.c:648: error: ‘base_unit’ undeclared (first use in this function)

2d_objects.c:687: warning: implicit declaration of function ‘glDisable’

make: *** [2d_objects.o] Error 1

Share this post


Link to post
Share on other sites
I pasted "

- #include "glext.h"

+ #include <GL/glext.h>"

below "#ifndef PLATFORM_H

#define PLATFORM_H".

The change is shown as a patch, an automatic way to apply the edit using the patch command. You should not include the +/- at the beginning of the lines if you are applying the patch manually. A "-" at the start means remove the line, a "+" means add the line.

Share this post


Link to post
Share on other sites
What I think is weird (though I don't pretend to understand the EL client in it's entirety) is that it seems to include a copy of an original glext.h file (platform.h, line 82). From my QUICK testing (although I believe Korrode's been running it for a while now without issue), you can simply include the ORIGINAL system file instead:

- #include "glext.h"
+ #include <GL/glext.h>

I tried that some weeks ago using the beta of Ubuntu 9.10 and it did not work; but it does now. ;)

The reason we have a local copy of glext.h is because the version that ships with some OS are very old indeed and do not work. The use of a local copy is a documented work around that has worked for quite some time. The other thing I tried was downloading the latest version of glext.h from http://www.opengl.org/registry/api/glext.h to replace the current copy in CVS. Previously that did not work either but does appear to work now. I'll do a bit more testing then commit the new version of glext.h unless someone tells me of a better plan.

Edited by bluap

Share this post


Link to post
Share on other sites

It compiles now. Same problem as before though. Shadowed characters.

Share this post


Link to post
Share on other sites
This always happened to me when I had animation program enabled. So I guess Karmic doesn't accelerate the graphics enough to be able to use it.

This worked for me. Thanks!

 

Note to others, disable actor animation in game settings, ADV Video tab.

Share this post


Link to post
Share on other sites

I have no sound running cvs client.

 

djr@popeye-laptop:~/elc$ ./el.x86.linux.bin

I/O warning : failed to load external entity "./spells.xml"

Share this post


Link to post
Share on other sites
I have no sound running cvs client.

 

djr@popeye-laptop:~/elc$ ./el.x86.linux.bin

I/O warning : failed to load external entity "./spells.xml"

I recompiled the binary after deleting cvs folder. Sound's working no compile errors.

Share this post


Link to post
Share on other sites

2 new bugs:

 

1) when you make an alias , #alias <number> and you use '\' in it it becomes messed up.

The exact command i used was #alias 22 \\\

As long as the client runns it is no problem. When you restart the client, the alias will no longer work. It will not show up on the #aliases-list either. When you have a look in the alias.ini you will see that the signs are dublicated. Some signs like / are cut off.

For example you had originally \\o// and you get \\\\\o/ ... weird.

 

2) When you have custom clothes for an item which you wear and it has also alpha in it, then the effect with invisibility will not work. The icon for invisible will show up but your character is not semi visible. I was so used to the effect that now when i didnt see it i thought it might not work at all. But other ppl told me that i was invisible and it is only me who can not see it.

 

Hope you can fix it :)

Good Luck

Share this post


Link to post
Share on other sites

don't know if it's the right place to post, but here goes:

 

Can't compile the client. Everything works fine until "make -f Makefile.linux", which gives this message:

make: *** No rule to make target `2d_objects.c', needed by `2d_objects.o'.  Stop.

make is already the newest version, gcc installed. running on HP Compaq Mini 110c with Ubuntu 9.10. system is 32bit. please tell me if you need more info

Share this post


Link to post
Share on other sites
Can't compile the client. Everything works fine until "make -f Makefile.linux", which gives this message:

where you say "Everything", what is 'everything'? what are the last commands you typed prior to 'make -f Makefile.linux'?

Share this post


Link to post
Share on other sites

apt-get install cvs

login to repos

download source

create make.conf from make.default

make -f Makefile.linux

 

that's as far as I remember :)

Share this post


Link to post
Share on other sites

The only thing I see strange in there is the 'create make.conf from make.default'

Iirc, that's done automatically by make -f Makefile.linux

 

One thing I had to do though, was change the -march in make.conf:

to "PLATFORM=-march=athlon64", as I have an athlon CPU. (line 76 in my copy)

 

edit: I also made a symbolic link 'Makefile' pointing to 'Makefile.linux', so a simple make is enough then

(command: 'ln -s Makefile.linux Makefile'; that's a minuscule 's' and a majuscule 'M'

Edited by revi

Share this post


Link to post
Share on other sites

And don't forget that you need the header files ('x_devel' packages (?, on SuSe they are marked like that at least) for all the dependencies, not just the libraries...

 

Also, if you are missing dependencies, you should have gotten a lot of other error messages, not just the one you cited. In general, the important ones are the first messages indicating an error, not the last/final one :pickaxe: The one you gave can have a lot of causes, starting from a syntax error in the source (not remotely likely here) to missing include files (missing headers for dependencies again).

Better post the whole output from the 'make -f Makefile.linux' command, better too much than too little (and the specialists know where to look anyway :) )

 

Edit: I think we are getting off-topic here though, a mod might want to move this thread to a better place (HELP ME?)

Edited by revi

Share this post


Link to post
Share on other sites

Nevermind my problem, I had to revert to this dumb windoze for some reasons, at least for a while (pity I only have 1 comp atm, and too lazy to try and set up a windows boot on a portable HDD). I compiled the cvs on windoze too, it did give me a very similar message (this time with make.conf and make.defaults), but after a couple of tries I managed to compile it.

 

@revi: that is the only line that "make -f Makefile.linux" command gave me.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

×