PDA

View Full Version : Problem - enhanced Linux Server


Mantis01
12-12-2006, 01:46 PM
I'm linux server user.
need help :)
I compiled souce in rev.303 from SVN, but error.

First I compiled in Windows(VC++2005 Express) dlls (cgamex86.dll, jampgamex86.dll, uix86.dll), and archived from "botfiles" to "ui" directory(named to stuff, yes same official binary).
I guess that those work succeeded.

In addition, compiled Linux(gcc-3.4.6) server binary(jampgamei386.so).
# cd source/game
# make

Result, no error. I got jampgamei386.so.
Finally, start dedicated server......but error

------ Server Initialization ------
Server: mp/ffa1
----- FS_Startup -----
Current search path:
/jampd/ojpenhanced/ojp_enhancedstuff_009s-rev303.pk3 (536 files)
/jampd/ojpenhanced/ojp_enhanceddlls_009s-rev303.pk3 (3 files)
/jampd/ojpenhanced
/jampd/linuxjampded/ojpenhanced
/jampd/base/assets2.pk3 (62 files)
/jampd/base/assets1.pk3 (8320 files)
/jampd/base/assets0.pk3 (15346 files)
/jampd/base
/jampd/linuxjampded/base

----------------------
48534 files in pk3 files
Loading dll file jampgame.
Sys_LoadDll(/jampd/ojpenhanced/jampgamei386.so)...
Sys_LoadDll(jampgame) found **vmMain** at 0x15d27a0
Sys_LoadDll(jampgame) succeeded!
*******************
ERROR: Vehicle extensions (*.veh) somehow exceeded precalculated size! (should never happen)
********************
^1Error: BotLibShutdown: bot library used before being setup
DROPPED
Hitch warning: 608 msec frame time

razorace
12-12-2006, 01:56 PM
hmmm, interesting, when did you compile this?

ensiform
12-12-2006, 02:00 PM
Too many vehicles?

Mantis01
12-12-2006, 02:02 PM
Thanks speed res :)
I did it about 60 minutes ago.

razorace
12-12-2006, 03:05 PM
Too many vehicles?
It looks like the problem is due to conflicting answers between our calculated message length and the actual lengths. It's probably that extra +1 in the code that I saw recently added. I wonder why this wasn't a problem on the meatgrinder?

Mantis01
12-13-2006, 01:57 AM
It looks like the problem is due to conflicting answers between our calculated message length and the actual lengths. It's probably that extra +1 in the code that I saw recently added. I wonder why this wasn't a problem on the meatgrinder?
I'll retry them when you fixed the code.:)
Shall I submit a new trac ticket ?

razorace
12-13-2006, 02:05 AM
I talked to Robo and he said that he thinks it's more complicated than what I figured. As such, we need more information before we can fix it. Unfortunately, we haven't been able to replicate the bug.

Your report seems to indicate that you're not running any additional pk3s. Is that actually true?

Trac tickets are normally the best solution. Including your console data would be great as well. :)

Mantis01
12-13-2006, 03:01 AM
I talked to Robo and he said that he thinks it's more complicated than what I figured. As such, we need more information before we can fix it. Unfortunately, we haven't been able to replicate the bug.

Your report seems to indicate that you're not running any additional pk3s. Is that actually true?

Trac tickets are normally the best solution. Including your console data would be great as well. :)

Thanks for your kindness.
Submitted trac tiket. :)

Iím not using any other pk3s as shown in the output.
And I'm ready to send you e-mail with my compiled data if you need.

I'm ready to operate the OJP and Web server site for a long term.
They must work on Linux for stability and technological accumulation.

razorace
12-13-2006, 04:07 AM
I agree that we need to make sure that our Linux compiles work properly. I've been running it on the Meatgrinder for the last week or so. It seems to work, but it also seems to have its own set of bugs. :|

However, I simply haven't seen the error you've described yet. Maybe try recompiling the whole thing from scratch and see if it works then?

