GemRB

IRIX and IRIX software discussion including open source and commerical offerings.
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
lynx
Posts: 17
Joined: Fri Oct 14, 2016 9:15 am

Re: GemRB

Unread postby lynx » Tue Oct 18, 2016 2:00 pm

oh, one thing slipped through the cracks. In one file you had to forward declare strlcpy and include strings.h manually. Are all string.h/cstring includes supposed to be stringS.h on irix? Cause maybe the ifdefing can then be centralised, so it doesn't need to pollute that many files.

User avatar
necron2600
Posts: 260
Joined: Tue May 26, 2015 10:38 pm
Location: Boston

Re: GemRB

Unread postby necron2600 » Mon Dec 05, 2016 9:53 pm

I was able to get a succesful compile (but not execute) by going to the dark side with GCC (versus SGI MIPS Pro compiler). Since I had this working with Solaris 10/sparc and GCC I figure it would be easier with GCC vs MIPSPro.. at least initially. I did need a bunch of source code adjustments but nothing too serious.

However, gemrb fails to run:

gemrb
417106:gemrb: rld: Error: unresolvable symbol in /usr/local/lib/libgemrb_core.so.1: _ZN5GemRB15GemMarkupParser30ParseMarkupStringIntoContainerERKSbIwSt11char_traitsIwESaIwEERNS_13TextContainerE
417106:gemrb: rld: Error: unresolvable symbol in /usr/local/lib/libgemrb_core.so.1: _ZN8RNG_SFMT11getInstanceEv
417106:gemrb: rld: Error: unresolvable symbol in /usr/local/lib/libgemrb_core.so.1: _ZN5GemRB15GemMarkupParser5ResetEv
417106:gemrb: rld: Error: unresolvable symbol in /usr/local/lib/libgemrb_core.so.1: _ZN5GemRB15GemMarkupParser15ResetAttributesEPKNS_4FontEPNS_7PaletteES3_S5_
417106:gemrb: rld: Error: unresolvable symbol in /usr/local/lib/libgemrb_core.so.1: _ZN5GemRB15GemMarkupParserC1EPKNS_4FontEPNS_7PaletteES3_S5_
417106:gemrb: rld: Error: unresolvable symbol in /usr/local/lib/libgemrb_core.so.1: _ZN5GemRB15GemMarkupParserC1Ev
417106:gemrb: rld: Error: unresolvable symbol in /usr/local/lib/libgemrb_core.so.1: _ZN8RNG_SFMT4randEii
417106:gemrb: rld: Error: unresolvable symbol in /usr/local/lib/libgemrb_core.so.1: _ZN5GemRB9VEFObject15GetSingleObjectEv
417106:gemrb: rld: Error: unresolvable symbol in /usr/local/lib/libgemrb_core.so.1: _ZN5GemRB9VEFObject4DrawERKNS_6RegionERNS_5PointERKNS_5ColorEPNS_3MapEiii
417106:gemrb: rld: Error: unresolvable symbol in /usr/local/lib/libgemrb_core.so.1: _ZN5GemRB9VEFObjectC1EPNS_17ScriptedAnimationE
417106:gemrb: rld: Error: unresolvable symbol in /usr/local/lib/libgemrb_core.so.1: _ZN5GemRB9VEFObject7Load2DAEPKc
417106:gemrb: rld: Error: unresolvable symbol in /usr/local/lib/libgemrb_core.so.1: _ZN5GemRB9VEFObjectC1Ev
417106:gemrb: rld: Error: unresolvable symbol in /usr/local/lib/libgemrb_core.so.1: _ZN5GemRB9VEFObjectD1Ev
417106:gemrb: rld: Error: unresolvable symbol in /usr/local/lib/libgemrb_core.so.1: _ZN5GemRB9VEFObject7LoadVEFEPNS_10DataStreamE
417106:gemrb: rld: Fatal Error: this executable has unresolvable symbols

Its possible I need to recompile cleanly.. as i made changes mid-way in the compiling.. may have objects built but later not not used,etc.. This could also open up a can of worms on my end and make it not able to compile.

