Jump to content

Home

Problem - enhanced Linux Server


Mantis01
 Share

Recommended Posts

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

Link to comment
Share on other sites

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 ?

Link to comment
Share on other sites

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. :)

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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).

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

 Share

×
×
  • Create New...