Mantis01
12-13-2006, 04:42 AM
I agree that we need to make sure that our Linux compiles work properly. I've been running it on the Meatgrinder for the last week or so. It seems to work, but it also seems to have its own set of bugs. :|

However, I simply haven't seen the error you've described yet. Maybe try recompiling the whole thing from scratch and see if it works then?

What your server's revision number is ?
I'll try compiling in it.

I tried from scratch, and tried my jampgamei386.so(in rev.303 and 305 source) with official 0.0.9r, but same error.
I guess that the cause of the error is .so.:<

My source/game/Makefile is default (CFLAGS = -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3).

razorace
12-13-2006, 05:31 AM
So, basically, everything seems to be "straight from the kit". Hmmm, let me think about the problem some more. I'll consult with Robo and we'll see what we can come up with. :)

Mantis01
12-13-2006, 10:44 AM
To specify the code of error cause, I tested two or more compiling.


In rev.250 and 290,

$ make
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DMISSIONPACK -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_AI_Civilian.c -o NPC_AI_Civilian.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DMISSIONPACK -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_autosave.c -o g_autosave.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DMISSIONPACK -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_AI_SaberDroid.c -o NPC_AI_SaberDroid.o
make: *** No rule to make target `bg_weaponsdat.o', needed by `jampgamei386.so'. Stop.


In rev.291-297,

