vanfanel / SDL12-kms-dispmanx

libSDL 1.2.15 with KMS and Dispmanx (Raspberry Pi VC) backends, with working double buffer + vsync
GNU Lesser General Public License v2.1
14 stars 5 forks source link

make install error #6

Closed sxales closed 7 years ago

sxales commented 7 years ago

Trying to install on a RPI3 with RetroPie 4.3.3

/bin/bash ./libtool --mode=compile gcc -Ofast -march=armv6j -mfpu=vfp -mfloat-abi=hard  -I./include -D_GNU_SOURCE=1 -fvisibility=hidden  -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -Wall -DHAVE_LIBOPENMAX=2 -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DHAVE_LIBBCM_HOST -DUSE_EXTERNAL_LIBBCM_HOST -DUSE_VCHIQ_ARM -Wno-psabi -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -D_REENTRANT -DHAVE_LINUX_VERSION_H -Wall -c ./src/SDL.c  -o build/SDL.lo
libtool: compile:  gcc -Ofast -march=armv6j -mfpu=vfp -mfloat-abi=hard -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -Wall -DHAVE_LIBOPENMAX=2 -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DHAVE_LIBBCM_HOST -DUSE_EXTERNAL_LIBBCM_HOST -DUSE_VCHIQ_ARM -Wno-psabi -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -D_REENTRANT -DHAVE_LINUX_VERSION_H -Wall -c ./src/SDL.c  -fPIC -DPIC -o build/.libs/SDL.o
In file included from /usr/include/endian.h:60:0,
                 from /usr/include/arm-linux-gnueabihf/sys/types.h:216,
                 from ./include/SDL_stdinc.h:34,
                 from ./include/SDL_main.h:26,
                 from ./include/SDL.h:30,
                 from ./src/SDL.c:26:
/usr/include/arm-linux-gnueabihf/bits/byteswap.h: In function ‘__bswap_32’:
/usr/include/arm-linux-gnueabihf/bits/byteswap.h:45:1: sorry, unimplemented: Thumb-1 hard-float VFP ABI
 {
 ^
build-deps:29: recipe for target 'build/SDL.lo' failed
make: *** [build/SDL.lo] Error 1
sxales commented 7 years ago

Resolved by following:

 $ git clone https://github.com/vanfanel/SDL-1.2.15-raspberrypi.git
 $ cd SDL-1.2.15-raspberrypi
 $ if [ `uname -m` = armv6l ]; then ./MAC_ConfigureSDL12-rpi1.sh; else ./MAC_ConfigureSDL12-rpi2.sh; fi
 $ make && sudo make install