Dexter.. regarding your time issues.
This may be related to your issue with MIPSPro.. then again it may not be:
I got this error during compiling:
In file included from /usr/nekoware/include/python2.7/pyport.h:325:0,
from /usr/nekoware/include/python2.7/Python.h:58,
from GUIScript.h:31,
from GUIScript.cpp:24:
/usr/include/sys/time.h: In function 'int select(int, fd_set*, fd_set*, fd_set*, timeval*)':
/usr/include/sys/time.h:191:26: error: 'int select(int, fd_set*, fd_set*, fd_set*, timeval*)' was declared 'extern' and later 'static' [-fpermissive]

Googling (dont need coding skills anymore when you can google! ;) I found:
http://pysvn.stage.tigris.org/ds/getDSM ... =text/html

By putting an #include <sys/time.h> 'before' Python.h cleared my time related issues.. but they were with GCC.

I'll let a fresh recompile run overnight and see how that goes (GCC again).

User avatar
dexter1
Moderator
Moderator
Posts: 2735
Joined: Thu Feb 20, 2003 6:57 am
Location: Zoetermeer, The Netherlands

Re: GemRB

Unread postby dexter1 » Tue Dec 06, 2016 1:47 am

Thanks for the info. Currently my office does a pretty good job of murdering me and what's left of my spare time is dumped into holiday celebrations.
What Cmake did you use for the gemRB source?
:Crimson: :PI: :Indigo: :O2: :Indy: :Indigo2: :Indigo2IMP:

User avatar
necron2600
Posts: 260
Joined: Tue May 26, 2015 10:38 pm
Location: Boston

Re: GemRB

Unread postby necron2600 » Tue Dec 06, 2016 10:28 am

cmake 2.8.6
I have a tardist of it here:
http://www.nekochan.net/downloads/index ... ecron2600/

So I was able to get it compiled again.. no errors (but I did remove -Werror compile option that would turn warnings to errors.. maybe im missing something by doing that)

Among several more unresolvable symbols.. the errors when running gemrb are:
[octane]:/usr/local/lib $ gemrb
444271:gemrb: rld: Error: unresolvable symbol in /usr/local/lib/libgemrb_core.so.1: _ZN5GemRB15GemMarkupParser30ParseMarkupStringIntoContainerERKSbIwSt11char_traitsIwESaIwEERNS_13TextContainerE

Well.. where is this symbol?
I used nm to find it in itself:
[octane]:/usr/local/lib $ nm -gC libgemrb_core.so.1 | grep _ZN5GemRB15GemMarkup
Parser30ParseMarkupStringIntoContainerERKSbIwSt11char_traitsIwESaIwEERNS_13Text
ContainerE
[5637] | 0| 0|OBJT |GLOB |DEFAULT |UNDEF |_ZN5GemRB15GemMarkupParser30ParseMarkupStringIntoContainerERKSbIwSt11char_traitsIwESaIwEERNS_13TextContainerE

seems all the symbols being complained about have a value of '0''
some type of Markup Parser, Font stuff, and a VEFObject
hmm. regarding fonts.. I do remember fudging the code a bit:

