[hatari-devel] Build fails |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: [hatari-devel] Build fails
- From: ragnar <ragnar76@xxxxxxxxxxxxxx>
- Date: Wed, 16 Jan 2019 21:29:35 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=Z3PUy4XQ4LkX6twir6Q7Muf1CQGRtzRlV1iodR+RP7Q=; b=PUqUR5K9MSIUgbzG3CnrcRI0J4q5mc9Bt0y1xvPk4mf5+xwq1CHFawS4OC+9DawRyP swmEsP3jh/9rx2v0VJgO4uieIiAhAyzkyP7Cmnv90gQbrUQgTkHZKFG+Ymrpj8t51NdH VvpkozRAn+IzcGffVb5V2LPOxEbTdDcFCKSqAxxn0Ck9gn3FlKbLdNFwQwl3ZSjfFzw+ G7q7vHAQqr26Q3UY/1DIczcrvO//kELR4NRXmzQCX/N4yiwQRP34Qa8k6jayEtFIz+D9 KRnHyJPZ14YQMsCSNBGonST9nGAF1cNFXr2ocFTCO+VUELQ/JXTgaRX2sfke+8ZnmCWG QmHg==
Hi there,
i have some trouble building hatari from source (fresh hg clone on Linux
Mint 18.3). I've configured it using this:
../configure --prefix=/usr --enable-winuae-cpu
which gave me this short summary
Libraries summary :
-------------------
- sdl : using SDL2 v2.0.4
- readline : found, enables history/completion in the debugger
- zlib : found, allows to use zip/gz files directly
- png : found, allows to compress screenshot/avi files using png
- portaudio : found, enables the microphone input in Falcon mode
- portmidi : not found, install it for MIDI support on Windows / OSX
- capsimage : v5 not found, install it to use .IPF, .RAW and .CTR disk
images
- udev : found, required for media change detection in NatFeats SCSI
devices on udev-based systems (Linux)
then, after "make" it immediately stops with this error:
ragnar@albenhus ~/src/hatari $ make
Scanning dependencies of target Floppy
[ 1%] Building C object src/CMakeFiles/Floppy.dir/createBlankImage.c.o
In file included from /usr/include/x86_64-linux-gnu/sys/types.h:219:0,
from /usr/include/stdlib.h:121,
from /home/ragnar/src/hatari/src/includes/main.h:14,
from /home/ragnar/src/hatari/src/createBlankImage.c:11:
/usr/include/x86_64-linux-gnu/sys/select.h:54:18: error: conflicting
types for ‘__fd_mask’
typedef long int __fd_mask;
^
In file included from /usr/include/stdio.h:45:0,
from /home/ragnar/src/hatari/src/includes/main.h:13,
from /home/ragnar/src/hatari/src/createBlankImage.c:11:
/usr/include/x86_64-linux-gnu/bits/types.h:86:27: note: previous
declaration of ‘__fd_mask’ was here
typedef unsigned long int __fd_mask;
^
src/CMakeFiles/Floppy.dir/build.make:62: recipe for target
'src/CMakeFiles/Floppy.dir/createBlankImage.c.o' failed
make[2]: *** [src/CMakeFiles/Floppy.dir/createBlankImage.c.o] Error 1
CMakeFiles/Makefile2:162: recipe for target
'src/CMakeFiles/Floppy.dir/all' failed
make[1]: *** [src/CMakeFiles/Floppy.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Hope this helps and what can i do to build it?
Greetings