$ make
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_crash.c -o g_crash.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_saberbeh.c -o g_saberbeh.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_AI_Civilian.c -o NPC_AI_Civilian.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_autosave.c -o g_autosave.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_AI_SaberDroid.c -o NPC_AI_SaberDroid.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_AI_RocketTrooper.c -o NPC_AI_RocketTrooper.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c ai_aotc.c -o ai_aotc.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c ai_hybrid.c -o ai_hybrid.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_dynmusic.c -o g_dynmusic.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_roff.c -o g_roff.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c AnimalNPC.c -o AnimalNPC.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c FighterNPC.c -o FighterNPC.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC.c -o NPC.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_AI_Atst.c -o NPC_AI_Atst.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_AI_Default.c -o NPC_AI_Default.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_AI_Droid.c -o NPC_AI_Droid.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_AI_GalakMech.c -o NPC_AI_GalakMech.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_AI_Grenadier.c -o NPC_AI_Grenadier.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_AI_Howler.c -o NPC_AI_Howler.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_AI_ImperialProbe.c -o NPC_AI_ImperialProbe.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_AI_Interrogator.c -o NPC_AI_Interrogator.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_AI_Jedi.c -o NPC_AI_Jedi.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_AI_Mark1.c -o NPC_AI_Mark1.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_AI_Mark2.c -o NPC_AI_Mark2.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_AI_MineMonster.c -o NPC_AI_MineMonster.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_AI_Rancor.c -o NPC_AI_Rancor.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_AI_Remote.c -o NPC_AI_Remote.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_AI_Seeker.c -o NPC_AI_Seeker.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_AI_Sentry.c -o NPC_AI_Sentry.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_AI_Sniper.c -o NPC_AI_Sniper.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_AI_Stormtrooper.c -o NPC_AI_Stormtrooper.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_AI_Utils.c -o NPC_AI_Utils.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_AI_Wampa.c -o NPC_AI_Wampa.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_behavior.c -o NPC_behavior.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_combat.c -o NPC_combat.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_goal.c -o NPC_goal.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_misc.c -o NPC_misc.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_move.c -o NPC_move.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_reactions.c -o NPC_reactions.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_senses.c -o NPC_senses.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_sounds.c -o NPC_sounds.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_spawn.c -o NPC_spawn.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_stats.c -o NPC_stats.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_utils.c -o NPC_utils.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c SpeederNPC.c -o SpeederNPC.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c WalkerNPC.c -o WalkerNPC.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c ai_main.c -o ai_main.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c ai_util.c -o ai_util.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c ai_wpnav.c -o ai_wpnav.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c bg_g2_utils.c -o bg_g2_utils.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c bg_misc.c -o bg_misc.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c bg_panimate.c -o bg_panimate.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c bg_pmove.c -o bg_pmove.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c bg_saber.c -o bg_saber.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c bg_saberLoad.c -o bg_saberLoad.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c bg_saga.c -o bg_saga.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c bg_slidemove.c -o bg_slidemove.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c bg_vehicleLoad.c -o bg_vehicleLoad.o
bg_vehicleLoad.c: In function `BG_ClearVehicleParseParms':
bg_vehicleLoad.c:127: warning: passing arg 1 of `trap_TrueFree' from incompatible pointer type
bg_vehicleLoad.c: In function `BG_VehicleLoadParms':
bg_vehicleLoad.c:1648: warning: passing arg 1 of `trap_TrueMalloc' from incompatible pointer type
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c bg_weapons.c -o bg_weapons.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_ICARUScb.c -o g_ICARUScb.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_active.c -o g_active.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_arenas.c -o g_arenas.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_bot.c -o g_bot.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_client.c -o g_client.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_cmds.c -o g_cmds.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_combat.c -o g_combat.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_exphysics.c -o g_exphysics.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_items.c -o g_items.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_log.c -o g_log.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_main.c -o g_main.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_mem.c -o g_mem.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_misc.c -o g_misc.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_missile.c -o g_missile.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_mover.c -o g_mover.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_nav.c -o g_nav.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_navnew.c -o g_navnew.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_object.c -o g_object.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_saga.c -o g_saga.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_session.c -o g_session.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_spawn.c -o g_spawn.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_strap.c -o g_strap.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_svcmds.c -o g_svcmds.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_syscalls.c -o g_syscalls.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_target.c -o g_target.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_team.c -o g_team.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_timer.c -o g_timer.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_trigger.c -o g_trigger.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_turret.c -o g_turret.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_turret_G2.c -o g_turret_G2.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_utils.c -o g_utils.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_vehicleTurret.c -o g_vehicleTurret.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_vehicles.c -o g_vehicles.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_weapon.c -o g_weapon.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c q_math.c -o q_math.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c q_shared.c -o q_shared.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c tri_coll_test.c -o tri_coll_test.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c w_force.c -o w_force.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c w_saber.c -o w_saber.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c aotctc_holocron.c -o aotctc_holocron.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_breakable.c -o g_breakable.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c ai_tab.c -o ai_tab.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c g_camera.c -o g_camera.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_AI_AssassinDroid.c -o NPC_AI_AssassinDroid.o
gcc -fPIC -DFINAL_BUILD -DNDEBUG -DQAGAME -D_JK2 -D__linux__ -march=i586 -O3 -c NPC_AI_Sand_creature.c -o NPC_AI_Sand_creature.o
gcc -shared -o jampgamei386.so g_crash.o g_saberbeh.o NPC_AI_Civilian.o g_autosave.o NPC_AI_SaberDroid.o NPC_AI_RocketTrooper.o ai_aotc.o ai_hybrid.o g_dynmusic.o g_roff.o AnimalNPC.o FighterNPC.o NPC.o NPC_AI_Atst.o NPC_AI_Default.o NPC_AI_Droid.o NPC_AI_GalakMech.o NPC_AI_Grenadier.o NPC_AI_Howler.o NPC_AI_ImperialProbe.o NPC_AI_Interrogator.o NPC_AI_Jedi.o NPC_AI_Mark1.o NPC_AI_Mark2.o NPC_AI_MineMonster.o NPC_AI_Rancor.o NPC_AI_Remote.o NPC_AI_Seeker.o NPC_AI_Sentry.o NPC_AI_Sniper.o NPC_AI_Stormtrooper.o NPC_AI_Utils.o NPC_AI_Wampa.o NPC_behavior.o NPC_combat.o NPC_goal.o NPC_misc.o NPC_move.o NPC_reactions.o NPC_senses.o NPC_sounds.o NPC_spawn.o NPC_stats.o NPC_utils.o SpeederNPC.o WalkerNPC.o ai_main.o ai_util.o ai_wpnav.o bg_g2_utils.o bg_misc.o bg_panimate.o bg_pmove.o bg_saber.o bg_saberLoad.o bg_saga.o bg_slidemove.o bg_vehicleLoad.o bg_weapons.o g_ICARUScb.o g_active.o g_arenas.o g_bot.o g_client.o g_cmds.o g_combat.o g_exphysics.o g_items.o g_log.o g_main.o g_mem.o g_misc.o g_missile.o g_mover.o g_nav.o g_navnew.o g_object.o g_saga.o g_session.o g_spawn.o g_strap.o g_svcmds.o g_syscalls.o g_target.o g_team.o g_timer.o g_trigger.o g_turret.o g_turret_G2.o g_utils.o g_vehicleTurret.o g_vehicles.o g_weapon.o q_math.o q_shared.o tri_coll_test.o w_force.o w_saber.o aotctc_holocron.o g_breakable.o ai_tab.o g_camera.o NPC_AI_AssassinDroid.o NPC_AI_Sand_creature.o -lm


