[hatari-devel] Unable to compile hatari on Solaris 11
Christer Solskogen
christer.solskogen at gmail.com
Fri Apr 29 08:56:17 CEST 2011
On Sat, Apr 23, 2011 at 3:47 PM, Christer Solskogen
<christer.solskogen at gmail.com> wrote:
> On Sat, Apr 23, 2011 at 3:21 PM, Thomas Huth <huth at users.berlios.de> wrote:
>
>> FYI: I've added a proper CMake test for these two functions now, so the
>> problem should hopefully be gone.
>>
>
> Cool. I'll test when I get access to that machine again.
>
It got me a lot futher.
Now I see this:
Linking C executable hatari
cd /home/et0640/source/hatari/src && /usr/local/bin/cmake -E
cmake_link_script CMakeFiles/hatari.dir/link.txt --verbose=1
/usr/bin/gcc -Wcast-qual -Wbad-function-cast -Wpointer-arith
-Wmissing-prototypes -Wstrict-prototypes -Wall -Wwrite-strings
-Wsign-compare -Wformat-security -O3 -DNDEBUG
CMakeFiles/hatari.dir/audio.c.o CMakeFiles/hatari.dir/avi_record.c.o
CMakeFiles/hatari.dir/bios.c.o CMakeFiles/hatari.dir/blitter.c.o
CMakeFiles/hatari.dir/cart.c.o CMakeFiles/hatari.dir/cfgopts.c.o
CMakeFiles/hatari.dir/configuration.c.o
CMakeFiles/hatari.dir/options.c.o CMakeFiles/hatari.dir/change.c.o
CMakeFiles/hatari.dir/control.c.o CMakeFiles/hatari.dir/cycInt.c.o
CMakeFiles/hatari.dir/cycles.c.o CMakeFiles/hatari.dir/dialog.c.o
CMakeFiles/hatari.dir/dmaSnd.c.o CMakeFiles/hatari.dir/fdc.c.o
CMakeFiles/hatari.dir/file.c.o CMakeFiles/hatari.dir/floppy.c.o
CMakeFiles/hatari.dir/gemdos.c.o CMakeFiles/hatari.dir/hd6301_cpu.c.o
CMakeFiles/hatari.dir/hdc.c.o CMakeFiles/hatari.dir/ide.c.o
CMakeFiles/hatari.dir/ikbd.c.o CMakeFiles/hatari.dir/ioMem.c.o
CMakeFiles/hatari.dir/ioMemTabST.c.o
CMakeFiles/hatari.dir/ioMemTabSTE.c.o
CMakeFiles/hatari.dir/ioMemTabTT.c.o
CMakeFiles/hatari.dir/ioMemTabFalcon.c.o CMakeFiles/hatari.dir/joy.c.o
CMakeFiles/hatari.dir/keymap.c.o CMakeFiles/hatari.dir/m68000.c.o
CMakeFiles/hatari.dir/main.c.o CMakeFiles/hatari.dir/midi.c.o
CMakeFiles/hatari.dir/memorySnapShot.c.o CMakeFiles/hatari.dir/mfp.c.o
CMakeFiles/hatari.dir/paths.c.o CMakeFiles/hatari.dir/psg.c.o
CMakeFiles/hatari.dir/printer.c.o CMakeFiles/hatari.dir/resolution.c.o
CMakeFiles/hatari.dir/rs232.c.o CMakeFiles/hatari.dir/reset.c.o
CMakeFiles/hatari.dir/rtc.c.o CMakeFiles/hatari.dir/scandir.c.o
CMakeFiles/hatari.dir/stMemory.c.o CMakeFiles/hatari.dir/screen.c.o
CMakeFiles/hatari.dir/screenSnapShot.c.o
CMakeFiles/hatari.dir/shortcut.c.o CMakeFiles/hatari.dir/sound.c.o
CMakeFiles/hatari.dir/spec512.c.o CMakeFiles/hatari.dir/statusbar.c.o
CMakeFiles/hatari.dir/str.c.o CMakeFiles/hatari.dir/tos.c.o
CMakeFiles/hatari.dir/unzip.c.o CMakeFiles/hatari.dir/utils.c.o
CMakeFiles/hatari.dir/vdi.c.o CMakeFiles/hatari.dir/video.c.o
CMakeFiles/hatari.dir/wavFormat.c.o CMakeFiles/hatari.dir/xbios.c.o
CMakeFiles/hatari.dir/ymFormat.c.o -o hatari
-L/home/et0640/source/hatari/src/debug
-L/home/et0640/source/hatari/src/falcon
-L/home/et0640/source/hatari/src/gui-sdl
-L/home/et0640/source/hatari/src/uae-cpu debug/libDebug.a
falcon/libFalcon.a gui-sdl/libGuiSdl.a libFloppy.a uae-cpu/libUaeCpu.a
-lSDL -lthread -lm -lz -lpng -lX11
-Wl,-R/home/et0640/source/hatari/src/debug:/home/et0640/source/hatari/src/falcon:/home/et0640/source/hatari/src/gui-sdl:/home/et0640/source/hatari/src/uae-cpu:
Undefined first referenced
symbol in file
socket CMakeFiles/hatari.dir/control.c.o
(symbol belongs to implicit dependency /usr/lib/libsocket.so.1)
connect CMakeFiles/hatari.dir/control.c.o
(symbol belongs to implicit dependency /usr/lib/libsocket.so.1)
ld: fatal: symbol referencing errors. No output written to hatari
collect2: ld returned 1 exit status
make[2]: *** [src/hatari] Error 1
make[2]: Leaving directory `/home/et0640/source/hatari'
make[1]: *** [src/CMakeFiles/hatari.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