Jump to content
Eternal Lands Official Forums
Beaverhunter

Current CVS errors

Recommended Posts

Oki, just updated CVS and alot got updated it seems but minimal error came along (Good job).

Only this:

 

1>actor_scripts.c

1>.\actor_scripts.c(885) : error C2065: 'M_PI' : undeclared identifier

Share this post


Link to post
Share on other sites

1>actor_scripts.c

1>.\actor_scripts.c(885) : error C2065: 'M_PI' : undeclared identifier

Should be fixed (though untested :)), thanks.

Share this post


Link to post
Share on other sites

problem:

lights.c:918: error: 'TEXTURE_CACHE_MAX' undeclared (first use in this function)

lights.c:918: error: (Each undeclared identifier is reported only once

lights.c:918: error: for each function it appears in.)

lights.c:920: error: 'texture_cache' undeclared (first use in this function)

 

fix:

Index: lights.c

===================================================================

RCS file: /cvsroot/elc/elc/lights.c,v

retrieving revision 1.73

diff -u -d -p -r1.73 lights.c

--- lights.c 31 Jul 2007 13:56:00 -0000 1.73

+++ lights.c 31 Jul 2007 16:05:48 -0000

@@ -5,6 +5,7 @@

#include "map.h"

#include "shadows.h"

#include "weather.h"

+#include "textures.h"

#ifdef CLUSTER_INSIDES

#include "cluster.h"

#endif

Share this post


Link to post
Share on other sites

problem:

lights.c:918: error: 'TEXTURE_CACHE_MAX' undeclared (first use in this function)

Fixed, thanks.

Share this post


Link to post
Share on other sites

 tile_map.c: In function ‘build_terrain_buffer’:
tile_map.c:62: warning: implicit declaration of function ‘get_bbox_intersect_flag’
tile_map.c:62: error: ‘main_bbox_tree’ undeclared (first use in this function)
tile_map.c:62: error: (Each undeclared identifier is reported only once
tile_map.c:62: error: for each function it appears in.)
tile_map.c:62: error: ‘TYPE_TERRAIN’ undeclared (first use in this function)
tile_map.c:62: error: ‘ide_changed’ undeclared (first use in this function)
tile_map.c:64: warning: implicit declaration of function ‘clear_bbox_intersect_flag’
tile_map.c:73: warning: implicit declaration of function ‘get_intersect_start_stop’
tile_map.c:77: warning: implicit declaration of function ‘get_intersect_item_ID’tile_map.c:78: warning: implicit declaration of function ‘get_terrain_x’
tile_map.c:79: warning: implicit declaration of function ‘get_terrain_y’
tile_map.c: In function ‘draw_terrain_quad_tiles’:
tile_map.c:126: error: ‘main_bbox_tree’ undeclared (first use in this function)
tile_map.c: In function ‘setup_terrain_clous_texgen’:
tile_map.c:158: error: ‘texture_scale’ undeclared (first use in this function)
tile_map.c: In function ‘draw_tile_map’:
tile_map.c:247: error: ‘ground_detail_text’ undeclared (first use in this function)
tile_map.c:271: error: ‘main_bbox_tree’ undeclared (first use in this function)
tile_map.c:271: error: ‘TYPE_TERRAIN’ undeclared (first use in this function)
make: *** [tile_map.o] Error 1

Default options, clean compile on Linux.

Edited by bluap

Share this post


Link to post
Share on other sites

I just learned how to compile so the problem may just be me, but I got the following error with a default compile on windows.

 

sound.c:96: error: syntax error before '*' token

sound.c:96: warning: type defaults to `int' in declaration of `music_thread'

sound.c:96: warning: data definition has no type or storage class
sound.c: In function `turn_music_off':
sound.c:1530: warning: implicit declaration of function `SDL_WaitThread'
sound.c: In function `turn_music_on':
sound.c:1553: warning: implicit declaration of function `SDL_CreateThread'
sound.c:1553: warning: assignment makes pointer from integer without a cast

make.exe: *** [sound.o] Error 1

Share this post


Link to post
Share on other sites

It looks like you're missing (or at least it's not finding) the SDL development files, you could try http://www.eternal-lands.com/forum/index.php?showtopic=35624 for links to the required packages.

 

However, I am a bit confused that it should stop at sound.c. Looking at the Makefile I'd expect that other files requiring SDL should be compiled before sound.c, and that it would halt compilation there.

Share this post


Link to post
Share on other sites

