[hatari-devel] Unable to compile hatari on Solaris 11
Thomas Huth
huth at users.berlios.de
Sat Apr 23 15:21:32 CEST 2011
Am Thu, 7 Apr 2011 20:20:45 +0300
schrieb Eero Tamminen <oak at helsinkinet.fi>:
> Hi,
>
> On torstai 07 huhtikuu 2011, Christer Solskogen wrote:
> > This is the preliminary error. Is this a problem with the hatari or
> > the compiler?
> >
> > gcc-3.4.3
> >
> ...
> > /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'
...
> Or you could look into adding check for these functions to CMake
> configuration + some define that's used instead of the OS defines...
FYI: I've added a proper CMake test for these two functions now, so the
problem should hopefully be gone.
Regards,
Thomas
More information about the hatari-devel
mailing list