During a compile, I had received:
## ERROR
gmake[3]: *** No rule to make target `Font.cpp', needed by `Font.lo'. Stop.
gmake[3]: Leaving directory `/tmp/gemrb/gemrb/gemrb/core'

I found no Font.cpp anywhere.. except from a core/GUI/TextSystem/* directory.
To make the compile work, I just copied from core/GUI/TextSystem/* to gemrb/core/.
Maybe that is one of the sources of my problem.
I did note that in older gemrb versions Font.cpp exists in core/.. but not in newer versions. (I am using a checkout of HEAD right now). I would point a finger to the code, but this compiled cleanly on a Solaris box. Ill try to compare what happened on the Solaris box.

lynx
Posts: 17
Joined: Fri Oct 14, 2016 9:15 am

Re: GemRB

Unread postby lynx » Tue Dec 06, 2016 11:18 am

What's your procedure? I get a feeling you're somehow mixing the cmake build with the old autotools one, since the unmaintained gemrb/core/Makefile.am is the only thing referencing core/Font.cpp.

User avatar
necron2600
Posts: 260
Joined: Tue May 26, 2015 10:38 pm
Location: Boston

Re: GemRB

Unread postby necron2600 » Tue Dec 06, 2016 11:37 am

Yeah, my apologies for using the unmaintained autotools. The errors obtained from it seemed easier (to me at least.. and I am not at all a developer) than the ones I got from cmake.

lynx
Posts: 17
Joined: Fri Oct 14, 2016 9:15 am

Re: GemRB

Unread postby lynx » Tue Dec 06, 2016 11:40 am

Ah well, if you go that route, you'll have to fix the Makefiles first. What errors did you get the cmake way?

User avatar
necron2600
Posts: 260
Joined: Tue May 26, 2015 10:38 pm
Location: Boston

Re: GemRB

Unread postby necron2600 » Tue Dec 06, 2016 11:44 am

Procedure for not using cmake:
I ran autogen.sh.

The following are my 'hacks' to get this to compile. Very poorly done, and I make no assumptions as to these approaches being valid.

# GCC 4.7 build env
export CC=gcc
export CXX=g++
export CXXFLAGS="-O3 -mabi=n32 -I/usr/nekoware/include -I/usr/include"
export CPPFLAGS="-O3 -mabi=n32 -I/usr/nekoware/include -I/usr/include"
export PATH="/usr/nekoware/bin:$PATH"
export MANPATH="/usr/nekoware/man:$MANPATH"
export CFLAGS="-O3 -mabi=n32 -I/usr/nekoware/include -I/usr/include"
export LDFLAGS="-L/usr/nekoware/lib -L/usr/lib32"
export LD_LIBRARY_PATH="/usr/nekoware/lib:/usr/lib32"
export PATH=/usr/nekoware/gcc-4.7/bin:$PATH
export RANLIB=:

Run ./autogen.sh

###
ERROR: autogen.sh will complain that it cannot find Python.

EDIT: configure
#include <sys/time.h>
 #include "Python.h"
line 17072 in configure
and 17109

autogen.sh will pass now.

###
ERROR: Warnings are Errors!

EDIT: configure
Remove -Werror

###
ERROR:
No rule to make target `Callback.cpp', needed by `Callback.lo'. Stop.

EDIT: gemrb/core/Makefile
Remove the 3 Callback.* references
# This could be bad!

###
ERROR:
FP_NAN errors

EDIT:
gemrb/includes/globals.h
gemrb/core/Resource.h
/* C99: 7.12 6 defines for floating point classification */
#define FP_ZERO 1
#define FP_SUBNORMAL 2
#define FP_NORMAL 4
#define FP_INFINITE 8
#define FP_NAN 16

###
ERROR:
No rule to make target `Font.cpp', needed by `Font.lo'. Stop.

COPY: GUI/TextSystem/* to gemrb/core/ seems to get passed this but unknown as to what is wrong. Could be bad!

###
ERROR:
GetBitContext.cpp:52:56: error: 'ldexpf' was not declared in this scope
GetBitContext.cpp: In member function 'int VLC::build_table(int, int, const void*, int, int, const void*, int, int, unsigned int, int, int)':

EDIT:
gemrb/plugins/Makefile
Remove BIKPlayer
Not necessary to be able to play movies.. gameplay is more important for now

###
ERROR:
error: 'strcasecmp' was not declared in this scope
NOTE: strcasecmp is not in the C or C++ standard, but its defined by POSIX.1-2001 and 4.4BSD.

EDIT:
gemrb/plugins/GUIScript/GUIScript.cpp
gemrb/core/Resource.h
/* IRIX */
#include <string.h>