Since we are on/around the topic of global.h anyway, has anyone looked into possibly reducing the amount included by default in it, like Vegar started on a while ago? Especially now, where my local installation of OpenAL doesn't cooperate with g++ 4.2.0, and I can't disentangle it since it's included through global.h (Not exactly the best example, since updating to revision 3 of the package fixed it, but you can see the problem). It also tends to be annoying as every source file is dependent on every header, which results in a make clean sometimes when something completely unrelated changes (recompiling the hud to deal with sound changes, anyone?). At my current estimation, there are about 85 headers local to elc alone included through global.h...

 

Pfff... I never hope to do this again.

 

It's gone! Finally! Well, the file stille exists for the two variables it declares, and those should probably be moved too. But the mass includes are out, and platform dependencies have been moved into platform.h. Since it's impossible for me to test with all possible configurations, I expect some breakage in the next couple of days, but mostly things should simply compile.

 

Things to be done:

*) When compiling with MEMORY_DEBUG, elmemory.h *needs* to be global and included in every file you wish to monitor. So we should probably include that in global.h again, and re-#include global.h in every source file after all.

*) Actually the same is true for the redefinition of snprintf on windows platforms, although I replaceed all normal snprintf's with safe_snprintf's yesterday.

*) I haven't done the books directory yet, which apparently is used only when ENCYCLOPEDIA is defined. Has anyone used those files in the last couple of years?

*) Probably more, but I'm too tired now...

Share this post


Link to post
Share on other sites

OK, with these changes CVS code compiles and links on my system:

 

Index: actor_scripts.c
===================================================================
RCS file: /cvsroot/elc/elc/actor_scripts.c,v
retrieving revision 1.187
diff -u -d -p -r1.187 actor_scripts.c
--- actor_scripts.c	 31 Jul 2007 13:56:00 -0000	  1.187
+++ actor_scripts.c	 1 Aug 2007 15:23:43 -0000
@@ -16,6 +16,7 @@
#include "particles.h"
#include "pathfinder.h"
#include "platform.h"
+#include "text.h"
#include "tiles.h"
#include "timers.h"
#include "translate.h"
Index: books.c
===================================================================
RCS file: /cvsroot/elc/elc/books.c,v
retrieving revision 1.63
diff -u -d -p -r1.63 books.c
--- books.c	 1 Aug 2007 12:13:51 -0000	   1.63
+++ books.c	 1 Aug 2007 15:23:43 -0000
@@ -11,6 +11,7 @@
#include "knowledge.h"
#include "multiplayer.h"
#include "new_character.h"
+#include "text.h"
#include "textures.h"
#include "translate.h"

Index: buddy.c
===================================================================
RCS file: /cvsroot/elc/elc/buddy.c,v
retrieving revision 1.89
diff -u -d -p -r1.89 buddy.c
--- buddy.c	 1 Aug 2007 12:13:51 -0000	   1.89
+++ buddy.c	 1 Aug 2007 15:23:45 -0000
@@ -20,6 +20,7 @@
#include "interface.h"
#include "multiplayer.h"
#include "queue.h"
+#include "text.h"
#include "translate.h"

#define MAX_ACCEPT_BUDDY_WINDOWS MAX_BUDDY
Index: cal.c
===================================================================
RCS file: /cvsroot/elc/elc/cal.c,v
retrieving revision 1.51
diff -u -d -p -r1.51 cal.c
--- cal.c	   1 Aug 2007 12:13:51 -0000	   1.51
+++ cal.c	   1 Aug 2007 15:23:47 -0000
@@ -5,6 +5,7 @@
#include "global.h"
#include "load_gl_extensions.h"
#include "shadows.h"
+#include "text.h"
#include "translate.h"

void cal_actor_set_anim_delay(int id, struct cal_anim anim, float delay)
Index: console.c
===================================================================
RCS file: /cvsroot/elc/elc/console.c,v
retrieving revision 1.121
diff -u -d -p -r1.121 console.c
--- console.c   1 Aug 2007 12:13:51 -0000	   1.121
+++ console.c   1 Aug 2007 15:23:48 -0000
@@ -25,6 +25,7 @@
#include "sound.h"
#include "spells.h"
#include "tabs.h"
+#include "text.h"
#include "translate.h"
#ifdef COUNTERS
#include "counters.h"
Index: elconfig.c
===================================================================
RCS file: /cvsroot/elc/elc/elconfig.c,v
retrieving revision 1.216
diff -u -d -p -r1.216 elconfig.c
--- elconfig.c  1 Aug 2007 12:13:51 -0000	   1.216
+++ elconfig.c  1 Aug 2007 15:23:52 -0000
@@ -18,6 +18,7 @@
 #include "../map_editor/interface.h"
 #include "load_gl_extensions.h"
#else
+ #include "3d_objects.h"
 #include "alphamap.h"
 #include "asc.h"
 #include "bags.h"
