Re: [hatari-devel] Compile time error on Linux |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Compile time error on Linux
- From: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Sun, 25 Mar 2018 11:48:15 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1521971301; bh=bGIMyrmNx22uYw7Mbqd6nk1W7exZ+2MsJ1R6apku9KQ=; h=Date:From:To:Subject:From; b=otlL+E2YSoQ+oeRhPdIWXpYyvsLtmwRRBjZNdgNXdrFONHCyv8FQFsZoHRlelPcJQ 1DihyqejLWpWpFa36fLJnuP79pxiumv0gnFuxzWjRmWzfgr//5e3/jOO1vo0oXVCTk tcCRXhPkEuzDzqzGjplklVMiZFTLmiQkUXa+p6tDi9/sSQvrsM91/KJvGxD+UPNdW2 meZLVB8/6QaWyigFm8jLOFz0Gp4kziqaR74V727XM+mUpum11EIu95kGKVYqjqSJVJ UYXy2d7TZwWJ1tmsQ9F/wXVa6lwq/K4TbMFvnuaVZjhk2hCR5oJPoc8bZ8zeAeV9CJ 1x69N+rEr8jqQ==
Am Sun, 25 Mar 2018 09:10:00 +0200
schrieb Uwe Seimet <Uwe.Seimet@xxxxxxxxx>:
> Hi all,
>
> With the latest sources and libsdl 2.0.4 on Linux 4.15.9 I get this
> compile time error:
>
> [100%] Linking C executable hatari
> CMakeFiles/hatari.dir/hdc.c.o: In function `HDC_PartitionCount':
> hdc.c:(.text+0x183e): undefined reference to `SDL_SwapLE32'
> hdc.c:(.text+0x184d): undefined reference to `SDL_SwapLE32'
Ok, that's likely related to the SDL.h header clean-up that I did
yesterday. Does it work if you add a
#include <SDL_endian.h>
at the beginning of hdc.c ?
And if that does not help, could you try #include <SDL.h> there instead?
Thanks,
Thomas