In rev.298-303,
(No warning)

Conclusion:
-rev.250&290: can't compile
-rev:291-297: can compile with warning, but can't work (same as rev.303)
-rev:298-303: can compile without warning, but can't work (same as rev.303)

The Linux compilation looks unstable in a comparatively recent change point.

razorace
12-13-2006, 02:06 PM
That's because the makefile wasn't valid until recently. Noone had done a linux compile in a long time and I tuned it up for use on the MeatGrinder.

ensiform
12-13-2006, 06:40 PM
Make sure one is running latest SVN build then?

razorace
12-13-2006, 06:44 PM
It sounds like Robo found the problem. We're in the process of commiting the fix now. I'll post when its up.

robo85045
12-13-2006, 06:48 PM
Try the compile again using the latest svn. The warnings for the type cast on the memory trap functions was fixed.

Mantis01
12-13-2006, 10:39 PM
Try the compile again using the latest svn. The warnings for the type cast on the memory trap functions was fixed.

Thanks quick correspondence.:)
I tried in latest rev.312, but same result. :(

razorace
12-13-2006, 11:20 PM
Any compiler errors? What was the new error lmessage log?

Mantis01
12-14-2006, 12:28 AM
Any compiler errors? What was the new error lmessage log?

Same as my original post.
Can compile successfully, but failed starting dedicated server.

ERROR: Vehicle extensions (*.veh) somehow exceeded precalculated size! (should never happen)

ensiform
12-14-2006, 03:00 PM
I honestly don't think this is going to work out. Might want to test it with Final build and not in debug with the extra mem padding, because I added everything to the latest of my mod and it crashes when run via final and no memory padding, but when i run debug it plays just fine.

razorace
12-14-2006, 05:41 PM
I beleive he is running with the Final build flags.

Mantis01
12-14-2006, 05:57 PM
I honestly don't think this is going to work out. Might want to test it with Final build and not in debug with the extra mem padding, because I added everything to the latest of my mod and it crashes when run via final and no memory padding, but when i run debug it plays just fine.

I compiled all of dlls successfully as shown in my original post.
Following my original walkthrough that I referred to this forum. :)

-1), Added Executable, Include, Library path to 2003SDKR2.
-2), Started VC++2005Express, selected build flags to "Final".
-3), Appended following C++ options,
/D _CRT_SECURE_NO_DEPRECATE
/D _CRT_NONSTDC_NO_DEPRECATE
/D _USE_32BIT_TIME_T /wd4996 /wd4005"
-4), Builded successfully, no error.

razorace
12-14-2006, 06:14 PM
Yeah, I'm not having any issues compiling on my side either (with VS2005).

razorace
12-14-2006, 07:59 PM
Ok, Mantis, give it another shot with compiling. Apprenently, Robo had to correct a problem in the last attempted fix.

