From: Philipp Thomas
gcc -DPACKAGE=\"SDL\" -DVERSION=\"1.1.6\" -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -I. -g -O2 -Wall -DESD_SUPPORT -I/usr/X11R6/include -DENABLE_X11 -DXFREE86_VM -DXFREE86_DGAMOUSE -DDEFAULT_DGAMOUSE -DENABLE_FBCON -DHAVE_OPENGL -D_REENTRANT -DSDL_USE_PTHREADS -I../../include -I../../include/SDL -I../../src -I../../src/linux -I../../src/main -I../../src/audio -I../../src/video -I../../src/events -I../../src/joystick -I../../src/cdrom -I../../src/thread -I../../src/timer -I../../src/endian -I../../src/file -c SDL_sysjoystick.c -fPIC -DPIC -o .libs/SDL_sysjoystick.lo In file included from /usr/include/linux/module.h:10, from /usr/include/linux/joystick.h:33, from SDL_sysjoystick.c:42: /usr/include/linux/config.h:4: linux/autoconf.h: No such file or directory make[2]: *** [SDL_sysjoystick.lo] Error 1 make[2]: Leaving directory `/home/landie/SDL-1.1.6/src/joystick' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/landie/SDL-1.1.6/src' make: *** [all-recursive] Error 1
Three possible reasons: 1) You haven't installed the kernel sources 2) You have, but forgot to configure the kernel via 'make config' or 'make menuconfig'. 3) The symlink /usr/src/linux/include/linux -> /usr/include/linux is missing. Philipp -- Penguins to save the dinosaurs -- Handelsblatt on Linux for S/390