@@ -47,12 +48,19 @@
 #include "spells.h"
 #include "storage.h"
 #include "tabs.h"
- #include "weather.h"
+ #include "text.h"
+#include "weather.h"
 #ifdef NEW_FILE_IO
  #include "io/elpathwrapper.h"
 #endif
 #ifdef SKY_FPV_CURSOR
  #include "sky.h"
+ #endif
+ #ifdef MINIMAP
+  #include "minimap.h"
+ #endif
+ #ifdef NEW_LIGHTING
+  #include "lights.h"
 #endif
#endif

Index: filter.c
===================================================================
RCS file: /cvsroot/elc/elc/filter.c,v
retrieving revision 1.46
diff -u -d -p -r1.46 filter.c
--- filter.c	1 Aug 2007 12:13:51 -0000	   1.46
+++ filter.c	1 Aug 2007 15:23:52 -0000
@@ -4,6 +4,7 @@
#include "filter.h"
#include "asc.h"
#include "init.h"
+#include "text.h"
#include "translate.h"
#ifdef NEW_FILE_IO
#include "errors.h"
Index: gamewin.c
===================================================================
RCS file: /cvsroot/elc/elc/gamewin.c,v
retrieving revision 1.213
diff -u -d -p -r1.213 gamewin.c
--- gamewin.c   1 Aug 2007 12:13:51 -0000	   1.213
+++ gamewin.c   1 Aug 2007 15:23:53 -0000
@@ -37,6 +37,7 @@
#include "spells.h"
#include "storage.h"
#include "tabs.h"
+#include "text.h"
#include "textures.h"
#include "tiles.h"
#include "trade.h"
@@ -53,6 +54,9 @@
#endif
#ifdef SKY_FPV_CURSOR
#include "sky.h"
+#endif
+#ifdef MINIMAP
+ #include "minimap.h"
#endif

int game_root_win = -1;
Index: gl_init.c
===================================================================
RCS file: /cvsroot/elc/elc/gl_init.c,v
retrieving revision 1.137
diff -u -d -p -r1.137 gl_init.c
--- gl_init.c   1 Aug 2007 12:13:51 -0000	   1.137
+++ gl_init.c   1 Aug 2007 15:23:53 -0000
@@ -12,6 +12,7 @@
#include "interface.h"
#include "lights.h"
#include "mapwin.h"
+#include "text.h"
#include "textures.h"
#include "translate.h"
#include "io/e3d_io.h"
Index: hud.c
===================================================================
RCS file: /cvsroot/elc/elc/hud.c,v
retrieving revision 1.179
diff -u -d -p -r1.179 hud.c
--- hud.c	   1 Aug 2007 12:13:51 -0000	   1.179
+++ hud.c	   1 Aug 2007 15:23:55 -0000
@@ -23,9 +23,13 @@
#include "spells.h"
#include "storage.h"
#include "tabs.h"
+#include "text.h"
#include "textures.h"
#include "trade.h"
#include "translate.h"
+#ifdef MINIMAP
+ #include "minimap.h"
+#endif

