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?
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?