[hatari-devel] CMake build system

George Nakos ggn at hol.gr
Sat Jan 23 15:09:00 CET 2010


Hello Thomas,

I'm  still  running into some problems with cmake build here. Right at
the end of the build process I get these messages.

CMakeFiles/hatari.dir/file.c.obj:file.c:(.text+0x2b4): undefined reference to `select at 20'
Linking C executable hatari.exe
c:/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../libmingw32.a(main.o):main.c:(.text+0xd2): undefined reference to `WinMain at 16'
collect2: ld returned 1 exit status
make[2]: *** [src/hatari.exe] Error 1
make[1]: *** [src/CMakeFiles/hatari.dir/all] Error 2
make: *** [all] Error 2

After  some  digging  I  saw  that  the  first error occurs because of
HAVE_SELECT.  To  overcome  that I went to file.c and changed the line
that says #if !(HAVE_SELECT) to #if 0 to overcome this.

But  the second error has me stumped :/ I haven't seen that one as far
as I can remember...

Suggestions are welcome :)


-- 
Best regards,
 George                            mailto:ggn at hol.gr




More information about the hatari-devel mailing list