Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jun 2001 11:53:33 +0400
From:      "Al" <dragonstar@mail.ru>
To:        freebsd-emulation@freebsd.org
Subject:   Compilation/run problems
Message-ID:  <E15FA8j-00036q-00@f9.mail.ru>

next in thread | raw e-mail | index | archive | help
Hello.

I have a problem with the q2admin (http://planetquake.com/q2admin/) application under freebsd 
4.3 (linux_base is installed and enabled). Linux version of this app just crashes into coredump. 
Compiled sources give me the following when I'm trying to run the game:
...
------- Loading gamei386.so -------
./quake2: can't resolve symbol '___runetype'
./quake2: can't resolve symbol '_CurrentRuneLocale'
./quake2: can't resolve symbol '_DefaultRuneLocale'
./quake2: can't resolve symbol '___runetype'
./quake2: can't resolve symbol '_CurrentRuneLocale'
./quake2: can't resolve symbol '_DefaultRuneLocale'
./quake2: can't resolve symbol '_DefaultRuneLocale'
./quake2: can't resolve symbol '_DefaultRuneLocale'
./quake2: can't resolve symbol '_DefaultRuneLocale'
./quake2: can't resolve symbol '___runetype'
./quake2: can't resolve symbol '_CurrentRuneLocale'
./quake2: can't resolve symbol '___toupper'
./quake2: can't resolve symbol '_CurrentRuneLocale'
./quake2: can't resolve symbol '___tolower'
./quake2: can't resolve symbol '_CurrentRuneLocale'
./quake2: can't resolve symbol '___tolower'
./quake2: can't resolve symbol '_CurrentRuneLocale'
./quake2: can't resolve symbol '___runetype'
./quake2: can't resolve symbol '_CurrentRuneLocale'
./quake2: can't resolve symbol '_DefaultRuneLocale'
./quake2: can't resolve symbol '___tolower'
./quake2: can't resolve symbol '_CurrentRuneLocale'


If I add the -lc flag to the gcc options these messages disappear but the compiled mod
fails to operate anyway:

------- Loading gamei386.so -------
WARNING: q2admin.txt could not be found
WARNING: q2adminlog.txt could not be found
Q2Admin Version 1.12

=====================================
      MatchMod version 4.01
 This game library contains the bot
    detection system developed
           by RaVeN.
=====================================

==== InitGame ====
Map file not found.
Could not open motd file.
Could not open help.txt file.
Could not open server.txt file.
Could not open text filter file.
------- Server Initialization -------
0 entities inhibited
0 teams with 0 entities
WARNING: q2adminban.txt could not be found
WARNING: q2adminlrcon.txt could not be found
WARNING: q2adminflood.txt could not be found
WARNING: q2adminvote.txt could not be found
WARNING: q2admindisable.txt could not be found
WARNING: q2admincheckvar.txt could not be found
-------------------------------------

All the files that "not found" are really in place and with correct permissions set. But fopen always returns 
NULL and truss shows that these calls looks like linux_open("",16,bla-bla-bla) ... :(

Could you help me with this ? There're no answers how to compile such .so mods for freebsd on the net ...

Best regards.
---


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E15FA8j-00036q-00>