[SDL] SDL 1.2.8 Prerelease

Johannes Schmidt sdl at myrealbox.com
Thu Dec 16 02:32:15 PST 2004


Am Mittwoch 15 Dezember 2004 19:15 schrieb Stephane Marchesin:
[...]
> > This file is included here (as a new work around for 2.6.9) since
> > revision 1.9:
> >
> > src/cdrom/linux/SDL_syscdrom.c, line 41
> > #include <linux/version.h>
> >
> > That means:
> > I can't compile SDL without modifying the source or pray that the admins
> > may understand my problem.
> >
> > Perhaps someone knows an easier workaround ...
>
> Does it work if you add
> #undef __KERNEL__
> before the line containing #include <linux/version.h> ?
>
> If it doesn't, send me your /usr/include/linux/version.h

My version.h contains just some CPP error messages:
-
/*
 * Dummy file include/linux/version.h that gets replaced when the
 * kernel is configured for the first time.
 */

#error "The kernel sources in /usr/src/linux are not yet configured."
#error "Please run 'make cloneconfig && make dep' in /usr/src/linux/"
#error "to get a kernel that is configured like the running kernel."
#error "Alternatively, you can copy one of the config files"
#error "arch/$ARCH/defconfig.* to .config, and run"
#error "'make oldconfig && make dep' to configure the kernel"
#error "for that configuration."
-

Regards,
Johannes

< http://libufo.sourceforge.net > The OpenGL GUI Toolkit




More information about the SDL mailing list