ensiform
12-14-2006, 09:27 PM
Has robo even tested the vehicles spawning because afaict they won't spawn from the npc cmd or if the map has them.

Mantis01
12-14-2006, 10:49 PM
Ok, Mantis, give it another shot with compiling. Apprenently, Robo had to correct a problem in the last attempted fix.

Yeah, can start runnning server.:)

I compiled all of sources in rev.314 succeccfully.
And running......

################################
Opening IP socket: localhost:29070
Hostname: test
Alias: localhost
IP: 127.0.0.1
execing server.cfg
sv_maxclients will be changed upon restarting.
------ Server Initialization ------
Server: mp/ffa1
----- FS_Startup -----
Current search path:
/jampd/ojpenhanced/ojp_enhancedstuff_009s_314.pk3 (536 files)
/jampd/ojpenhanced/ojp_enhanceddlls_009s_314.pk3 (3 files)
/jampd/ojpenhanced
/jampd/linuxjampded/ojpenhanced
/jampd/base/assets2.pk3 (62 files)
/jampd/base/assets1.pk3 (8320 files)
/jampd/base/assets0.pk3 (15346 files)
/jampd/base
/jampd/linuxjampded/base

----------------------
48534 files in pk3 files
Loading dll file jampgame.
Sys_LoadDll(/jampd/ojpenhanced/jampgamei386.so)...
Sys_LoadDll(jampgame) found **vmMain** at 0x1ed4750
Sys_LoadDll(jampgame) succeeded!
error reading file
error reading file
error reading file
error reading file
error reading file
error reading file
error reading file
error reading file
error reading file
------- Game Initialization -------
gamename: OJP Enhanced v0.0.9r
gamedate: Dec 15 2006
------------------------------------------------------------
InitGame: \version\JAmp: v1.0.1.1 linux-i386 Nov 10 2003\dmflags\0\fraglimit\3\timelimit\20\capturelim it\5\g_maxHolocronCarry\3\g_privateDuel\1\g_saberL ocking\1\g_maxForceRank\5\due
l_fraglimit\1\g_forceBasedTeams\0\g_duelWeaponDisa ble\524275\g_gametype\0\g_needpass\0\protocol\26\m apname\mp/ffa1\sv_privateClients\0\sv_hostname\^2www.mantis. tk ^3OJP Enhanced\sv_
maxclients\16\sv_maxRate\0\sv_minPing\0\sv_maxPing \500\sv_floodProtect\1\sv_fps\60\sv_allowDownload\ 1\Administrator\Mantis\Email\man@mantis.tk\Locatio n\Japan\URL\http://www.mantis.t
k/\g_debugmelee\2\g_saberdamagescale\2\g_weapondisab le\0\g_stepSlideFix\1\g_noSpecMove\0\gamename\OJP Enhanced v0.0.9r\g_maxGameClients\0\g_jediVmerc\0\g_allowNP C\1\g_saberanimspeed
\1\g_forceRegenTime\500\g_dodgeRegenTime\1000\g_fo rcePowerDisable\0\g_siegeRespawn\20\g_saberWallDam ageScale\0.4\g_siegeTeamSwitch\1\bg_fighterAltCont rol\0\g_siegeTeam1\none\g_siege
Team2\none\g_showDuelHealths\0\g_minHumans\2\g_max Bots\1\g_allowBotLimit\0\ojp_skipcutscenes\0\ojp_a llowBodyDodInfo string length exceeded
Couldn't write jampserver.cfg.
Hitch warning: 694 msec frame time
ClientConnect: 0
****Spawning Bot ProfessorLeadridden^7*****
broadcast: print "ProfessorLeadridden^7 @@@PLCONNECT\n"
broadcast: print "ProfessorLeadridden^7 @@@PLENTER\n"
ClientBegin: 0
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
ClientConnect: 1
****Spawning Bot ^1Da^4Stabber^7*****
broadcast: print "^1Da^4Stabber^7 @@@PLCONNECT\n"
broadcast: print "^1Da^4Stabber^7 @@@PLENTER\n"
ClientBegin: 1
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Bot waypoint 188 can't get to point 84 with bad waypoint -2 set.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.

