The collected works of dkedrowitsch

It looks like others have got this to compile, but not me.

DOSBox 0.65
Compiling on SGI 2100 SSE GFX 4xR12K 300MHz 3.5gigs RAM
Irix 6.5.29 w/Dev foundation and libs
Using full Nekoware current install

Failing to resolve "dirname".

I've added -lgen to the linker env variable and configure picked it up and added it to the makefiles. Doesn't help.

Here's the complete error (compiling with gmake -j9):

gmake[3]: Entering directory `/usr/src/dosbox-0.65/src'
g++ -O3 -mips4 -mabi=n32 -L/usr/nekoware/lib -lgen -o dosbox dosbox.o cpu/libcpu.a debug/libdebug.a dos/libdos.a fpu/libfpu.a hardware/libhardware.a gui/libgui.a ints/libints.a misc/libmisc.a shell/libshell.a hardware/serialport/libserial.a -lSDL_sound -L/usr/nekoware/lib -lSDL -lpthread -lpng -lz -lSDL_net -lGL
ld32: WARNING 84: /usr/lib32/libgen.so is not used for resolving any symbol.
ld32: WARNING 84: debug/libdebug.a is not used for resolving any symbol.
ld32: WARNING 84: /usr/lib32/libGL.so is not used for resolving any symbol.
ld32: ERROR 33: Unresolved text symbol "dirname" -- 1st referenced by dos/libdos.a(cdrom_image.o).
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: INFO 152: Output file removed because of error.
collect2: ld returned 2 exit status
gmake[3]: *** [dosbox] Error 1
gmake[3]: Leaving directory `/usr/src/dosbox-0.65/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/src/dosbox-0.65/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/src/dosbox-0.65'
gmake: *** [all] Error 2
root@IRIS:/usr/src/dosbox-0.65#

Any ideas?
How do I figure out what to adjust the order of the libraries to?
Cool, I'll give that a try tonight! I wish I had an IRIX box at work. I should bring one of my Indigo2s in and hide it under my desk. :)

Thanks!
I was having that problem w/gcc and just commented out the section of that function that called for lround() since it looked like it was only used in CDROM emulation or something. Figured I'd cross that bridge after I got the rest to compile and run.


Man I'd kill for an ISO of the MIPSPro 7.4.4 EOE CD. I have a valid licence and the FE CD, but the EOE didn't come with it. :(
Ok, I got it to compile with the suggestions! It runs now, but it looks like they keyboard is all messed up, as none of the keys do what they're supposed to. Some don't do anything, and most do alternate letters, numbers, or symbols. Almost like a keymap is all wrong.

Anyone else have this problem?
If nobody has clamed it yet and the Indigo is an R4K, I'll take the power supply.

Sending PM...
recondas wrote: You should now have a dispaly, keyboard and mouse <not to mention sound>.


And MP3s never sounded so sweet. The sound quality I get from high quality MP3s and my O2K/IO6G is remarkable. I've owned some decent sound cards and none of them even come close....