/* NOTE: This file contains implementations of the following, currently unused, and commented functions:
 *		  Look at the end of the file.
Index: init.c
===================================================================
RCS file: /cvsroot/elc/elc/init.c,v
retrieving revision 1.267
diff -u -d -p -r1.267 init.c
--- init.c	  1 Aug 2007 12:13:51 -0000	   1.267
+++ init.c	  1 Aug 2007 15:23:56 -0000
@@ -49,6 +49,7 @@
#include "spells.h"
#include "storage.h"
#include "tabs.h"
+#include "text.h"
#include "textures.h"
#include "tiles.h"
#include "timers.h"
@@ -69,6 +70,9 @@
#endif // PAWN
#ifdef SKY_FPV_CURSOR
#include "sky.h"
+#endif
+#ifdef MINIMAP
+ #include "minimap.h"
#endif

#define		CFG_VERSION 7   // change this when critical changes to el.cfg are made that will break it
Index: interface.c
===================================================================
RCS file: /cvsroot/elc/elc/interface.c,v
retrieving revision 1.184
diff -u -d -p -r1.184 interface.c
--- interface.c 1 Aug 2007 12:13:51 -0000	   1.184
+++ interface.c 1 Aug 2007 15:23:56 -0000
@@ -19,6 +19,7 @@
#include "pathfinder.h"
#include "rules.h"
#include "spells.h"
+#include "text.h"
#include "textures.h"
#include "tiles.h"
#include "translate.h"
Index: lights.c
===================================================================
RCS file: /cvsroot/elc/elc/lights.c,v
retrieving revision 1.74
diff -u -d -p -r1.74 lights.c
--- lights.c	31 Jul 2007 16:17:48 -0000	  1.74
+++ lights.c	1 Aug 2007 15:23:58 -0000
@@ -5,6 +5,7 @@
#include "map.h"
#include "shadows.h"
#include "weather.h"
+#include "textures.h"
#ifdef CLUSTER_INSIDES
#include "cluster.h"
#endif
Index: map.c
===================================================================
RCS file: /cvsroot/elc/elc/map.c,v
retrieving revision 1.10
diff -u -d -p -r1.10 map.c
--- map.c	   1 Aug 2007 12:13:52 -0000	   1.10
+++ map.c	   1 Aug 2007 15:23:58 -0000
@@ -23,6 +23,7 @@
#include "reflection.h"
#include "sound.h"
#include "storage.h"
+#include "text.h"
#include "tiles.h"
#include "translate.h"
#include "weather.h"
Index: minimap.c
===================================================================
RCS file: /cvsroot/elc/elc/minimap.c,v
retrieving revision 1.19
diff -u -d -p -r1.19 minimap.c
--- minimap.c   1 Aug 2007 12:13:52 -0000	   1.19
+++ minimap.c   1 Aug 2007 15:24:00 -0000
@@ -3,8 +3,19 @@
#include <stdlib.h>
#include <string.h>
#include "minimap.h"
+#include "actors.h"
+#include "asc.h"
+#include "colors.h"
#include "elwindows.h"
+#include "framebuffer.h"
+#include "gamewin.h"
+#include "gl_init.h"
+#include "init.h"
#include "interface.h"
+#include "misc.h"
+#include "textures.h"
+#include "tiles.h"
+#include "io/map_io.h"

GLuint minimap_texture = 0;
GLuint circle_texture = 0;
Index: multiplayer.c
===================================================================
RCS file: /cvsroot/elc/elc/multiplayer.c,v
retrieving revision 1.236
diff -u -d -p -r1.236 multiplayer.c
--- multiplayer.c	   1 Aug 2007 12:13:52 -0000	   1.236
+++ multiplayer.c	   1 Aug 2007 15:24:03 -0000
@@ -35,6 +35,7 @@
#include "sound.h"
#include "spells.h"
#include "storage.h"
+#include "text.h"
#include "trade.h"
#include "translate.h"
#include "update.h"
Index: new_character.c
===================================================================
RCS file: /cvsroot/elc/elc/new_character.c,v
retrieving revision 1.109
diff -u -d -p -r1.109 new_character.c
--- new_character.c	 1 Aug 2007 12:13:52 -0000	   1.109
+++ new_character.c	 1 Aug 2007 15:24:08 -0000
@@ -31,6 +31,7 @@
#include "reflection.h"
#include "shadows.h"
#include "tabs.h"
+#include "text.h"
#include "textures.h"
#include "tiles.h"
#include "translate.h"
Index: particles.c
===================================================================
RCS file: /cvsroot/elc/elc/particles.c,v
retrieving revision 1.128
diff -u -d -p -r1.128 particles.c
--- particles.c 31 Jul 2007 13:56:01 -0000	  1.128
+++ particles.c 1 Aug 2007 15:24:10 -0000
@@ -13,6 +13,7 @@
#include "pathfinder.h"
#include "string.h"
#include "sound.h"
+#include "text.h"
#include "textures.h"
#include "tiles.h"
#include "translate.h"
Index: pm_log.c
===================================================================
RCS file: /cvsroot/elc/elc/pm_log.c,v
retrieving revision 1.36
diff -u -d -p -r1.36 pm_log.c
--- pm_log.c	1 Aug 2007 12:13:52 -0000	   1.36
+++ pm_log.c	1 Aug 2007 15:24:10 -0000
@@ -9,6 +9,7 @@
#include "interface.h"
#include "lights.h"
#include "multiplayer.h"
+#include "text.h"
#include "translate.h"

int afk=0;
Index: sound.c
===================================================================
RCS file: /cvsroot/elc/elc/sound.c,v
retrieving revision 1.117
diff -u -d -p -r1.117 sound.c
--- sound.c	 1 Aug 2007 12:13:52 -0000	   1.117
+++ sound.c	 1 Aug 2007 15:24:11 -0000
@@ -8,6 +8,7 @@
#include "init.h"
#include "lights.h"
#include "misc.h"
+#include "text.h"
#include "translate.h"
#include "weather.h"
#include "io/map_io.h"
Index: spells.c
===================================================================
RCS file: /cvsroot/elc/elc/spells.c,v
retrieving revision 1.70
diff -u -d -p -r1.70 spells.c
--- spells.c	1 Aug 2007 12:13:52 -0000	   1.70
+++ spells.c	1 Aug 2007 15:24:11 -0000
@@ -14,6 +14,7 @@
#include "manufacture.h"
#include "multiplayer.h"
#include "pathfinder.h"
+#include "text.h"
#include "textures.h"
#include "translate.h"
#ifdef COUNTERS
Index: timers.c
===================================================================
RCS file: /cvsroot/elc/elc/timers.c,v
retrieving revision 1.33
diff -u -d -p -r1.33 timers.c
--- timers.c	1 Aug 2007 12:13:52 -0000	   1.33
+++ timers.c	1 Aug 2007 15:24:11 -0000
@@ -12,6 +12,7 @@
#include "pm_log.h"
#include "reflection.h"
#include "rules.h"
+#include "text.h"
#include "weather.h"
#ifdef PAWN
#include "pawn/elpawn.h"
Index: weather.c
===================================================================
RCS file: /cvsroot/elc/elc/weather.c,v
retrieving revision 1.58
diff -u -d -p -r1.58 weather.c
--- weather.c   1 Aug 2007 12:13:52 -0000	   1.58
+++ weather.c   1 Aug 2007 15:24:11 -0000
@@ -9,6 +9,7 @@
#include "misc.h"
#include "shadows.h"
#include "sound.h"
+#include "text.h"
#ifdef SKY_FPV_CURSOR
#include "sky.h"
#endif

Share this post


Link to post
Share on other sites

Florian, I've just checked in a couple of fixes, but I'm at a bit of a loss as to why you have to include text.h in several of your files. Could you please post the first (or first few) error messages if you'd remove the #include "text.h" from e.g. actor_scripts.c ?

Share this post


Link to post
Share on other sites

LOG_TO_CONSOLE was not defined for the linker, so I added text.h to all files which use LOG_TO_CONSOLE and didn't include text.h.

 

I'm not a C programmer, this did work for me :medieval:

 

Original CVS plus this change to compile:

Index: elconfig.c
===================================================================
RCS file: /cvsroot/elc/elc/elconfig.c,v
retrieving revision 1.217
diff -u -d -p -r1.217 elconfig.c
--- elconfig.c  1 Aug 2007 17:53:33 -0000	   1.217
+++ elconfig.c  1 Aug 2007 18:19:37 -0000
@@ -60,6 +60,9 @@
 #ifdef SKY_FPV_CURSOR
  #include "sky.h"
 #endif
+ #ifdef		NEW_ALPHA
+  #include "3d_objects.h"
+ #endif
#endif

#include "elconfig.h"

 

Linker error:

/usr/bin/ld: Undefined symbols:

_LOG_TO_CONSOLE

 

When I add text.h to all *.c which use LOG_TO_CONSOLE but don't include text.h, this error is gone. I don't know which *.c file causes it though.

Share this post


Link to post
Share on other sites

+ #ifdef NEW_ALPHA

+ #include "3d_objects.h"

+ #endif

[/code]

Missed that, thanks :medieval:

When I add text.h to all *.c which use LOG_TO_CONSOLE but don't include text.h, this error is gone. I don't know which *.c file causes it though.

timers.c, because of TIMER_CHECK. Fixed.

Share this post


Link to post
Share on other sites

timers.c, because of TIMER_CHECK. Fixed.

Not fixed.

sigh...

it couldn't simply be the last file but one. No it had to be the last TWO files.

Anyway, AND weather.c because of NEW_WEATHER.

 

Really fixed.

 

I hope

Share this post


Link to post
Share on other sites

Woohoo :medieval:

 

/EDIT

I get tons of harmless warnings which can easily be fixed with this:

Index: platform.h
===================================================================
RCS file: /cvsroot/elc/elc/platform.h,v
retrieving revision 1.4
diff -u -d -p -r1.4 platform.h
--- platform.h  31 Jul 2007 14:40:31 -0000	  1.4
+++ platform.h  1 Aug 2007 18:52:29 -0000
@@ -47,7 +47,9 @@
 #endif // __MINGW32__
#elif defined (OSX)
 #ifndef NO_MUSIC
-  #define __MACOSX__  //necessary for Ogg on Macs
+  #ifndef __MACOSX__
+   #define __MACOSX__  //necessary for Ogg on Macs
+  #endif
 #endif

 #ifdef __BIG_ENDIAN__

Edited by Florian

Share this post


Link to post
Share on other sites

Woohoo :medieval:

 

/EDIT

I get tons of harmless warnings which can easily be fixed with this:

+  #ifndef __MACOSX__
+   #define __MACOSX__  //necessary for Ogg on Macs
+  #endif

Applied, thanks

Share this post


Link to post
Share on other sites

While testing new SDL devpaks for DevCpp I had to change today's CVS code as follows:

 

added this to misc.c:

#include <SDL_thread.h>

 

on line 47 of platform.h I changed this:

  #define snprintf sane_snprintf

to this:

  #define snprintf safe_snprintf

 

and I still get this warning (but a usable compile because the correct function signature is in an object file somewhere)

e3d_io.c [Warning] implicit declaration of function `safe_snprintf'

 

Looks like my new devpaks work. I will post them to the compile help thread in a moment.

Share this post


Link to post
Share on other sites

fixes for url.c on OSX:

 

Index: url.c
===================================================================
RCS file: /cvsroot/elc/elc/url.c,v
retrieving revision 1.1
diff -u -d -p -r1.1 url.c
--- url.c	   3 Aug 2007 06:39:53 -0000	   1.1
+++ url.c	   3 Aug 2007 06:50:09 -0000
@@ -1,4 +1,9 @@
-#include <malloc.h>
+#ifdef OSX
+ #include <sys/malloc.h>
+ #include <CoreFoundation/CoreFoundation.h>
+#else
+ #include <malloc.h>
+#endif
#include <sys/types.h>
#include <string.h>
#include <unistd.h>

Share this post


Link to post
Share on other sites

Howdy folks. Here I come with some errors again;D :

 

1>Compiling...
1>url.c
1>.\url.c(9) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
1>paste.c
1>c:\dev\elc\paste.h(53) : fatal error C1083: Cannot open include file: 'X11/Xlib.h': No such file or directory
1>parser.c
1>c:\dev\elc\books\parser.h(41) : error C2146: syntax error : missing ')' before identifier 'doc'
1>c:\dev\elc\books\parser.h(41) : error C2081: 'xmlDocPtr' : name in formal parameter list illegal
1>c:\dev\elc\books\parser.h(41) : error C2061: syntax error : identifier 'doc'
1>c:\dev\elc\books\parser.h(41) : error C2059: syntax error : ';'
1>c:\dev\elc\books\parser.h(41) : error C2059: syntax error : ')'
1>.\books\parser.c(63) : error C2146: syntax error : missing ')' before identifier 'node'
1>.\books\parser.c(63) : error C2061: syntax error : identifier 'node'
1>.\books\parser.c(63) : error C2059: syntax error : ';'
1>.\books\parser.c(63) : error C2059: syntax error : ')'
1>.\books\parser.c(77) : error C2146: syntax error : missing ')' before identifier 'doc'
1>.\books\parser.c(77) : error C2081: 'xmlDocPtr' : name in formal parameter list illegal
1>.\books\parser.c(77) : error C2061: syntax error : identifier 'doc'
1>.\books\parser.c(77) : error C2059: syntax error : ';'
1>.\books\parser.c(77) : error C2059: syntax error : ')'
1>.\books\parser.c(78) : error C2146: syntax error : missing ')' before identifier 'node'
1>.\books\parser.c(78) : error C2081: 'xmlNodePtr' : name in formal parameter list illegal
1>.\books\parser.c(78) : error C2061: syntax error : identifier 'node'
1>.\books\parser.c(78) : error C2059: syntax error : ';'
1>.\books\parser.c(78) : error C2059: syntax error : ')'
1>.\books\parser.c(79) : error C2146: syntax error : missing ')' before identifier 'node'
1>.\books\parser.c(79) : error C2081: 'xmlNodePtr' : name in formal parameter list illegal
1>.\books\parser.c(79) : error C2061: syntax error : identifier 'node'
1>.\books\parser.c(79) : error C2059: syntax error : ';'
1>.\books\parser.c(79) : error C2059: syntax error : ')'
1>.\books\parser.c(80) : error C2146: syntax error : missing ')' before identifier 'node'
1>.\books\parser.c(80) : error C2081: 'xmlNodePtr' : name in formal parameter list illegal
1>.\books\parser.c(80) : error C2061: syntax error : identifier 'node'
1>.\books\parser.c(80) : error C2059: syntax error : ';'
1>.\books\parser.c(80) : error C2059: syntax error : ')'
1>.\books\parser.c(81) : error C2146: syntax error : missing ')' before identifier 'node'
1>.\books\parser.c(81) : error C2081: 'xmlNodePtr' : name in formal parameter list illegal
1>.\books\parser.c(81) : error C2061: syntax error : identifier 'node'
1>.\books\parser.c(81) : error C2059: syntax error : ';'
1>.\books\parser.c(81) : error C2059: syntax error : ')'
1>.\books\parser.c(82) : error C2146: syntax error : missing ')' before identifier 'node'
1>.\books\parser.c(82) : error C2081: 'xmlNodePtr' : name in formal parameter list illegal
1>.\books\parser.c(82) : error C2061: syntax error : identifier 'node'
1>.\books\parser.c(82) : error C2059: syntax error : ';'
1>.\books\parser.c(82) : error C2059: syntax error : ')'
1>.\books\parser.c(83) : error C2146: syntax error : missing ')' before identifier 'node'
1>.\books\parser.c(83) : error C2081: 'xmlNodePtr' : name in formal parameter list illegal
1>.\books\parser.c(83) : error C2061: syntax error : identifier 'node'
1>.\books\parser.c(83) : error C2059: syntax error : ';'
1>.\books\parser.c(83) : error C2059: syntax error : ')'
1>.\books\parser.c(84) : error C2146: syntax error : missing ')' before identifier 'node'
1>.\books\parser.c(84) : error C2081: 'xmlNodePtr' : name in formal parameter list illegal
1>.\books\parser.c(84) : error C2061: syntax error : identifier 'node'
1>.\books\parser.c(84) : error C2059: syntax error : ';'
1>.\books\parser.c(84) : error C2059: syntax error : ','
1>.\books\parser.c(84) : error C2059: syntax error : ')'
1>.\books\parser.c(85) : error C2146: syntax error : missing ')' before identifier 'node'
1>.\books\parser.c(85) : error C2081: 'xmlNodePtr' : name in formal parameter list illegal
1>.\books\parser.c(85) : error C2061: syntax error : identifier 'node'
1>.\books\parser.c(85) : error C2059: syntax error : ';'
1>.\books\parser.c(85) : error C2059: syntax error : ')'
1>.\books\parser.c(86) : error C2146: syntax error : missing ')' before identifier 'node'
1>.\books\parser.c(86) : error C2081: 'xmlNodePtr' : name in formal parameter list illegal
1>.\books\parser.c(86) : error C2061: syntax error : identifier 'node'
1>.\books\parser.c(86) : error C2059: syntax error : ';'
1>.\books\parser.c(86) : error C2059: syntax error : ')'
1>.\books\parser.c(87) : error C2146: syntax error : missing ')' before identifier 'node'
1>.\books\parser.c(87) : error C2081: 'xmlNodePtr' : name in formal parameter list illegal
1>.\books\parser.c(87) : error C2061: syntax error : identifier 'node'
1>.\books\parser.c(87) : error C2059: syntax error : ';'
1>.\books\parser.c(87) : error C2059: syntax error : ')'
1>.\books\parser.c(88) : error C2146: syntax error : missing ')' before identifier 'node'
1>.\books\parser.c(88) : error C2081: 'xmlNodePtr' : name in formal parameter list illegal
1>.\books\parser.c(88) : error C2061: syntax error : identifier 'node'
1>.\books\parser.c(88) : error C2059: syntax error : ';'
1>.\books\parser.c(88) : error C2059: syntax error : ','
1>.\books\parser.c(88) : error C2059: syntax error : ')'
1>.\books\parser.c(89) : error C2146: syntax error : missing ')' before identifier 'node'
1>.\books\parser.c(89) : error C2081: 'xmlNodePtr' : name in formal parameter list illegal
1>.\books\parser.c(89) : error C2061: syntax error : identifier 'node'
1>.\books\parser.c(89) : error C2059: syntax error : ';'
1>.\books\parser.c(89) : error C2059: syntax error : ')'
1>.\books\parser.c(90) : error C2146: syntax error : missing ')' before identifier 'node'
1>.\books\parser.c(90) : error C2081: 'xmlNodePtr' : name in formal parameter list illegal
1>.\books\parser.c(90) : error C2061: syntax error : identifier 'node'
1>.\books\parser.c(90) : error C2059: syntax error : ';'
1>.\books\parser.c(90) : error C2059: syntax error : ')'
1>.\books\parser.c(92) : error C2146: syntax error : missing ')' before identifier 'attr'
1>.\books\parser.c(92) : error C2081: 'xmlAttrPtr' : name in formal parameter list illegal
1>.\books\parser.c(92) : error C2061: syntax error : identifier 'attr'
1>.\books\parser.c(92) : error C2059: syntax error : ';'
1>.\books\parser.c(92) : error C2059: syntax error : ')'
1>.\books\parser.c(93) : error C2146: syntax error : missing ')' before identifier 'attr'
1>.\books\parser.c(93) : error C2081: 'xmlAttrPtr' : name in formal parameter list illegal
1>.\books\parser.c(93) : error C2061: syntax error : identifier 'attr'
1>.\books\parser.c(93) : error C2059: syntax error : ';'
1>.\books\parser.c(93) : error C2059: syntax error : ')'
1>.\books\parser.c(94) : error C2146: syntax error : missing ')' before identifier 'attr'
1>.\books\parser.c(94) : error C2081: 'xmlAttrPtr' : name in formal parameter list illegal
1>.\books\parser.c(94) : error C2061: syntax error : identifier 'attr'
1>.\books\parser.c(94) : error C2059: syntax error : ';'
1>.\books\parser.c(94) : error C2059: syntax error : ')'
1>.\books\parser.c(95) : error C2146: syntax error : missing ')' before identifier 'attr'
1>.\books\parser.c(95) : error C2081: 'xmlAttrPtr' : name in formal parameter list illegal
1>.\books\parser.c(95) : error C2061: syntax error : identifier 'attr'
1>.\books\parser.c(95) : error C2059: syntax error : ';'
1>.\books\parser.c(95) : error C2059: syntax error : ')'
1>.\books\parser.c(95) : fatal error C1003: error count exceeds 100; stopping compilation
1>main.c
1>.\main.c(357) : error C2065: 'win_command_line' : undeclared identifier
1>fontdef.c
1>.\books\fontdef.c(25) : error C2065: 'datadir' : undeclared identifier
1>elpathwrapper.c
1>.\io\elpathwrapper.c(25) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory

Share this post


Link to post
Share on other sites

Crash in WSC arena durink ~LE~ PK event

 

fail (msg1=0x3bf6e28 "*** stack smashing detected ***: ", msg1len=33, msg3=0x3bf6e04 "stack smashing detected: terminated") at ../../../gcc-4.2.1/libssp/ssp.c:145
145			   __builtin_trap ();
Current language:  auto; currently c

Program received signal EXC_BAD_INSTRUCTION, Illegal instruction/operand.
fail (msg1=0x3bf6e28 "*** stack smashing detected ***: ", msg1len=33, msg3=0x3bf6e04 "stack smashing detected: terminated") at ../../../gcc-4.2.1/libssp/ssp.c:145
145			   __builtin_trap ();
(gdb) bt
#0  fail (msg1=0x3bf6e28 "*** stack smashing detected ***: ", msg1len=33, msg3=0x3bf6e04 "stack smashing detected: terminated") at ../../../gcc-4.2.1/libssp/ssp.c:145
#1  0x0007d37b in pre_check_if_ignored (input_text=0xbfffcbc8 "Shadow_of_death: heya Eifi", len=28, channel=<value optimized out>) at ignore.c:299
#2  0x000dfa42 in filter_or_ignore_text (text_to_add=0xbfffcbc8 "Shadow_of_death: heya Eifi", len=28, size=8192, channel=0 '\0') at text.c:393
#3  0x000a47c4 in process_message_from_server (in_data=0x183381c0 "", data_length=32) at multiplayer.c:481
#4  0x0009a97f in start_rendering () at main.c:154

 

client compiled with -fstack-protector-all -fstack-check

 

/EDIT: and again ...

fail (msg1=0x3bf6e28 "*** stack smashing detected ***: ", msg1len=33, msg3=0x3bf6e04 "stack smashing detected: terminated") at ../../../gcc-4.2.1/libssp/ssp.c:145
145			   __builtin_trap ();
Current language:  auto; currently c

Program received signal EXC_BAD_INSTRUCTION, Illegal instruction/operand.
fail (msg1=0x3bf6e28 "*** stack smashing detected ***: ", msg1len=33, msg3=0x3bf6e04 "stack smashing detected: terminated") at ../../../gcc-4.2.1/libssp/ssp.c:145
145			   __builtin_trap ();
(gdb) bt
#0  fail (msg1=0x3bf6e28 "*** stack smashing detected ***: ", msg1len=33, msg3=0x3bf6e04 "stack smashing detected: terminated") at ../../../gcc-4.2.1/libssp/ssp.c:145
#1  0x0007d37b in pre_check_if_ignored (input_text=0xbfffcb48 "Shadow_of_death: hey SoF", len=26, channel=<value optimized out>) at ignore.c:299
#2  0x000dfa42 in filter_or_ignore_text (text_to_add=0xbfffcb48 "Shadow_of_death: hey SoF", len=26, size=8192, channel=0 '\0') at text.c:393
#3  0x000a47c4 in process_message_from_server (in_data=0x18384910 "", data_length=30) at multiplayer.c:481
#4  0x0009a97f in start_rendering () at main.c:154

Edited by Florian

Share this post


Link to post
Share on other sites

Nvm, cleared everything out, started over, and got a working compile with working elconfig window although it did have this:

 

C:\Documents and Settings\shariebeth\Desktop\elc\url.c In function `open_web_link': 
372 C:\Documents and Settings\shariebeth\Desktop\elc\url.c [Warning] passing arg 2 of `SDL_CreateThread' discards qualifiers from pointer target type

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.

×