###
ERROR:
/usr/include/sys/time.h: In function 'int select(int, fd_set*, fd_set*, fd_set*, timeval*)':
/usr/include/sys/time.h:191:26: error: 'int select(int, fd_set*, fd_set*, fd_set*, timeval*)' was declared 'extern' and later 'static' [-fpermissive]
GOOGLE SEARCH:
sys/time.h is misbehaving when _XOPEN_SOURCE
is defined and _XOPEN_SOURCE IS defined in
pyconfig.h, which is included by Python.h,
an easy fix would be to include sys/time.h
BEFORE Python.h

EDIT:
plugins/GUIScript/PythonHelpers.cpp
plugins/GUIScript/GUIScript.cpp
#include <sys/time.h>
BEFORE Python.h .. I just placed at the top.

###
ERROR:
In file included from OpenALAudio.h:45:0,
from OpenALAudio.cpp:21:
/usr/nekoware/include/AL/alc.h:186:60: error: '<anonymous>' has incomplete type
/usr/nekoware/include/AL/alc.h:186:68: error: invalid use of 'ALCvoid {aka void}'

EDIT:
gemrb/plugins/Makefile
Just remove OpenAL Plugin from being built for now to see how far it compiles

###
ERROR:
Making all in pst
gmake[4]: Entering directory `/tmp/gemrb/gemrb/gemrb/override/pst'
gmake[4]: *** No rule to make target `*.bcs', needed by `all-am'. Stop.

EDIT:
/gemrb/override/pst/Makefile
Remove *.bcs from Makefile. 2 locations. Assumption is this could be negative on PlaneScape Torment (PST) but shouldnt affect other games.

###
Possible Error:
The configure generates HAVE_STRING_H and HAVE_STRINGS_H. That doesn't cause any problem except on SGI platforms.

EDIT:
config.h
- #define HAVE_STRINGS_H 1
+ /*#define HAVE_STRINGS_H 1*/

###
gmake
gmake install

User avatar
necron2600
Posts: 260
Joined: Tue May 26, 2015 10:38 pm
Location: Boston

Re: GemRB

Unread postby necron2600 » Tue Dec 06, 2016 11:54 am

With a custom cmake 2.8.6.. where cmake 2.8.6 itself compiled clean for me... it is not part of our official nekoware distribution which uses an older version.

Cmake looks good.. then ends up:
-- Configuring incomplete, errors occurred!

[octane]:/tmp/gemrb/gemrb/build $ cmake ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/nekoware/gcc-4.7/bin/gcc
-- Check for working C compiler: /usr/nekoware/gcc-4.7/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/nekoware/gcc-4.7/bin/g++
-- Check for working CXX compiler: /usr/nekoware/gcc-4.7/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detected version: 0.8.4-git
-- Git version bool: 1
-- Performing Test VISIBILITY_HIDDEN
-- Performing Test VISIBILITY_HIDDEN - Failed
-- Performing Test STACK_PROTECTOR
-- Performing Test STACK_PROTECTOR - Success
-- Found PythonLibs: /usr/nekoware/lib/libpython2.7.so (Required is at least version "2.3")
-- Looking for Python libraries and headers: found
-- Autodetecting SDL backend...
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Could NOT find SDL2 (missing: SDL2_LIBRARY SDL2_INCLUDE_DIR)
-- Found SDL 1.2, switching to SDL backend.
CMake Error at CMakeLists.txt:241 (FIND_PACKAGE):
find_package called with invalid argument "MODULE"


-- Looking for SDL: found
-- Looking for libSDL: found
CMake Warning at CMakeLists.txt:282 (MESSAGE):
Looking for SDL_mixer: not found!


CMake Warning at CMakeLists.txt:283 (MESSAGE):
If you want to build the SDL_mixer plugin, install SDL_mixer first.


CMake Warning at CMakeLists.txt:284 (MESSAGE):
Make sure you use a version compatible with the chosen SDL version.


-- Found ZLIB: /usr/lib32/libz.so (found version "1.2.5")
-- Looking for Zlib: found
-- Found OpenAL: /usr/nekoware/lib/libopenal.so
-- Looking for OpenAL: found
CMake Error at CMakeLists.txt:352 (FIND_PACKAGE):
find_package called with invalid argument "MODULE"


