Skip to content

Instantly share code, notes, and snippets.

@funrep
Created June 9, 2013 17:57
Show Gist options
  • Save funrep/5744529 to your computer and use it in GitHub Desktop.
Save funrep/5744529 to your computer and use it in GitHub Desktop.
$ sudo prt-get depinst libsdl
prt-get: installing /usr/ports/opt/libsdl
=======> Building '/usr/ports/opt/libsdl/libsdl#1.2.15-1.pkg.tar.gz'.
bsdtar -p -o -C /usr/ports/opt/libsdl/work/src -xf /usr/ports/opt/libsdl/SDL-1.2.15.tar.gz
+ build
+ cd SDL-1.2.15
+ ./configure --prefix=/usr --enable-alsa --mandir=/usr/man
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
[...]
In file included from ./src/video/x11/SDL_x11dyn.c:96:0:
./src/video/x11/SDL_x11sym.h:168:1: error: conflicting types for '_XData32'
In file included from ./src/video/x11/SDL_x11dyn.h:34:0,
from ./src/video/x11/SDL_x11dyn.c:26:
/usr/include/X11/Xlibint.h:595:12: note: previous declaration of '_XData32' was here
/bin/sh ./libtool --mode=compile gcc -O2 -march=x86-64 -pipe -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -DXTHREADS -D_REENTRANT -DHAVE_LINUX_VERSION_H -Wall -c ./src/video/x11/SDL_x11gamma.c -o build/SDL_x11gamma.lo
make: *** [build/SDL_x11dyn.lo] Error 1
make: *** Waiting for unfinished jobs....
libtool: compile: gcc -O2 -march=x86-64 -pipe -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -DXTHREADS -D_REENTRANT -DHAVE_LINUX_VERSION_H -Wall -c ./src/video/x11/SDL_x11events.c -fPIC -DPIC -o build/.libs/SDL_x11events.o
libtool: compile: gcc -O2 -march=x86-64 -pipe -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -DXTHREADS -D_REENTRANT -DHAVE_LINUX_VERSION_H -Wall -c ./src/video/x11/SDL_x11gamma.c -fPIC -DPIC -o build/.libs/SDL_x11gamma.o
libtool: compile: gcc -O2 -march=x86-64 -pipe -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -DXTHREADS -D_REENTRANT -DHAVE_LINUX_VERSION_H -Wall -c ./src/video/x11/SDL_x11dga.c -o build/SDL_x11dga.o >/dev/null 2>&1
./src/video/x11/SDL_x11events.c: In function 'X11_TranslateKeycode':
./src/video/x11/SDL_x11events.c:1124:2: warning: 'XKeycodeToKeysym' is deprecated (declared at /usr/include/X11/Xlib.h:1699) [-Wdeprecated-declarations]
./src/video/x11/SDL_x11events.c: In function 'get_modifier_masks':
./src/video/x11/SDL_x11events.c:1216:4: warning: 'XKeycodeToKeysym' is deprecated (declared at /usr/include/X11/Xlib.h:1699) [-Wdeprecated-declarations]
libtool: compile: gcc -O2 -march=x86-64 -pipe -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -DXTHREADS -D_REENTRANT -DHAVE_LINUX_VERSION_H -Wall -c ./src/video/x11/SDL_x11gamma.c -o build/SDL_x11gamma.o >/dev/null 2>&1
libtool: compile: gcc -O2 -march=x86-64 -pipe -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -DXTHREADS -D_REENTRANT -DHAVE_LINUX_VERSION_H -Wall -c ./src/video/x11/SDL_x11events.c -o build/SDL_x11events.o >/dev/null 2>&1
=======> ERROR: Building '/usr/ports/opt/libsdl/libsdl#1.2.15-1.pkg.tar.gz' failed.
prt-get: error while install
-- Packages where install failed
libsdl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment