Christoph Kaminski wrote:

apt-get build-dep libsdl1.2debian
apt-get source libsdl1.2debian
apt-get install libdirectfb-dev
change the rules file in libsdl source (append --enable-video-directfb on the right point)
dpkg-buildpackage -us -uc -rfakeroot in libsdl source dir
dpkg -i libsdl...




Thanks for a tip...

dpkg-buildpackage -us -uc -rfakeroot gives a similar error...


In file included from ../../../../SDL-1.2.7+1.2.8cvs20041007/src/cdrom/linux/SDL_syscdrom.c:40:
/usr/include/linux/cdrom.h:242: error: parse error before '*' token
/usr/include/linux/cdrom.h:283: error: parse error before '*' token
/usr/include/linux/cdrom.h:285: error: `stat' redeclared as different kind of symbol
/usr/include/sys/stat.h:358: error: previous declaration of `stat'
/usr/include/linux/cdrom.h:286: error: parse error before '*' token
/usr/include/linux/cdrom.h:290: error: parse error before '*' token
/usr/include/linux/cdrom.h:291: error: parse error before '}' token
../../../../SDL-1.2.7+1.2.8cvs20041007/src/cdrom/linux/SDL_syscdrom.c: In function `CheckDrive':
../../../../SDL-1.2.7+1.2.8cvs20041007/src/cdrom/linux/SDL_syscdrom.c:117: error: called object is not a function
make[4]: *** [SDL_syscdrom.lo] Error 1
make[4]: Leaving directory `/var/libsdl1.2-1.2.7+1.2.8cvs20041007/build-tree/alsa/src/cdrom/linux'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/libsdl1.2-1.2.7+1.2.8cvs20041007/build-tree/alsa/src/cdrom'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/libsdl1.2-1.2.7+1.2.8cvs20041007/build-tree/alsa/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/libsdl1.2-1.2.7+1.2.8cvs20041007/build-tree/alsa'
make: *** [debian/stampdir/build] Error 2
a80-186-107-162:/var/libsdl1.2-1.2.7+1.2.8cvs20041007#



Here is part of 'cdrom.h' and full-file is here http://80.186.107.162/~htpc/cdrom
Im not sure is there anything wrong in a file, or somewhere else... Never edit the file though...


line:279 /* for CDROM_PACKET_COMMAND ioctl */
280 struct cdrom_generic_command
281 {
282 unsigned char cmd[CDROM_PACKET_SIZE];
283 unsigned char __user *buffer;
284 unsigned int buflen;
285 int stat;
286 struct request_sense __user *sense;
287 unsigned char data_direction;
288 int quiet;
289 int timeout;
290 void __user *reserved[1]; /* unused, actually */
291 };




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to