CMake Warning at CMakeLists.txt:356 (MESSAGE):
Looking for VLC: not found!


CMake Warning at CMakeLists.txt:357 (MESSAGE):
If you want to build the VLC plugin, install VLC first.


-- Found Freetype: /usr/nekoware/lib/libfreetype.so
-- Looking for Freetype: found
-- Looking for iconv_open
-- Looking for iconv_open - found
-- Performing Test ICONV_COMPILES
-- Performing Test ICONV_COMPILES - Success
-- Found ICONV: In glibc
-- One (and only one) of the ICONV_ACCEPTS_... tests must pass
-- Performing Test ICONV_ACCEPTS_NONCONST_INPUT
-- Performing Test ICONV_ACCEPTS_NONCONST_INPUT - Success
-- Performing Test ICONV_ACCEPTS_CONST_INPUT
-- Performing Test ICONV_ACCEPTS_CONST_INPUT - Failed
-- Found PNG: /usr/lib32/libpng.so
-- Looking for libPNG: found
-- Looking for Ogg Vorbis support: found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of int
-- Check size of int - done
-- Check size of long int
-- Check size of long int - done
-- Looking for strndup
-- Looking for strndup - not found
-- Looking for strlcpy
-- Looking for strlcpy - found
-- Looking for setenv
-- Looking for setenv - not found
-- Looking for include files HAVE_UNISTD_H
-- Looking for include files HAVE_UNISTD_H - found
-- Looking for include files HAVE_MALLOC_H
-- Looking for include files HAVE_MALLOC_H - found
-- Performing Test PERMITS_OBJECT_TO_FUNCTION_CAST
-- Performing Test PERMITS_OBJECT_TO_FUNCTION_CAST - Failed
--
-- These are the configured paths:
-- PREFIX: /usr/local
-- LIB_DIR: /usr/local/lib/gemrb
-- PLUGIN_DIR: /usr/local/lib/gemrb/plugins
-- BIN_DIR: /usr/local/bin
-- DATA_DIR: /usr/local/share/gemrb
-- MAN_DIR: /usr/local/share/man/man6
-- SYSCONF_DIR: /usr/local/etc/gemrb
-- DOC_DIR: /usr/local/share/doc/gemrb
-- ICON_DIR: /usr/local/share/pixmaps
-- SVG_DIR: /usr/local/share/icons/hicolor/scalable/apps
-- MENU_DIR: /usr/local/share/applications
--
-- Options:
-- LAYOUT: fhs
-- NOCOLOR: disabled
-- STATIC_LINK: disabled
-- INSOURCEBUILD: disabled
-- DISABLE_WERROR: disabled
-- WIN32_USE_STDIO: disabled
-- SDL_BACKEND: SDL
-- OPENGL_BACKEND: None
--
-- Build type: RelWithDebInfo
--
-- Configuring incomplete, errors occurred!
[octane]:/tmp/gemrb/gemrb/build $ cmake --version
cmake version 2.8.6

However, I get no Makefile in the build dir.
I believe Dexter1 may have gotten farther down this path with cmake.
I took the one that looked easier with autogen ;)

lynx
Posts: 17
Joined: Fri Oct 14, 2016 9:15 am

Re: GemRB

Unread postby lynx » Tue Dec 06, 2016 12:08 pm

I think I know the cmake problem — Travis CI or Appveyor hit something similar or identical. Checking ... yeah, odd cmake version, this was the fix:
sed -i 's,\(FIND_PACKAGE.*\) MODULE,\1,' CMakeLists.txt # just removing the MODULE parameter

since I guess your sed doesn't have -i, use redirection or edit the file manually (just three hits).

I'll go play with moved time.h and some of the rest.

oh, you can pass -DDISABLE_WERROR=1 to ...

lynx
Posts: 17
Joined: Fri Oct 14, 2016 9:15 am

Re: GemRB

