ago Report post Posted January 9, 2008 I don't have MSVC or windows for that matter so I can't test this. So, I've submitted a patch for others to check. Is this function missing on all versions of MSVC? The MSDN Library does not list trunc() so I'd expect it to be missing in all versions of Visual Studio. The patch is good and compiles without any errors. Share this post Link to post Share on other sites
Ermabwed Report post Posted January 9, 2008 gcc -march=k8 -Wall -Wdeclaration-after-statement -O0 -ggdb -pipe -DLINUX -DELC -DAFK_FIX -DALPHA_ACTORS -DATI_9200_FIX -DAUTO_UPDATE -DCLICKABLE_CONTINENT_MAP -DCLUSTER_INSIDES -DCOUNTERS -DCALCULATOR -DCUSTOM_LOOK -DCUSTOM_UPDATE -DCXX_MISC -DEYE_CANDY -DFONTS_FIX -DFUZZY_PATHS -DIDLE_FIX -DMASKING -DMINES -DMINIMAP -DNEW_ACTOR_ANIMATION -DNEW_ACTOR_SCALE -DNEW_FILE_IO -DNEW_TEX -DNOTEPAD -DOPTIONS_I18N -DPNG_SCREENSHOT -DPOPUP -DSFX -DSIMPLE_LOD -DUSE_INLINE -DUSE_SEND_VIDEO_INFO -DZLIB -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -fno-strict-aliasing -c -o cal.o cal.c cal.c: In function 'cal_render_bones': cal.c:257: error: 'SMALL_INGAME_FONT_X_LEN' undeclared (first use in this function) cal.c:257: error: (Each undeclared identifier is reported only once cal.c:257: error: for each function it appears in.) cal.c:257: error: 'ALT_INGAME_FONT_X_LEN' undeclared (first use in this function) cal.c:258: error: 'SMALL_INGAME_FONT_Y_LEN' undeclared (first use in this function) cal.c:343: warning: implicit declaration of function 'draw_ortho_ingame_string' make: *** [cal.o] Error 1 compiling on k8 (amd64) without sound support Share this post Link to post Share on other sites
bluap Report post Posted January 9, 2008 cal.c:257: error: 'SMALL_INGAME_FONT_X_LEN' undeclared (first use in this function) You need to include font.h but I'm not get that error. Which compiler version are you using? I'm using 4.2.3 on Debian. Share this post Link to post Share on other sites
Ermabwed Report post Posted January 9, 2008 gcc-config -l says x86_64-pc-linux-gnu-4.1.2 Share this post Link to post Share on other sites
Alia Report post Posted January 9, 2008 compiling on k8 (amd64) without sound support font.h is included in asc.h, which is included in cal.c this way #ifdef NEW_SOUND #include "asc.h" #include "sound.h" #include "tiles.h" #endif /* NEW_SOUND */ Share this post Link to post Share on other sites
bluap Report post Posted January 10, 2008 font.h is included in asc.h, which is included in cal.c this way Yes, you're right, I wasn't paying attention. Fixed in CVS now. Thanks. Share this post Link to post Share on other sites
ago Report post Posted January 10, 2008 I got a crash in strcmp in the code below (actor_scripts.c, around line 2821) I think it references the wrong member, it should be act->helmet.model_name. There is one odd thing though. The line was basicly unchanged since 2005. I have no idea why it crashes now and did not before. for (i = 0; i < ACTOR_HELMET_SIZE; i++) { if (strcmp (fn, act->cape[i].model_name) == 0 && act->helmet[i].mesh_index != -1) return act->helmet[i].mesh_index; } Share this post Link to post Share on other sites
bluap Report post Posted January 10, 2008 (edited) I got a crash in strcmp in the code below (actor_scripts.c, around line 2821) I think it references the wrong member, it should be act->helmet.model_name. There is one odd thing though. The line was basicly unchanged since 2005. I have no idea why it crashes now and did not before. Crashing now because ACTOR_HELMET_SIZE and ACTOR_CAPE_SIZE have changed in actors.h with the missile code changes. I'll fix it in CVS, thanks for spotting this. Edited January 10, 2008 by bluap Share this post Link to post Share on other sites
Schmurk Report post Posted January 10, 2008 BTW, I've made the construction of actor parts dynamic in order to free some memory. I thought I've added NULL pointer checks everywhere the code was accessing directly to the inside of those arrays. Well it seems not... Share this post Link to post Share on other sites
larrystorch Report post Posted January 12, 2008 To follow up on my previous compile failure, I followed the notes in Mantis and downloaded a new glext.h file from OpenGL.org and I get a good compile. Share this post Link to post Share on other sites
Raz Report post Posted January 12, 2008 To follow up on my previous compile failure, I followed the notes in Mantis and downloaded a new glext.h file from OpenGL.org and I get a good compile. I had the same issue and same fix... thx guys.. Share this post Link to post Share on other sites
bluap Report post Posted January 12, 2008 To follow up on my previous compile failure, I followed the notes in Mantis and downloaded a new glext.h file from OpenGL.org and I get a good compile. I had the same issue and same fix... thx guys.. That's good news but which particular fix were you both using and which OS was this for. We still don't have a fix in CVS. Share this post Link to post Share on other sites
larrystorch Report post Posted January 12, 2008 (edited) I was having an gl issue trying to compile CVS. Previous post about my problem is here I am running Slackware 11.0, nvidia 100.14.19 drivers, gcc 3.4.6. I thought that the glext.h that came with my distro was at fault, but it looks like the nvidia drivers include their own version of this file that overwrote my system's version of the file. I think if you were to include an EL version of this file and compile using this, you can avoid the problem of non-standard files down the road. just my $.02 Edited January 12, 2008 by larrystorch Share this post Link to post Share on other sites
Entropy Report post Posted January 13, 2008 Yes, that is the idea, but it won't work on macs. Share this post Link to post Share on other sites
Raz Report post Posted January 13, 2008 To follow up on my previous compile failure, I followed the notes in Mantis and downloaded a new glext.h file from OpenGL.org and I get a good compile. I had the same issue and same fix... thx guys.. That's good news but which particular fix were you both using and which OS was this for. We still don't have a fix in CVS. Standard windows- following the instructions in the forum. And got the same error that larry had already posted. Want me to remove it and post the error? Share this post Link to post Share on other sites
bluap Report post Posted January 13, 2008 (edited) Standard windows- following the instructions in the forum.And got the same error that larry had already posted. No need to post your errors. Sorry, I didn't make myself clear enough. I was interested in which steps you both took to resolved the compile errors; several ways have been suggested on Mantis. Did you 1) replace your system glext.h file with the one from the opengl website. 2) Save the new glext.h in elc and modify platform.h to use #define GL_GLEXT_LEGACY etc. 3) Save it in elc tree and modify makefiles to -I include it. 4) Use Florian's scripts and include the generated file. Sorry to be so pedantic. Edited January 13, 2008 by bluap Share this post Link to post Share on other sites
Ermabwed Report post Posted January 13, 2008 I actually had the same/a similar error around that time, it got solved when EL made it into portage and required >=eselect-opengl-1.0.6-r1 (had to unmask that). Share this post Link to post Share on other sites
Raz Report post Posted January 15, 2008 Standard windows- following the instructions in the forum.And got the same error that larry had already posted. No need to post your errors. Sorry, I didn't make myself clear enough. I was interested in which steps you both took to resolved the compile errors; several ways have been suggested on Mantis. Did you 1) replace your system glext.h file with the one from the opengl website. 2) Save the new glext.h in elc and modify platform.h to use #define GL_GLEXT_LEGACY etc. 3) Save it in elc tree and modify makefiles to -I include it. 4) Use Florian's scripts and include the generated file. Sorry to be so pedantic. 1) copied the glext.h file Sorry - it seemed to be the easiest - and it worked. If you wish me to try one of the other ways - drop me a pm and I can do it. Share this post Link to post Share on other sites
Florian Report post Posted January 16, 2008 (edited) gamewin.c: In function 'click_game_handler': gamewin.c:830: error: 'struct <anonymous>' has no member named 'range_xyz_target' gamewin.c:831: error: 'struct <anonymous>' has no member named 'range_xyz_target' make: *** [gamewin.o] Error 1 this is in a block guarded with MISSILES and DEBUG /EDIT crash right after login Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x00000184 0x0002dcb9 in cal_render_actor (act=0x1846f800) at cal.c:508 508 if (_coremesh == CalCoreModel_GetCoreMesh(actors_defs[act->actor_type].coremodel,actors_defs[act->actor_type].weapon[act->cur_weapon].mesh_index)) (gdb) bt full #0 0x0002dcb9 in cal_render_actor (act=0x1846f800) at cal.c:508 pCalRenderer = (class CalRenderer *) 0x24aa3b0 meshCount = 1 meshId = 0 submeshCount = 1 points = {{0, 0, 0} <repeats 94 times>, {0, 1.40129846e-45, 1.40129846e-45}, {0, 0, 1.40129846e-45}, {0, 0, 0} <repeats 59 times>, {1.26116862e-44, 9.18340949e-41, 1.40129846e-45}, {-nan(0x7f0000), -nan(0x7fffff), -nan(0x7fffff)}, {-nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}, {-nan(0x7fffff), -nan(0x7fffff), 0}, {0, 0, 0}, {0, 0, 0}, {0, 0, 2.24207754e-44}, {0, 0, 0} <repeats 17 times>, {1.26116862e-44, 9.18340949e-41, 1.40129846e-45}, {-nan(0x7f0000), -nan(0x7fffff), -nan(0x7fffff)}, {-nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}, {-nan(0x7fffff), -nan(0x7fffff), 0}, {0, 0, 0}, {0, 0, 0}, {0, 0, 2.24207754e-44}, {-1.99813747, 0, -1.09048771e-19}, {1.28919459e-43, 0, 0}, {0, 0, 0}, {0, 0, 0}, {0, 0.000706439547, 1.0838721e-08}, {2.75503435e+12, 7.31439893e+34, 2.06176836e-19}, {1.94316151e-19, 4.61258616e+24, 7.31435981e+34}, {2.01941671e-19, 1.94316151e-19, 7.55631491e+31}, {2.82310845e+23, 1.75492362e+25, 3.44443506e-12}, {6.8608197e+22, 2.64564523e+20, 6.40745346e-10}, {1.45859045e-19, 1.94312183e-19, 5.08328307e+31}, {2566.33789, 1.87545054e+28, 1.17204082e-32}, {0, 0, 0} <repeats 17 times>, {0, 0, -2.53116065e-29}, {7.52321407e-37, -1.08526303e-19, -1.99808788}, {0, 3.32797551e-16, 1.56945428e-43}, {1.56945428e-43, 0, 0}, {0, 0, 7.52316385e-37}, {0, 0, 1.40129846e-45}, {0, 3.31332369e-16, 1.56945428e-43}, {1.56945428e-43, 1.821688e-43, 0}, {1.56945428e-43, 5.60519386e-45, 3.33066907e-16}, {9.09442703e-41, 0, -nan(0x7fffff)}, {3.32797551e-16, -nan(0x7f0001), -nan(0x7fffff)}, {0, -nan(0x7fffff), 0}, {1.56945428e-43, 5.60519386e-45, 3.33066907e-16}, {4.06292477e-41, 0, 4.44211613e-43}, {3.32797551e-16, 3.32797551e-16, 4.44211613e-43}, {0, 1.14687872e-40, -1.99816716}, {2.24207754e-44, 0, 3.33283854e-16}, {0, 3.17590768e-16, 0}, {3.33162834e-16, 4.20389539e-45, 3.3337978e-16}, {3.17591192e-16, 0, 0}, {0, 0, 0}, {0, 0, 0}, {0, 0, 0}, {0, -2.53095392e-29, 0}, {3.32797551e-16, 0, -1.99806976}, {0, 0, -1.99812222}, {9.80908925e-45, 3.32770446e-16, -1.99813986}, {1.56945428e-43, -2.53072912e-29, 1.40129846e-45}, {-1.09178742e-19, -1.99809742, -2.53094398e-29}, {7.52321407e-37, 3.32797551e-16, 1.16307773e-43}, {1.68155816e-44, 3.32772616e-16, -1.99809742}, {-2.537054e-29, 3.32772616e-16, 2.24207754e-44}, {3.32770446e-16, 7.52316385e-37, 1.40129846e-45}, {3.32770446e-16, 3.32797551e-16, 1.3732725e-43}, {5.13177918e-40, 3.32770446e-16, 3.32772616e-16}, {-1.99810886, 5.14195261e-40, 3.32797551e-16}, {3.32797551e-16, 1.38728548e-43, 1.40129846e-45}, {3.32770446e-16, 3.32797551e-16, 1.3732725e-43}, {2.80259693e-45, 3.32770446e-16, 3.32797551e-16}, {1.14906474e-43, 0, 1.54142831e-44}, {2.80259693e-45, 374, 1.13505176e-43}, {0, 6.72623263e-44, 0}, {1.37805373e-39, 0, 1.24773017e-39}, {-1.99812031, 2.75590904e-17, 3.32770446e-16}, {1.13505176e-43, 1.38728548e-43, 2.75590904e-17}, {7.51095977e-43, 2.85684119e-40, -1.99812031}, {1.39619073e-39, 8.40779079e-45, 2.1019477e-44}, {3.32770446e-16, 2.80259693e-45, 3.32770446e-16}, {1.13505176e-43, 5.88545355e-44, 1.40129846e-45}, {1.61990102e-42, 4.20389539e-45, 2.75590904e-17}, {9.51463319e-29, 3.32770446e-16, 3.32772616e-16}, {-1.99813175, 2.86376361e-40, 8.40779079e-45}, {2.1019477e-44, 5.88545355e-44, 0}, {7.52316385e-37, 1.38728548e-43, 1.40129846e-45}, {3.55554262e-40, 3.32770446e-16, 3.32772616e-16}, {-1.99813175, 3.55505217e-40, 1.31300601e-38}, {1, 1.68155816e-44, 5.88545355e-44}, {2.80259693e-45, 7.51095977e-43, 3.57331108e-43}, {1.40129846e-45, 1.23333323e-39, 3.32770446e-16}, {-1.99813747, 1.23360368e-39, 1.31300601e-38}, {1.40129846e-45, 0, 1.14906474e-43}, {0, 1.01412048e+31, 1.47219116e-37}, {-1.09048771e-19, 1.24198344e-39, 1.24198344e-39}, {-1.99815655, 1.24346461e-39, 4.20389539e-45}, {3.32770446e-16, 1.14906474e-43, 1.821688e-43}, {1.12103877e-43, -1.99816716, 0}, {0, 0, 0}, {0, -1.99811459, 0}, {-1.99832618, 0, -8.21730152e-34}, {-nan(0x7f0024), -1.99832618, 1.40129846e-44}, {3.32770446e-16, -1.99816716, 1.821688e-44}, {-1.99813879, 1.4995435e-40, -1.99816716}, {1.40129846e-43, 1.65316e-38, -1.99815893}, {1.31300601e-38, 1.38728548e-43, 0}, {-nan(0x7fffff), 1.40129846e-45, 4.68861307e+27}, {-1.99815893, 1.23599009e-39, 1.821688e-44}, {1.6531799e-38, -1.99818897, 1.23704526e-39}, {4.20389539e-45, 4.20389539e-45, -1.99816716}, {1.12103877e-43, 2.67128966e-39, 1.821688e-44}, {-1.99816418, -2.57096451e-29, -1.09079273e-19}, {1.40129846e-45, 7.1185962e-43, -2.5693067e-29}, {-1.0911722e-19, -1.09053321e-19, -1.9981699}, {-2.56945656e-29, -1.0911722e-19, 1.65317794e-38}, {0, -2.52589654e-29, 1.76593043e+22}, {1.21250829e+25, 4.61142402e+24, 6.5165856e-10}, {1.18360228e+22, 1.21250829e+25, 4.61142258e+24}, {7.33871099e+28, 1.96896877e-19, 160.400131}, {2.73717104e+20, 5.07610446e+31, 5.20515163e+34}, {2.05304225e-19, 4.12548502e-08, 9.12010198e+23}, {2.82310791e+23, 6.8608197e+22, 7.20957846e+22}, {1.09011949e+27, 1.48407451e-37, 0}, {-1.99818134, 4.76330642e-10, 1.48880406e-37}, {199972, 0, 7.24289137e-41}, {7.24289137e-41, 1.2778721e-39, 2.7550803e-39}, {4.48415509e-44, 1.40129846e-45, -1.99832618}, {3.22298647e-44, 1, -1.99807668}, {2.80259693e-45, 3.05409561e-16, -1.99807978}, {2.80259693e-45, 2.57161082e-24, 2.80259693e-45}, {8.68701352e-40, 3.3270451e-16, -1.99832737}, {-1.99931049, 8.7039412e-40, -1.99832344}, {4.62428493e-44, 1.1479437e-41, 4.20389539e-45}, {1.43313058e-37, 0, 2.66246708e-44}, {0, 0, 0}, {2.77294069e-17, 2.66246708e-44, 0}, {1.96181785e-44, -1.99820614, 2.77293705e-17}, {2.77293705e-17, 1.41495541e-37, 0}, {1.49919766e-38, -2.18938268e-19, 0}, {2.94272678e-44, -5.08318394e-29, 2.73454875e+20}, {1.39006546e+31, 7.68135024e+31, 5.46562136e-11}, {1.00489537e-38, -1.99850464, -1.99822474}, {1.12103877e-44, 1.43313058e-37, 9.80908925e-45}, {-1.99863911, 4.20389539e-45, 1.43313058e-37}, {7.40894524e-40, 1.17709071e-43, 8.40779079e-45}, {-5.51203557e-29, 0, 0}, {-1.99822474, -1.99852371, 1.79366203e-43}, {-1.99823403, -2.52770421e-29, 1.79366203e-43}, {2.7666796e-17, -1.9982214, 1.12103877e-44}, {7.52316385e-37, 1.79366203e-43, -1.99823785}, {4.20389539e-45, 2.80259693e-45, 7.34686772e-40}, {-1.9982214, -2.57614165e-29, 7.52316385e-37}, {1.68155816e-43, 0, -5.10122208e-29}, {1.79366203e-43, -5.10122208e-29, -1.99826145}, {-2.52770421e-29, 1.79366203e-43, 2.7666796e-17}, {-1.99823093, -2.52787183e-29, 7.52316385e-37}, {1.79366203e-43, -1.99824071, -1.99823856}, {-1.99823761, -1.99823785, -1.99823093}, {-2.57614165e-29, 7.52316385e-37, 1.68155816e-43}, {2.77293705e-17, -5.10122208e-29, 1.79366203e-43}, {-5.10122208e-29, -1.99827099, -5.10182333e-29}, {1.68155816e-43, 1.79366203e-43, 7.52316385e-37}, {5.60519386e-45, 0, 3.39791756e-39}, {0, 1.79366203e-43, 1.79366203e-43}...} meshVertices = {{0, 0, 0} <repeats 30000 times>} meshNormals = {{0, 0, 0} <repeats 30000 times>} meshTextureCoordinates = {{0, 0} <repeats 30000 times>} meshFaces = {{0, 0, 0} <repeats 50000 times>} skel = (class CalSkeleton *) 0x25bf5c60 _mesh = (class CalMesh *) 0x25bf6bd0 _coremesh = (struct CalCoreMesh *) 0x146cc2b0 _weaponmesh = (struct CalCoreMesh *) 0x0 _shieldmesh = (struct CalCoreMesh *) 0x0 reverse_scale = 77.75 #1 0x00016b9f in draw_actor (actor_id=0x1846f800, banner=0) at actors.c:637 x_pos = 77.5 y_pos = 67 z_pos = 0 x_rot = 0 y_rot = 0 z_rot = -135 texture_id = 305 healthbar_z = 1.07529068 #2 0x000176f5 in display_actors (banner=0, render_pass=2) at actors.c:774 cur_actor = (actor *) 0x1846f800 i = 1 has_ghosts = 0 #3 0x000be2d3 in display_shadows () at shadows.c:410 No locals. #4 0x000be9d5 in render_light_view () at shadows.c:565 cur_intersect_type = 0 #5 0x000609a0 in display_game_handler (win=0x3987400) at gamewin.c:997 main_count = 2 times_FPS_below_3 = 0 fps = {1, 100, 0, 0, 0} shadows_were_disabled = 0 eye_candy_was_disabled = 0 str = "\000\000\000\000\000\000\000\000\000\000?\000\000\000\000ÈðS\003¹äS\003\001\000\000\000\030èÿ¿IåS\003 w\002\000\000\000\000\000\000\000\000\000\000?D\0034èÿ¿\031\000\000\000\001\000\000\000 w\002\004\000\000\000 w\002ÕM²ÙV\003\f@²¢8èÿ¿j+V\003 w\002\000\000\000\000\001\000\000\000¦éV\003Щw\002@èÿ¿hèÿ¿\032N² w\002á\r\000\000ùøø=\000\000\000\000¾¾¾> >èÿ¿±t² w\002\000\000?\000\000?\000\000?" i = 3 any_reflection = 2 mouse_rate = 1 #6 0x00050217 in draw_window (win=0x3987400) at elwindows.c:1140 ret_val = 0 W = (widget_list *) 0x0 #7 0x00050ad6 in display_window (win_id=0) at elwindows.c:1309 No locals. #8 0x0004cdcc in display_windows (level=1) at elwindows.c:76 id = -1 next_id = -9999 i = 0 #9 0x000441b2 in draw_scene () at draw_scene.c:116 -DELC -DOSX -DAFK_FIX -DALPHA_ACTORS -DATI_9200_FIX -DAUTO_UPDATE -DCLICKABLE_CONTINENT_MAP -DCLUSTER_INSIDES -DCOUNTERS -DCALCULATOR -DCUSTOM_LOOK -DCUSTOM_UPDATE -DCXX_MISC -DEYE_CANDY -DFONTS_FIX -DFUZZY_PATHS -DIDLE_FIX -DMASKING -DMINES -DMINIMAP -DNEW_ACTOR_ANIMATION -DNEW_ACTOR_SCALE -DNEW_FILE_IO -DNEW_SOUND -DNEW_TEX -DNOTEPAD -DOGG_VORBIS -DOPTIONS_I18N -DPNG_SCREENSHOT -DPOPUP -DSFX -DSIMPLE_LOD -DUSE_INLINE -DUSE_SEND_VIDEO_INFO -DZLIB -DUSE_SHADER -DNEW_LIGHTING -DMISSILES -DSDL_REINIT -DUSE_INLINE -DGL_VERSION_2_1 -DECDEBUGWIN -D_REENTRANT -gfull -Wall -DOPENGL_TRACE Edited January 16, 2008 by Florian Share this post Link to post Share on other sites
Schmurk Report post Posted January 16, 2008 (edited) gamewin.c: In function 'click_game_handler':gamewin.c:830: error: 'struct <anonymous>' has no member named 'range_xyz_target' gamewin.c:831: error: 'struct <anonymous>' has no member named 'range_xyz_target' make: *** [gamewin.o] Error 1 this is in a block guarded with MISSILES and DEBUG Fixed. EDIT: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x00000184 0x0002dcb9 in cal_render_actor (act=0x1846f800) at cal.c:508 508 if (_coremesh == CalCoreModel_GetCoreMesh(actors_defs[act->actor_type].coremodel,actors_defs[act->actor_type].weapon[act->cur_weapon].mesh_index)) This code is related to NEW_LIGHTING feature and is disabled by default. Anyone is working on this actually? If not, no need to test it... Edited January 16, 2008 by Schmurk Share this post Link to post Share on other sites
Entropy Report post Posted January 16, 2008 The new lights is not complete enough for this next client, so don't use it for now. Share this post Link to post Share on other sites
bluap Report post Posted January 16, 2008 Building with USE_SHADER defined I get a couple of compile warnings: gcc-4.2 -march=i686 -Wall -Wdeclaration-after-statement -O0 -ggdb -pipe -DLINUX -DELC -DAFK_FIX -DALPHA_ACTORS -DATI_9200_FIX -DAUTO_UPDATE -DCLICKABLE_CONTINENT_MAP -DCLUSTER_INSIDES -DCOUNTERS -DCALCULATOR -DCUSTOM_LOOK -DCUSTOM_UPDATE -DCXX_MISC -DEYE_CANDY -DFONTS_FIX -DFUZZY_PATHS -DIDLE_FIX -DMASKING -DMINES -DMINIMAP -DMISSILES -DNEW_ACTOR_ANIMATION -DNEW_ACTOR_SCALE -DNEW_FILE_IO -DNEW_SOUND -DNEW_TEX -DNOTEPAD -DOGG_VORBIS -DOPTIONS_I18N -DPNG_SCREENSHOT -DPOPUP -DSFX -DSIMPLE_LOD -DUSE_INLINE -DUSE_SEND_VIDEO_INFO -DUSE_SHADER -DZLIB -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -fno-strict-aliasing -c -o elconfig.o elconfig.c elconfig.c: In function ‘write_var’: elconfig.c:1780: warning: enumeration value ‘OPT_BOOL_INI_RO’ not handled in switch gcc-4.2 -march=i686 -Wall -Wdeclaration-after-statement -O0 -ggdb -pipe -DLINUX -DELC -DAFK_FIX -DALPHA_ACTORS -DATI_9200_FIX -DAUTO_UPDATE -DCLICKABLE_CONTINENT_MAP -DCLUSTER_INSIDES -DCOUNTERS -DCALCULATOR -DCUSTOM_LOOK -DCUSTOM_UPDATE -DCXX_MISC -DEYE_CANDY -DFONTS_FIX -DFUZZY_PATHS -DIDLE_FIX -DMASKING -DMINES -DMINIMAP -DMISSILES -DNEW_ACTOR_ANIMATION -DNEW_ACTOR_SCALE -DNEW_FILE_IO -DNEW_SOUND -DNEW_TEX -DNOTEPAD -DOGG_VORBIS -DOPTIONS_I18N -DPNG_SCREENSHOT -DPOPUP -DSFX -DSIMPLE_LOD -DUSE_INLINE -DUSE_SEND_VIDEO_INFO -DUSE_SHADER -DZLIB -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -fno-strict-aliasing -c -o shader/noise.o shader/noise.c shader/noise.c: In function ‘build_3d_noise_texture’: shader/noise.c:260: warning: implicit declaration of function ‘glTexImage3D’ Share this post Link to post Share on other sites
larrystorch Report post Posted January 17, 2008 Just did a cvs up and here is the error at the very end when it's trying to creating el.x86.linux.bin: actor_init.o(.text+0xff0): In function `cal_get_maxz': /usr/local/games/elc/actor_init.cpp:591: multiple definition of `cal_get_maxz' new_actors.o(.text+0x310):/usr/local/games/elc/new_actors.c:202: first defined here /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../i486-slackware-linux/bin/ld: Warning: size of symbol `cal_get_maxz' changed from 53 in new_actors.o to 69 in actor_init.o collect2: ld returned 1 exit status make: *** [el.x86.linux.bin] Error 1 Share this post Link to post Share on other sites
Florian Report post Posted January 17, 2008 This code is related to NEW_LIGHTING feature and is disabled by default. Anyone is working on this actually? If not, no need to test it... Karen was working on it. I don't know if she stopped because Xaphier is working on something similar. Share this post Link to post Share on other sites
ago Report post Posted January 17, 2008 Building with USE_SHADER defined I get a couple of compile warnings: shader/noise.o shader/noise.c shader/noise.c: In function ‘build_3d_noise_texture’: shader/noise.c:260: warning: implicit declaration of function ‘glTexImage3D’ See post #424 in this thread Share this post Link to post Share on other sites