[Linux Lobby] AFLobby Beta 3.9.7
Moderator: Moderators
compiling unitsync.so on AMD64
When I use scons configure in trunk/ directory it gives me this errors:
scons: Reading SConscript files ...
I think it cannot make the list of required files, but I dont know why. I am using scons for my first time, so it is maybe some stupid mistake :)
here is config.log:
scons: Reading SConscript files ...
Code: Select all
Now configuring. If something fails, consult `config.log' for details.
Detected platform : linux
Checking gcc version... 4.1.1
profiling NOT enabled, debugging NOT enabled, level 2 optimizing enabled
Configuring spring
Checking for Freetype2...
Checking for freetype-config... /usr/bin/freetype-config
Checking for Freetype >= 2.0.0... 2.1.10
Checking for SDL...
Checking for sdl-config... /usr/bin/sdl-config
Checking for LibSDL >= 1.2.0... 1.2.11
Checking for OpenAL...
Checking for openal-config... /usr/bin/openal-config
Checking for Python 2.5...
Guessing Python include path... /usr/include/python2.5
Checking for Python 2.4...
Guessing Python include path... /usr/include/python2.4
Checking for Java... /usr/lib/jvm/sun-jdk-1.6/include
TypeError: can only concatenate list (not "str") to list:
File "SConstruct", line 33:
env = Environment(tools = ['default', 'rts'], toolpath = ['.', 'rts/build/scons'])
File "/usr/lib/scons/SCons/Environment.py", line 266:
apply_tools(self, tools, toolpath)
File "/usr/lib/scons/SCons/Environment.py", line 122:
env.Tool(tool, toolpath)
File "/usr/lib/scons/SCons/Environment.py", line 906:
return SCons.Tool.Tool(tool, map(self.subst, toolpath))(self)
File "/usr/lib/scons/SCons/Tool/__init__.py", line 53:
apply(self.generate, ( env, ) + args, kw)
File "rts/build/scons/rts.py", line 399:
config.configure(env, conf_dir=os.path.join(env['builddir'], 'sconf_temp'))
File "rts/build/scons/config.py", line 308:
check_java(env, conf)
File "rts/build/scons/config.py", line 205:
env.AppendUnique(CPPPATH = possible_dirs[-1])
File "/usr/lib/scons/SCons/Environment.py", line 616:
self._dict[key] = dk + val
here is config.log:
Code: Select all
file /usr/lib/scons/SCons/Environment.py,line 1019:
Configure( confdir = build/sconf_temp )
/usr/bin/freetype-config --ftversion
2.1.10
I compiled a 64bit version of unitsync now using the command
But now aflobby gives me - shortly after loading my new libjavaunitsync.so - another error in the console:
Any ideas?
(I am trying for days now to at least play that game ONE TIME...
)
in the 'trunk' folder.cons unitsync
But now aflobby gives me - shortly after loading my new libjavaunitsync.so - another error in the console:
You can get my libjavaunitsync.so here: http://www.uploadpower.com/en/download.php?id=7F1893951AFLobby beta1 Release candidate
JSync Setup
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00002aaabdec4f29, pid=4692, tid=1096018256
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.6.0-b105 mixed mode)
# Problematic frame:
# C [libjpeg.so.62+0x9f29]
#
# An error report file with more information is saved as hs_err_pid4692.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
aflobby.sh: line 2: 4692 Aborted java -Djava.library.path=. -ja
r aflobby.jar
Any ideas?
(I am trying for days now to at least play that game ONE TIME...

Linux support still needs to be properly sorted; everything should be up and running perfectly next version (repositories!) Sorry about the problems, but it is definitely worth it !:Prabe wrote:I compiled a 64bit version of unitsync now using the commandin the 'trunk' folder.cons unitsync
But now aflobby gives me - shortly after loading my new libjavaunitsync.so - another error in the console:You can get my libjavaunitsync.so here: http://www.uploadpower.com/en/download.php?id=7F1893951AFLobby beta1 Release candidate
JSync Setup
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00002aaabdec4f29, pid=4692, tid=1096018256
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.6.0-b105 mixed mode)
# Problematic frame:
# C [libjpeg.so.62+0x9f29]
#
# An error report file with more information is saved as hs_err_pid4692.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
aflobby.sh: line 2: 4692 Aborted java -Djava.library.path=. -ja
r aflobby.jar
Any ideas?
(I am trying for days now to at least play that game ONE TIME...)
In the mean time; are you sure you're using the latest SVN? -> "svn checkout https://taspring.clan-sy.com/svn/spring/trunk" & did you run scons configure beforehand right?
You know around when that shall be released?Linux support still needs to be properly sorted; everything should be up and running perfectly next version (repositories!)
My version is the latest one from this URL. Version 0.74b3+.In the mean time; are you sure you're using the latest SVN? -> "svn checkout https://taspring.clan-sy.com/svn/spring/trunk" & did you run scons configure beforehand right?
http://tarendai.googlepages.com/AFLB1_2 ... build1.zip
-Fix: some mix ups of status and battlestatus fixed
-Fix: Architectural changes for status handling fix some issues
-Fix: Null pointer issue with saving usernames.
see above posts for rest of changelog
-Fix: some mix ups of status and battlestatus fixed
-Fix: Architectural changes for status handling fix some issues
-Fix: Null pointer issue with saving usernames.
see above posts for rest of changelog
It's definitely a spring issue then. Sorry, don't know how to help; if it doesn't affect gameplay then i recommend just ignoring it.rabe wrote:Definitely yes. I get that error with the ta:spring test scripts, too.Did you extract package 1 into "~/.aflobby"?
P.S it's no longer called taspring; just spring nowadays.
- BrainDamage
- Lobby Developer
- Posts: 1164
- Joined: 25 Sep 2006, 13:56
sounds like your content package is borkedrabe wrote: can't ignore it, because the game does not start after the message.
And yes, it is a spring issue - driving me mad slowly.
beware that if you try to run mods based on total annihilation you'll need the non free content pack
check in your ~/.spring/base/ if you do have otacontent fot ta-based mods and springcontent for GPL mods
I simply compiled my unitsync.so with
But minimap functionality is not available.
When I add a new map to /usr/share/games/spring/maps and try to join the lobby with aflobby it crashes. After restarting aflobby, it does not crash again but minimap functionality is not available.
Console Log can be found here: http://www.pastebin.ca/590229
The error report(hs_err_pid67) here: http://www.pastebin.ca/590228
in my trunk folder, renamed it to "libjavaunitsync.so" and put it in /usr/share/games/spring.scons unitsync
But minimap functionality is not available.
When I add a new map to /usr/share/games/spring/maps and try to join the lobby with aflobby it crashes. After restarting aflobby, it does not crash again but minimap functionality is not available.
Console Log can be found here: http://www.pastebin.ca/590229
The error report(hs_err_pid67) here: http://www.pastebin.ca/590228
Last edited by rabe on 26 Jun 2007, 15:12, edited 4 times in total.
to me this looks like a buggy java-vm under a 64bit-os..
maybe the java-vm is mis-linked to the 32bit-version of the libjpeg ?
you can try to make sure that the libjpeg is definitely 64bit.
if this doesn't help you may ask sun directy. could be an error in the vm.
edit: oh i just saw that '/opt/sun-jdk-1.6.0/jre/lib/amd64/libjpeg.so' is linked, so i suppose it is the 64bit-version.
maybe the java-vm is mis-linked to the 32bit-version of the libjpeg ?
you can try to make sure that the libjpeg is definitely 64bit.
if this doesn't help you may ask sun directy. could be an error in the vm.
edit: oh i just saw that '/opt/sun-jdk-1.6.0/jre/lib/amd64/libjpeg.so' is linked, so i suppose it is the 64bit-version.
Argh! has been kind enough to compile his 64bit unitsync: http://files.argh.ch/unitsync.so -> try using this one.
rabe; you seemed to have edited your post since last time i read it (you were talking about comms etc.. ); are you having problems ingame? i.e. if you do get into does it play fine?
rabe; you seemed to have edited your post since last time i read it (you were talking about comms etc.. ); are you having problems ingame? i.e. if you do get into does it play fine?
That did not change anything but forcing me to make new links to "libboost_regex.so" and "libboost-thread-mt.so.1.33.1"(I have boost version 1.34.0). Crashes, too.Argh! has been kind enough to compile his 64bit unitsync: http://files.argh.ch/unitsync.so -> try using this one.
I do have problems:rabe; you seemed to have edited your post since last time i read it (you were talking about comms etc.. ); are you having problems ingame? i.e. if you do get into does it play fine?
Whenever I join a game someone else hosted it always leads to freeze. Games I host myself do not work as well. With several non-standards maps it just won't launch and with mars or smalldivine it gives all the time error messages like "no response from [nickname] from frame [number]"(nickname is the nick of the other player, number is increasing with every message[1,402,...]) in the chat box. When I move to the start pos of my enemy I can only see his commander(although he has a base) and attack but not destroy it. My enemy always gets the same messages and can only see my commander, too.
The maps(the standard ones as well) are all from unknown-files.net.
Last edited by rabe on 26 Jun 2007, 15:12, edited 1 time in total.
Whats happening here is that unitsync is crashing.
It hasnt been compiled correctly, if it was an AFLobby crash it wouldnt mention libjpeg it would just bring up a java exception with no mention of unitsync, or a JNIWarning popup window.
Also, pastebins exist for a reason. Could you ro a mdoerator edit out the longwinded error messages and put a link ot a pastebin post? A quick google for pastebin will make clear what a paste bin is. AKA right click paste, submit, copy url.
http://www.pastebin.ca
It hasnt been compiled correctly, if it was an AFLobby crash it wouldnt mention libjpeg it would just bring up a java exception with no mention of unitsync, or a JNIWarning popup window.
Also, pastebins exist for a reason. Could you ro a mdoerator edit out the longwinded error messages and put a link ot a pastebin post? A quick google for pastebin will make clear what a paste bin is. AKA right click paste, submit, copy url.
http://www.pastebin.ca