Unread postby lynx » Tue Dec 06, 2016 12:15 pm

does IRIX have stricmp instead of strcasecmp?

... yeah, cmake 2.8.8 introduced MODULE. If you refetch git HEAD (git pull), you should be able to run cmake without errors without mods.

User avatar
necron2600
Posts: 260
Joined: Tue May 26, 2015 10:38 pm
Location: Boston

Re: GemRB

Unread postby necron2600 » Tue Dec 06, 2016 1:06 pm

Your sed command did it nicely!
<...>
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/gemrb/gemrb/build

Ill see how far this build goes now. (using cmake and gcc)
FYI, IRIX may be an old OS, but with our nekoware package distribution we still have relatively modern apps.. such as sed with -i. ;)
Thanks again for all your help, and being involved all this time trying to help!

User avatar
necron2600
Posts: 260
Joined: Tue May 26, 2015 10:38 pm
Location: Boston

Re: GemRB

Unread postby necron2600 » Tue Dec 06, 2016 1:12 pm

man 3 strcasecmp
string(3C) string(3C)

NAME
string: strcat, strdup, strncat, strcmp, strncmp, strcpy, strncpy,
strlen, strchr, strrchr, strpbrk, strspn, strcspn, strtok, strstr
strcasecmp, strncasecmp, index, rindex, strtok_r - string operations

SYNOPSIS
#include <string.h>

I do not believe IRIX has stricmp.. however I will leave that answer to ones more knowledgeable. Googling seems to say IRIX does not and I couldn't find a manpage for it. Running a find/grep within /usr/include didn't find any stricmp either.

lynx
Posts: 17
Joined: Fri Oct 14, 2016 9:15 am

Re: GemRB

Unread postby lynx » Tue Dec 06, 2016 1:18 pm

ok, so it's just a case of missing includes then.

User avatar
necron2600
Posts: 260
Joined: Tue May 26, 2015 10:38 pm
Location: Boston

Re: GemRB

Unread postby necron2600 » Tue Dec 06, 2016 4:01 pm

So taking the same source package that I had the mods indicated earlier (mostly includes).. but of course all the 'Makefile' mods I made are irrelevant when using cmake now.

Your cmake fix:
sed -i 's,\(FIND_PACKAGE.*\) MODULE,\1,' CMakeLists.txt

Build:
cd build
cmake -DDISABLE_WERROR=1 ..