################################

Result:
It looks working because BOT joined.
But there are 3 errors.

I'm in office, so can not join my client.
I'll try it later.

razorace
12-15-2006, 12:04 AM
Actually, you gotta compile r315. That's the one with the fix I was referring to. :)

Mantis01
12-15-2006, 08:20 PM
Actually, you gotta compile r315. That's the one with the fix I was referring to. :)

Okay razor, I tried in rev.318.
Compiled successfully, and start runnning......

###########################
------ Server Initialization ------
Server: mp/ffa3
----- FS_Startup -----
Current search path:
/jampd/ojpenhanced/ojp_enhancedstuff_009s-rev318.pk3 (536 files)
/jampd/ojpenhanced/ojp_enhanceddlls_009s-rev318.pk3 (3 files)
/jampd/ojpenhanced
/jampd/linuxjampded/ojpenhanced
/jampd/base/assets2.pk3 (62 files)
/jampd/base/assets1.pk3 (8320 files)
/jampd/base/assets0.pk3 (15346 files)
/jampd/base
/jampd/linuxjampded/base

----------------------
48534 files in pk3 files
Loading dll file jampgame.
Sys_LoadDll(/jampd/ojpenhanced/jampgamei386.so)...
Sys_LoadDll(jampgame) found **vmMain** at 0x2da5740
Sys_LoadDll(jampgame) succeeded!
------- Game Initialization -------
gamename: OJP Enhanced v0.0.9r
gamedate: Dec 16 2006
------------------------------------------------------------
InitGame: \ojp_allowBodyDodge\1\ojp_skipcutscenes\0\g_allowB otLimit\0\g_maxBots\1\g_minHumans\2\g_siegeTeam2\n one\g_siegeTeam1\none\g_siegeTeamSwitch\1\g_siegeR espawn\20\g_forcePowerDisable\0\g_dodgeRegenTime\1 0
00\g_forceRegenTime\500\g_saberanimspeed\1\g_saber DamageScale\1\g_jediVmerc\0\g_maxGameClients\0\sv_ maxclients\26\g_forceBasedTeams\0\g_saberLocking\1 \dmflags\0\g_weapondisable\0\sv_allowDownload\1\sv _fps\50\sv_
floodProtect\1\sv_maxPing\500\sv_minPing\0\sv_maxR ate\0\sv_hostname\^1Meatgrinder: OJP Enhanced\g_duelWeaponDisable\0\duel_fraglimit\20\g _maxForceRank\5\g_privateDuel\1\capturelimit\8\tim elimit\30\fraglimit\30\g
_debugmelee\2\version\JAmp: v1.0.1.1 linux-i386 Nov 10 2003\g_maxHolocronCarry\3\g_gametype\0\g_needpass\ 0\protocol\26\mapname\mp/ffa3\sv_privateClients\0\g_stepSlideFix\1\g_noSpec Move\0\gamename\OJP Enhanced v0
.0.9r\g_allowNPC\1\g_saberWallDamageScale\0.4\bg_f ighterAltControl\0\g_showDuelHealths\0
Hitch warning: 985 msec frame time
ClientConnect: 0
****Spawning Bot Medic^5Attacker^7*****
broadcast: print "Medic^5Attacker^7 @@@PLCONNECT\n"
broadcast: print "Medic^5Attacker^7 @@@PLENTER\n"
ClientBegin: 0
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.
(repeated)
###########################

It seems to fix 2 of 3 errors in rev.314.
Any idea?:)

ensiform
12-15-2006, 09:27 PM
Crap! The last entry scanner in RemoveFirstOpenList() totally failed.

Isn't really a crash error, just means you have some bad waypoints or they weren't being read properly for you. And a little off-topic from vehicles causing problems. :)