[hatari-devel] Unable to compile hatari on Solaris 11
Christer Solskogen
christer.solskogen at gmail.com
Thu Apr 7 12:45:15 CEST 2011
This is the preliminary error. Is this a problem with the hatari or
the compiler?
gcc-3.4.3
[ 33%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgFileSelect.c.o
cd /home/et0640/source/hatari/src/gui-sdl && /usr/bin/gcc
-DCONFDIR=\"/etc\" -Wcast-qual -Wbad-function-cast -Wpointer-arith
-Wmissing-prototypes -Wstrict-prototypes -Wall -Wwrite-strings
-Wsign-compare -Wformat-security -Wno-write-strings -O3 -DNDEBUG
-I/home/et0640/source/hatari -I/usr/include/SDL
-I/home/et0640/source/hatari/src/uae-cpu
-I/home/et0640/source/hatari/src/includes
-I/home/et0640/source/hatari/src/debug
-I/home/et0640/source/hatari/src/falcon
-I/home/et0640/source/hatari/src/gui-sdl/.
-I/home/et0640/source/hatari/src/gui-sdl/../..
-I/home/et0640/source/hatari/src/gui-sdl/../debug
-I/home/et0640/source/hatari/src/gui-sdl/../includes
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o
CMakeFiles/GuiSdl.dir/dlgFileSelect.c.o -c
/home/et0640/source/hatari/src/gui-sdl/dlgFileSelect.c
In file included from /home/et0640/source/hatari/src/gui-sdl/dlgFileSelect.c:16:
/home/et0640/source/hatari/src/includes/scandir.h:19: error:
conflicting types for 'alphasort'
/usr/include/dirent.h:112: error: previous declaration of 'alphasort' was here
/home/et0640/source/hatari/src/includes/scandir.h:19: error:
conflicting types for 'alphasort'
/usr/include/dirent.h:112: error: previous declaration of 'alphasort' was here
/home/et0640/source/hatari/src/includes/scandir.h:20: error:
conflicting types for 'scandir'
/usr/include/dirent.h:110: error: previous declaration of 'scandir' was here
/home/et0640/source/hatari/src/includes/scandir.h:20: error:
conflicting types for 'scandir'
/usr/include/dirent.h:110: error: previous declaration of 'scandir' was here
make[2]: *** [src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgFileSelect.c.o] Error 1
make[2]: Leaving directory `/home/et0640/source/hatari'
make[1]: *** [src/gui-sdl/CMakeFiles/GuiSdl.dir/all] Error 2
make[1]: Leaving directory `/home/et0640/source/hatari'
make: *** [all] Error 2
--
chs,
More information about the hatari-devel
mailing list