It goes to 72% to where it wants to compile BIKPlayer.
GetBitContext.cpp:52:56: error: 'ldexpf' was not declared in this scope
Rather than debug that.. I assume it could be skipped?
I created a stump BIKPlayer.cpp file that does nothing but had the main function BIKPlayer::BIKPlayer(void)
{ }; and the last few lines in the file (GEMRB_PLUGIN(), END_PLUGIN(),etc..
I edited BIKPlayer's CMakeLists.txt so it only uses BIKPlayer.cpp and no the other cpp files in that dir

The butchered code above does let it continue building.
Then it complained of OpenAL. That one was far more simple just commenting out everything in the related plugin directory CMakeLists.txt (there is an IF Clause in there). I could have simply removed OpenAL libs and headers before running cmake.. maybe ill try that next. Is there another way to force it to not compile OpenAL?

I took BaldursGate1 content from a working Solaris10/SPARC environment and placed on IRIX: so the cfg file and content exist.
#Note, I did try with the -c test.cfg too.. same result

[octane]:~ $ gemrb -c /usr/local/etc/gemrb/GemRB.cfg.bg1
[Core]: GemRB Core Version v0.8.4-git Loading...
[Config]: attempting to initialize config with GemRB.cfg.bg1
[Core]: Initializing the Event Manager...
[Core]: Starting Plugin Manager...
[PluginMgr]: Loading Plugins from /usr/local/lib/gemrb/plugins
[PluginLoader]: Loaded plugin "2DA File Importer" (2DAImporter.so).
[PluginLoader]: Loaded plugin "ACM File Importer" (ACMReader.so).
[PluginLoader]: Loaded plugin "BAM File Importer" (BAMImporter.so).
[PluginLoader/ERROR]: Cannot Load "/usr/local/lib/gemrb/plugins/BIKPlayer.so", skipping...
[PluginLoader/DEBUG]: Error: 459017:gemrb: rld: Fatal Error: unresolvable symbol in /usr/local/lib/gemrb/plugins/BIKPlayer.so: _ZTVN5GemRB9BIKPlayerE
[PluginLoader]: Loaded plugin "BMP File Writer" (BMPWriter.so).
[PluginLoader]: Loaded plugin "CHU File Importer" (CHUImporter.so).
[PluginLoader]: Loaded plugin "DLG File Importer" (DLGImporter.so).
[PluginLoader]: Loaded plugin "EFF File Importer" (EFFImporter.so).
[PluginLoader]: Loaded plugin "GAM File Importer" (GAMImporter.so).
[PluginLoader]: Loaded plugin "INI File Importer" (INIImporter.so).
[PluginLoader]: Loaded plugin "Effect opcodes for the icewind branch of the games" (IWDOpcodes.so).
[PluginLoader]: Loaded plugin "MOS File Importer" (MOSImporter.so).
[PluginLoader]: Loaded plugin "MVE Video Player" (MVEPlayer.so).
[PluginLoader]: Loaded plugin "Null Sound Driver" (NullSound.so).
[PluginLoader]: Loaded plugin "OGG File Importer" (OGGReader.so).
[PluginLoader]: Loaded plugin "PNG File Importer" (PNGImporter.so).
[PluginLoader]: Loaded plugin "Effect opcodes for the torment branch of the games" (PSTOpcodes.so).
[PluginLoader]: Loaded plugin "SDL1 Video Driver" (SDLVideo.so).
[PluginLoader]: Loaded plugin "SPL File Importer" (SPLImporter.so).
[PluginLoader]: Loaded plugin "TIS File Importer" (TISImporter.so).
[PluginLoader]: Loaded plugin "TTF Font Importer" (TTFImporter.so).
[PluginLoader]: Loaded plugin "WED File Importer" (WEDImporter.so).
[PluginLoader]: Loaded plugin "ZLib Compression Manager" (ZLibManager.so).
[PluginLoader]: Loaded plugin "ARE File Importer" (AREImporter.so).
[PluginLoader]: Loaded plugin "BIF File Importer" (BIFImporter.so).
[PluginLoader]: Loaded plugin "BMP File Reader" (BMPImporter.so).
[PluginLoader]: Loaded plugin "CRE File Importer" (CREImporter.so).
[PluginLoader]: Loaded plugin "Directory Importer" (DirectoryImporter.so).
[PluginLoader]: Loaded plugin "Effect opcodes for core games" (FXOpcodes.so).
Bus error (core dumped)

I played with GDB a bit..
backtrace shows 2 frames..
(gdb) bt
#0 0x00000000 in ?? ()
#1 0x00000000 in ?? ()
Previous frame identical to this frame (corrupt stack?)
(gdb) frame 0
#0 0x00000000 in ?? ()
(gdb) list
82 InitializeLogging();
83
84 core = new Interface();
85 CFGConfig* config = new CFGConfig(argc, argv);
86 if (core->Init( config ) == GEM_ERROR) {
87 delete config;
88 delete( core );
89 Log(MESSAGE, "Main", "Press enter to continue...");
90 getc(stdin);
91 ShutdownLogging();
(gdb) frame 1
#1 0x00000000 in ?? ()
(gdb) list
72 // about shrinking the heap.
73 #ifdef HAVE_UNISTD_H
74 int pagesize = sysconf(_SC_PAGESIZE);
75 #else
76 int pagesize = 4*1024;
77 #endif
78 mallopt(M_TRIM_THRESHOLD, 5*pagesize);
79 #endif
80
81 Interface::SanityCheck(VERSION_GEMRB);

Anything I should look at?


Return to “IRIX and Software”

Who is online

Users browsing this forum: dexter1 and 2 guests