problems with smscoreapi
CC [M] /root/v4l-dvb/v4l/smscoreapi.o/root/v4l-dvb/v4l/smscoreapi.c: In function 'smscore_detect_mode':/root/v4l-dvb/v4l/smscoreapi.c:689: error: 'uintptr_t' undeclared (first use in this function) /root/v4l-dvb/v4l/smscoreapi.c:689: error: (Each undeclared identifier is reported only once /root/v4l-dvb/v4l/smscoreapi.c:689: error: for each function it appears in.) /root/v4l-dvb/v4l/smscoreapi.c: In function 'smscore_set_device_mode':/root/v4l-dvb/v4l/smscoreapi.c:820: error: 'uintptr_t' undeclared (first use in this function) make[5]: *** [/root/v4l-dvb/v4l/smscoreapi.o] Error 1
make[4]: *** [_module_/root/v4l-dvb/v4l] Error 2
make[3]: *** [modules] Error 2
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.22.18-0.2-obj/i386/default' make[1]: *** [default] Error 2
make[1]: Leaving directory `/root/v4l-dvb/v4l'
make: *** [all] Error 2
_______________________________________________________________________
Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 30 Tage kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220
_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Quoted 7 lines · Johannes Weber
CC [M]
/root/v4l-dvb/v4l/smscoreapi.o/root/v4l-dvb/v4l/smscoreapi.c: In function 'smscore_detect_mode':/root/v4l-dvb/v4l/smscoreapi.c:689: error: 'uintptr_t' undeclared (first use in this function)/root/v4l-dvb/v4l/smscoreapi.c:689: error: (Each undeclared identifier is reported only once/root/v4l-dvb/v4l/smscoreapi.c:689: error: for each function it appears in.)/root/v4l-dvb/v4l/smscoreapi.c: In function 'smscore_set_device_mode':/root/v4l-dvb/v4l/smscoreapi.c:820: error: 'uintptr_t' undeclared (first use in this function)
Quoted 8 lines
make[5]: *** [
/root/v4l-dvb/v4l/smscoreapi.o] Error 1
make[4]: *** [_module_/root/v4l-dvb/v4l] Error 2
make[3]: *** [modules] Error 2
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.22.18-0.2-obj/i386/default' make[1]: *** [default] Error 2
make[1]: Leaving directory `/root/v4l-dvb/v4l'
make: *** [all] Error 2
Please try this patch:
# HG changeset patch
# User Michael Krufky <[email protected]> # Date 1216010022 14400
# Node ID 9ccf2533792a1e91988ae827190d1472f96e1ba4 # Parent d49b1e522b37ecdbe659b234f156788216216b11
sms1xxx: fix compat for kernel 2.6.22 and earlier
From: Michael Krufky <[email protected]>
linux/drivers/media/dvb/siano/smscoreapi.h +1 -1
@@ -29,7 +29,7 @@#include <linux/scatterlist.h> #include <linux/types.h> #include <asm/page.h> - +#include "compat.h" #include "dmxdev.h" #include "dvbdev.h" #include "dvb_demux.h"
v4l/compat.h +4 -0
@@ -210,4 +210,8 @@ static inline struct proc_dir_entry *pro#endif +#if LINUX_VERSION_CODE <KERNEL_VERSION (2 ,6 ,23 ) +typedef unsigned long uintptr_t ;#endif + +#endif
_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb