#exult@irc.freenode.net logs for 5 Oct 2005 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage


[00:20:48] --> Matt_O has joined #exult
[06:47:03] --> Quester has joined #exult
[06:47:15] <Quester> good day
[07:00:27] <-- Quester has left #exult ()
[07:07:33] <-- shazza` has left IRC (Read error: 110 (Connection timed out))
[07:23:19] --> shazza has joined #exult
[08:07:56] --> Khelz has joined #exult
[08:20:17] <-- Sevalecan has left IRC (Read error: 104 (Connection reset by peer))
[08:20:44] --> Sevalecan has joined #exult
[08:25:08] --> shazza` has joined #exult
[08:38:29] <-- shazza has left IRC (Connection timed out)
[11:33:19] --> RadoS has joined #eXult
[13:18:11] <-- Rado has left IRC ("brb")
[13:24:38] --- RadoS is now known as Rado
[13:48:49] <-- Colourless has left IRC ("casts improved invisibility")
[15:00:24] <-- Kirben has left IRC (Read error: 110 (Connection timed out))
[15:58:38] <-- Rado has left IRC ("brb")
[16:04:41] --> Rado has joined #eXult
[18:00:39] --> BSM has joined #exult
[18:02:01] <BSM> hi, when I try to cross compile exult, I get this message http://nopaste.php-q.net/163737 is it a wrong version of libpcap, exult, aotconf?
[18:03:00] <BSM> (autoconf)
[18:17:51] <wjp> you most likely need to install an SDL development package
[18:19:14] <-- Khelz has left IRC ()
[18:21:56] <BSM> hm, i'll check that... some new errors are "| imagescl.cc:220: error: invalid use of undefined type `struct SDL_Surface' | imagewin.h:34: error: forward declaration of `struct SDL_Surface'"
[18:30:25] <wjp> is that really the first error it gives in that file?
[18:30:54] <wjp> sounds like it can't find one of the SDL header files, but it should report that
[18:33:59] <BSM> wjp, ok, SDL_video.h is missing
[18:34:52] <wjp> so the SDL library still isn't installed properly, most likely
[18:35:05] <BSM> yep :D
[18:35:15] <BSM> does exult need libsdl-mixer?
[18:35:57] <wjp> yes
[18:36:01] <wjp> but configure should be checking for that
[18:37:57] <wjp> hm, are you building exult for a linux handheld?
[18:38:31] <BSM> wjp, "... cross compile..."
[18:38:32] <BSM> jepp
[18:38:41] <BSM> familiar 0.8.2, iPAQ 3850
[18:38:53] <wjp> I wonder if cross-compiling is working properly
[18:39:02] <BSM> wjp, it does not ;)
[18:39:05] <wjp> although I guess it should be since it's possible to build it for the Zaurus
[18:39:39] <BSM> it did with good old gcc 2.95, but the newer familiar linux is build with gcc 3 so the old binaries don't work
[18:40:19] <wjp> I wonder if we're correctly handling the tools required for building
[18:40:35] <BSM> ATM it's a problem with my setup
[18:40:35] <wjp> I'm guessing we're not, since we're using automake
[18:41:29] <wjp> you'll probably run into this later: we use a tool called 'expack' (part of exult) which is used to create several of exult's data files (exult.flx, exult_bg.flx, exult_si.flx) and which also produces a couple of C header files
[18:41:42] <wjp> those C header files are needed to continue the rest of the build process
[18:42:02] <BSM> since when do you use them wjp?
[18:42:11] <wjp> what do you mean?
[18:42:36] <BSM> well, it built (builds?) for zaurus, so it should build for my machine
[18:42:57] <wjp> I'm assuming the Zaurus build process uses a bit of manual work to get around it
[18:43:09] <wjp> I'll see if I can locate some docs for it
[18:43:10] <BSM> i've got some errors like "scale.cc:11:23: SDL_video.h: No such file or directory"
[18:43:18] <wjp> still missing SDL headers then
[18:43:39] <wjp> SDL uses a script called 'sdl-config' for its compile-time configuration
[18:43:45] <BSM> they should be there
[18:43:58] <wjp> does 'sdl-config --cflags' give the right include dir for them?
[18:44:05] <BSM> 1. other sdl apps build, 2. he finds other SDL includes
[18:44:21] <wjp> what's the full compilation command that fails?
[18:44:36] <BSM> well, here's another problem ;)
[18:45:07] <BSM> familiar uses a build system called bitbake,based on the packages of openembedded
[18:46:23] <wjp> zaurus build docs say the following:
[18:46:27] <wjp> Exult uses some tools for its compilation. Of course, those tools get compiled b
[18:46:27] <wjp> y the ARM cross compiler so it won't work on your platform. Make sure you put a
[18:46:28] <wjp> hand on "expack" (compiled for your platform) before any work.
[18:46:41] <wjp> (end quote)
[18:49:08] <wjp> I wonder if recent versions of automake support doing this automatically
[18:49:32] <BSM> wjp, possible, python builds its own platform specific modules too
[18:50:06] <wjp> I know it's possible (I do it myself for Pentagram [similar project for Ultima 8]), but automake is a pain...
[18:50:36] <wjp> (pentagram doesn't use automake
[18:50:37] <wjp> )
[18:50:39] <BSM> thats true ;)
[18:52:51] <BSM> what about porting pentagram to handheld? :D
[18:53:49] <wjp> cross-compiling pentagram in linux should be fairly smooth
[18:54:06] <wjp> I semi-regularly cross-compile a windows version of it to see if it works
[18:55:07] <BSM> and what about playing in 320x240?
[18:55:20] <wjp> U8 is 320x200 just like U7
[18:55:49] <BSM> yeah, I got to the expack point
[18:57:58] <BSM> tz, I need full exult to build expack?
[18:59:05] <wjp> expack.cc and the 'files' subdir
[19:00:07] <BSM> hm, how do i prevent the script from building expack again?
[19:00:25] <wjp> touch it so it appears new enough
[19:10:09] <BSM> damn. "/home/rob/projekte/handhelds/build/tmp/cross/lib/gcc/arm-linux/3.4.4/../../../../arm-linux/lib/crt1.o: In function `_start':| init.c:(.text+0x30): undefined reference to `main'"
[19:11:50] <wjp> what's the full link command that fails?
[19:12:03] <wjp> and what does 'sdl-config --libs' return?
[19:15:29] <BSM> wjp http://nopaste.php-q.net/163748
[19:16:04] <BSM> sdl-config is a bit hard, cause there is only the arm binary
[19:16:28] <wjp> sdl-config is a script
[19:17:21] <BSM> oops ;) still i don't think that it will return what we need
[19:17:41] <wjp> there's no mention of SDL at all in that link line
[19:18:03] <BSM> i guess thats bad?
[19:18:09] <wjp> exult is depending on 'sdl-config --libs' to return the necessary libraries to link against SDL; one of those supplies main
[19:18:40] <wjp> was that error about main the only undefined reference you got?
[19:18:49] <wjp> I'd expect dozens of missing SDL references as well
[19:19:00] <BSM> wjp, yep
[19:19:20] <BSM> how could such a line look? i cheated a bit around sdl-config....
[19:19:31] <wjp> that's rather platform-specific
[19:19:46] <wjp> (which is why it's delegated to sdl-config in the first place, of course :-) )
[19:20:33] <wjp> the --rpath parts of that line are rather mysterious, by the way... those directories probably don't even exist on the machine it's going to be running on
[19:20:51] <wjp> but you could try something like '-lSDL -lSDLmain'
[19:21:02] <-- Rado has left #eXult ("brb")
[19:21:08] --> Rado has joined #eXult
[19:27:25] <BSM> damn, stuck on linking
[19:31:04] <BSM> ok, back to the initial problem. where is AM_PATH_SDL defined....
[19:31:36] <wjp> sdl.m4
[19:31:49] <wjp> which should be in the aclocal dir
[19:37:19] <BSM> ok, got that now. is there something ldconfig like i need to do when cross compiling?
[19:37:43] <wjp> no
[19:38:59] <BSM> cause i've got a "/home/rob/projekte/handhelds/build/tmp/cross/lib/gcc/arm-linux/3.4.4/../../../../arm-linux/bin/ld: warning: libqte.so.2, needed
[19:38:59] <BSM> by /home/rob/projekte/handhelds/build/tmp/staging/arm-linux/lib/libopiecore2.so, not found" error, although there is in some lib directory this lib
[19:39:59] <BSM> ok, he works with two lib directories and only god knows why he chose the wrong
[19:40:33] <BSM> btw, big thanks for your helo wjp
[19:40:37] <BSM> help
[19:40:44] <BSM> i think i need coffee
[19:41:52] <BSM> damn, i think i've got an exult arm binary compiled with gcc 3.4
[19:50:51] <BSM> yeah, and new problems... "terminate called after throwing an instance of 'std::bad_alloc'" google says its a memory leak...is it?
[19:54:39] <BSM> or he simply cannot find the data files ;)
[20:02:21] <BSM> again thanks wjp and good night all.
[20:02:24] <-- BSM has left #exult ("When you can't see and it's not there it's gone!")
[20:39:12] --> Baastuul_ has joined #exult
[21:04:28] <-- Baastuul has left IRC (Read error: 110 (Connection timed out))
[22:13:30] --> Kirben has joined #exult
[22:13:30] --- ChanServ gives channel operator status to Kirben
[22:15:41] --> SB-X has joined #exult
[22:33:37] <-- SB-X has left IRC ("brb")
[22:36:35] --> SB-X has joined #exult
[23:21:04] <-- Sevalecan has left IRC (Read error: 104 (Connection reset by peer))
[23:21:30] --> Sevalecan has joined #exult
[23:31:09] --> Colourless has joined #Exult
[23:31:17] --- ChanServ gives channel operator status to Colourless
[23:34:54] <SB-X> hi Colourless