* smscoreapi.c:689: error: 'uintptr_t' undeclared
@ 2008-07-12 22:46 Peter Schlaf
2008-07-12 22:56 ` Michael Krufky
0 siblings, 1 reply; 10+ messages in thread
From: Peter Schlaf @ 2008-07-12 22:46 UTC (permalink / raw)
To: Linux and Kernel Video
to workaround this i edited v4l/Makefile.media and commented out
sms1xxx-objs := smscoreapi.o smsusb.o smsdvb.o sms-cards.o
obj-$(CONFIG_DVB_SIANO_SMS1XXX) += sms1xxx.o
after that, compiling all the other modules ended successfully.
cu
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: smscoreapi.c:689: error: 'uintptr_t' undeclared
2008-07-12 22:46 Peter Schlaf
@ 2008-07-12 22:56 ` Michael Krufky
2008-07-13 10:02 ` Peter Schlaf
0 siblings, 1 reply; 10+ messages in thread
From: Michael Krufky @ 2008-07-12 22:56 UTC (permalink / raw)
To: Peter Schlaf; +Cc: Linux and Kernel Video
Peter,
Peter Schlaf wrote:
> to workaround this i edited v4l/Makefile.media and commented out
>
> sms1xxx-objs := smscoreapi.o smsusb.o smsdvb.o sms-cards.o
>
> obj-$(CONFIG_DVB_SIANO_SMS1XXX) += sms1xxx.o
>
>
> after that, compiling all the other modules ended successfully.
Thank you for posting this error. Here is a fix:
diff -r f6b65eef0c94 linux/drivers/media/dvb/siano/smscoreapi.h
--- a/linux/drivers/media/dvb/siano/smscoreapi.h Fri Jul 11 20:37:08 2008 -0400
+++ b/linux/drivers/media/dvb/siano/smscoreapi.h Sat Jul 12 18:55:02 2008 -0400
@@ -27,6 +27,7 @@
#include <linux/list.h>
#include <linux/mm.h>
#include <linux/scatterlist.h>
+#include <linux/types.h>
#include <asm/page.h>
#include "dmxdev.h"
I'll push this in now.
Regards,
Mike Krufky
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: smscoreapi.c:689: error: 'uintptr_t' undeclared
2008-07-12 22:56 ` Michael Krufky
@ 2008-07-13 10:02 ` Peter Schlaf
0 siblings, 0 replies; 10+ messages in thread
From: Peter Schlaf @ 2008-07-13 10:02 UTC (permalink / raw)
To: Linux and Kernel Video
hi,
thank you for your reply.
unfortunately there is no 'uintptr_t' in linux/types.h of my system
(openSuSE 10.3, kernel 2.6.22.18-0.2-bigsmp) or in other files it includes.
a search for 'uintptr_t' under /usr/src/linux resulted in this:
drivers/net/sk98lin/h/skdrv1st.h:142:#define uintptr_t unsigned long
i put this define into smscoreapi.h and it worked.
cu
Michael Krufky schrieb:
> Peter,
>
> Peter Schlaf wrote:
>> to workaround this i edited v4l/Makefile.media and commented out
>>
>> sms1xxx-objs := smscoreapi.o smsusb.o smsdvb.o sms-cards.o
>>
>> obj-$(CONFIG_DVB_SIANO_SMS1XXX) += sms1xxx.o
>>
>>
>> after that, compiling all the other modules ended successfully.
>
>
> Thank you for posting this error. Here is a fix:
>
> diff -r f6b65eef0c94 linux/drivers/media/dvb/siano/smscoreapi.h
> --- a/linux/drivers/media/dvb/siano/smscoreapi.h Fri Jul 11 20:37:08 2008 -0400
> +++ b/linux/drivers/media/dvb/siano/smscoreapi.h Sat Jul 12 18:55:02 2008 -0400
> @@ -27,6 +27,7 @@
> #include <linux/list.h>
> #include <linux/mm.h>
> #include <linux/scatterlist.h>
> +#include <linux/types.h>
> #include <asm/page.h>
>
> #include "dmxdev.h"
>
>
> I'll push this in now.
>
> Regards,
>
> Mike Krufky
>
>
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: smscoreapi.c:689: error: 'uintptr_t' undeclared
@ 2008-07-16 12:55 Anthony Edwards
2008-07-16 13:00 ` Michael Krufky
[not found] ` <487DF0C6.6080209@krufky.com>
0 siblings, 2 replies; 10+ messages in thread
From: Anthony Edwards @ 2008-07-16 12:55 UTC (permalink / raw)
To: video4linux-list
This appears to be an issue affecting a number of users, for example:
http://forum.linuxmce.org/index.php?action=profile;u=41878;sa=showPosts
I have experienced it too today after attempting to recompile drivers
for my Hauppauge Nova-T USB TV tuner following an Ubuntu kernel update.
After obtaining the latest source code using hg clone, I have found
that it will not successfully compile. I am seeing the same make
errors as the poster in the posting referenced above.
Unfortunately, I lack the necessary programming knowledge to hack the
source code in order to make it work.
Is a fix in the pipeline?
--
Anthony Edwards
anthony@yoyo.org
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: smscoreapi.c:689: error: 'uintptr_t' undeclared
2008-07-16 12:55 smscoreapi.c:689: error: 'uintptr_t' undeclared Anthony Edwards
@ 2008-07-16 13:00 ` Michael Krufky
[not found] ` <487DF0C6.6080209@krufky.com>
1 sibling, 0 replies; 10+ messages in thread
From: Michael Krufky @ 2008-07-16 13:00 UTC (permalink / raw)
To: Anthony Edwards; +Cc: video4linux-list, Mauro Carvalho Chehab
Anthony Edwards wrote:
> This appears to be an issue affecting a number of users, for example:
>
> http://forum.linuxmce.org/index.php?action=profile;u=41878;sa=showPosts
>
> I have experienced it too today after attempting to recompile drivers
> for my Hauppauge Nova-T USB TV tuner following an Ubuntu kernel update.
>
> After obtaining the latest source code using hg clone, I have found
> that it will not successfully compile. I am seeing the same make
> errors as the poster in the posting referenced above.
>
> Unfortunately, I lack the necessary programming knowledge to hack the
> source code in order to make it work.
>
> Is a fix in the pipeline?
>
The fix is here -- please feel free to test it:
http://linuxtv.org/hg/~mkrufky/sms1xxx
I sent a pull request to Mauro a few days ago -- I don't know why it has not been merged yet.
-Mike
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: smscoreapi.c:689: error: 'uintptr_t' undeclared
[not found] ` <487DF0C6.6080209@krufky.com>
@ 2008-07-16 13:28 ` Anthony Edwards
2008-07-16 13:31 ` Michael Krufky
[not found] ` <487DF81C.5010908@krufky.com>
0 siblings, 2 replies; 10+ messages in thread
From: Anthony Edwards @ 2008-07-16 13:28 UTC (permalink / raw)
To: Michael Krufky; +Cc: video4linux-list, Mauro Carvalho Chehab
On Wed, Jul 16, 2008 at 08:59:50AM -0400, Michael Krufky wrote:
> Anthony Edwards wrote:
> > This appears to be an issue affecting a number of users, for example:
> >
> > http://forum.linuxmce.org/index.php?action=profile;u=41878;sa=showPosts
> >
> > I have experienced it too today after attempting to recompile drivers
> > for my Hauppauge Nova-T USB TV tuner following an Ubuntu kernel update.
> >
> > After obtaining the latest source code using hg clone, I have found
> > that it will not successfully compile. I am seeing the same make
> > errors as the poster in the posting referenced above.
> >
> > Unfortunately, I lack the necessary programming knowledge to hack the
> > source code in order to make it work.
> >
> > Is a fix in the pipeline?
> >
>
> The fix is here -- please feel free to test it:
>
> http://linuxtv.org/hg/~mkrufky/sms1xxx
>
> I sent a pull request to Mauro a few days ago -- I don't know why it has not been merged yet.
Unfortunately I lack programming knowledge or experience so am not
entirely certain of my understanding of what is meant by the above,
however I have edited:
linux/drivers/media/dvb/siano/smscoreapi.h
So that instead of reading, lines 25 - 30:
#include <linux/version.h>
#include <linux/device.h>
#include <linux/list.h>
#include <linux/mm.h>
#include <linux/scatterlist.h>
#include <asm/page.h>
It now reads, lines 25 - 31:
#include <linux/version.h>
#include <linux/device.h>
#include <linux/list.h>
#include <linux/mm.h>
#include <linux/scatterlist.h>
#include <linux/types.h>
#include <asm/page.h>
That hasn't had the desired effect though, since compilation attempts
are still failing as follows:
/home/anthony/Software/v4l-dvb/v4l/smscoreapi.c: In function 'smscore_detect_mode':
/home/anthony/Software/v4l-dvb/v4l/smscoreapi.c:689: error: 'uintptr_t' undeclared (first use in this function)
/home/anthony/Software/v4l-dvb/v4l/smscoreapi.c:689: error: (Each undeclared identifier is reported only once
/home/anthony/Software/v4l-dvb/v4l/smscoreapi.c:689: error: for each function it appears in.)
/home/anthony/Software/v4l-dvb/v4l/smscoreapi.c: In function 'smscore_set_device_mode':
/home/anthony/Software/v4l-dvb/v4l/smscoreapi.c:820: error: 'uintptr_t' undeclared (first use in this function)
make[3]: *** [/home/anthony/Software/v4l-dvb/v4l/smscoreapi.o] Error 1
make[2]: *** [_module_/home/anthony/Software/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.22-15-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/anthony/Software/v4l-dvb/v4l'
make: *** [all] Error 2
Presumably, if I have understood your instructions and followed them
correctly, something more is additionally needed?
--
Anthony Edwards
anthony@yoyo.org
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: smscoreapi.c:689: error: 'uintptr_t' undeclared
2008-07-16 13:28 ` Anthony Edwards
@ 2008-07-16 13:31 ` Michael Krufky
[not found] ` <487DF81C.5010908@krufky.com>
1 sibling, 0 replies; 10+ messages in thread
From: Michael Krufky @ 2008-07-16 13:31 UTC (permalink / raw)
To: Anthony Edwards; +Cc: video4linux-list, Mauro Carvalho Chehab
Anthony Edwards wrote:
> On Wed, Jul 16, 2008 at 08:59:50AM -0400, Michael Krufky wrote:
>> Anthony Edwards wrote:
>>> This appears to be an issue affecting a number of users, for example:
>>>
>>> http://forum.linuxmce.org/index.php?action=profile;u=41878;sa=showPosts
>>>
>>> I have experienced it too today after attempting to recompile drivers
>>> for my Hauppauge Nova-T USB TV tuner following an Ubuntu kernel update.
>>>
>>> After obtaining the latest source code using hg clone, I have found
>>> that it will not successfully compile. I am seeing the same make
>>> errors as the poster in the posting referenced above.
>>>
>>> Unfortunately, I lack the necessary programming knowledge to hack the
>>> source code in order to make it work.
>>>
>>> Is a fix in the pipeline?
>>>
>> The fix is here -- please feel free to test it:
>>
>> http://linuxtv.org/hg/~mkrufky/sms1xxx
>>
>> I sent a pull request to Mauro a few days ago -- I don't know why it has not been merged yet.
>
> Unfortunately I lack programming knowledge or experience so am not
> entirely certain of my understanding of what is meant by the above,
> however I have edited:
>
> linux/drivers/media/dvb/siano/smscoreapi.h
>
> So that instead of reading, lines 25 - 30:
>
> #include <linux/version.h>
> #include <linux/device.h>
> #include <linux/list.h>
> #include <linux/mm.h>
> #include <linux/scatterlist.h>
> #include <asm/page.h>
>
> It now reads, lines 25 - 31:
>
> #include <linux/version.h>
> #include <linux/device.h>
> #include <linux/list.h>
> #include <linux/mm.h>
> #include <linux/scatterlist.h>
> #include <linux/types.h>
> #include <asm/page.h>
>
> That hasn't had the desired effect though, since compilation attempts
> are still failing as follows:
>
> /home/anthony/Software/v4l-dvb/v4l/smscoreapi.c: In function 'smscore_detect_mode':
> /home/anthony/Software/v4l-dvb/v4l/smscoreapi.c:689: error: 'uintptr_t' undeclared (first use in this function)
> /home/anthony/Software/v4l-dvb/v4l/smscoreapi.c:689: error: (Each undeclared identifier is reported only once
> /home/anthony/Software/v4l-dvb/v4l/smscoreapi.c:689: error: for each function it appears in.)
> /home/anthony/Software/v4l-dvb/v4l/smscoreapi.c: In function 'smscore_set_device_mode':
> /home/anthony/Software/v4l-dvb/v4l/smscoreapi.c:820: error: 'uintptr_t' undeclared (first use in this function)
> make[3]: *** [/home/anthony/Software/v4l-dvb/v4l/smscoreapi.o] Error 1
> make[2]: *** [_module_/home/anthony/Software/v4l-dvb/v4l] Error 2
> make[2]: Leaving directory `/usr/src/linux-headers-2.6.22-15-generic'
> make[1]: *** [default] Error 2
> make[1]: Leaving directory `/home/anthony/Software/v4l-dvb/v4l'
> make: *** [all] Error 2
>
> Presumably, if I have understood your instructions and followed them
> correctly, something more is additionally needed?
>
Yes. The fix is in the tree that I pointed to in my previous email.
-Mike
P.S. Sorry if you've received multiple copies of this email... Some issues with my local mailer here :-/
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: smscoreapi.c:689: error: 'uintptr_t' undeclared
[not found] ` <487DF81C.5010908@krufky.com>
@ 2008-07-16 13:43 ` Anthony Edwards
2008-07-16 13:52 ` Michael Krufky
0 siblings, 1 reply; 10+ messages in thread
From: Anthony Edwards @ 2008-07-16 13:43 UTC (permalink / raw)
To: Michael Krufky; +Cc: video4linux-list, Mauro Carvalho Chehab
On Wed, Jul 16, 2008 at 09:31:08AM -0400, Michael Krufky wrote:
> Anthony Edwards wrote:
> > On Wed, Jul 16, 2008 at 08:59:50AM -0400, Michael Krufky wrote:
> >> Anthony Edwards wrote:
> >>> This appears to be an issue affecting a number of users, for example:
> >>>
> >>> http://forum.linuxmce.org/index.php?action=profile;u=41878;sa=showPosts
> >>>
> >>> I have experienced it too today after attempting to recompile drivers
> >>> for my Hauppauge Nova-T USB TV tuner following an Ubuntu kernel update.
> >>>
> >>> After obtaining the latest source code using hg clone, I have found
> >>> that it will not successfully compile. I am seeing the same make
> >>> errors as the poster in the posting referenced above.
> >>>
> >>> Unfortunately, I lack the necessary programming knowledge to hack the
> >>> source code in order to make it work.
> >>>
> >>> Is a fix in the pipeline?
> >>>
> >> The fix is here -- please feel free to test it:
> >>
> >> http://linuxtv.org/hg/~mkrufky/sms1xxx
> >>
> >> I sent a pull request to Mauro a few days ago -- I don't know why it has not been merged yet.
> >
> > Unfortunately I lack programming knowledge or experience so am not
> > entirely certain of my understanding of what is meant by the above,
> > however I have edited:
> >
> > linux/drivers/media/dvb/siano/smscoreapi.h
> >
> > So that instead of reading, lines 25 - 30:
> >
> > #include <linux/version.h>
> > #include <linux/device.h>
> > #include <linux/list.h>
> > #include <linux/mm.h>
> > #include <linux/scatterlist.h>
> > #include <asm/page.h>
> >
> > It now reads, lines 25 - 31:
> >
> > #include <linux/version.h>
> > #include <linux/device.h>
> > #include <linux/list.h>
> > #include <linux/mm.h>
> > #include <linux/scatterlist.h>
> > #include <linux/types.h>
> > #include <asm/page.h>
> >
> > That hasn't had the desired effect though, since compilation attempts
> > are still failing as follows:
> >
> > /home/anthony/Software/v4l-dvb/v4l/smscoreapi.c: In function 'smscore_detect_mode':
> > /home/anthony/Software/v4l-dvb/v4l/smscoreapi.c:689: error: 'uintptr_t' undeclared (first use in this function)
> > /home/anthony/Software/v4l-dvb/v4l/smscoreapi.c:689: error: (Each undeclared identifier is reported only once
> > /home/anthony/Software/v4l-dvb/v4l/smscoreapi.c:689: error: for each function it appears in.)
> > /home/anthony/Software/v4l-dvb/v4l/smscoreapi.c: In function 'smscore_set_device_mode':
> > /home/anthony/Software/v4l-dvb/v4l/smscoreapi.c:820: error: 'uintptr_t' undeclared (first use in this function)
> > make[3]: *** [/home/anthony/Software/v4l-dvb/v4l/smscoreapi.o] Error 1
> > make[2]: *** [_module_/home/anthony/Software/v4l-dvb/v4l] Error 2
> > make[2]: Leaving directory `/usr/src/linux-headers-2.6.22-15-generic'
> > make[1]: *** [default] Error 2
> > make[1]: Leaving directory `/home/anthony/Software/v4l-dvb/v4l'
> > make: *** [all] Error 2
> >
> > Presumably, if I have understood your instructions and followed them
> > correctly, something more is additionally needed?
> >
>
>
> Yes. The fix is in the tree that I pointed to in my previous email.
>
> -Mike
Can you provide more detail please?
When I visit the URL that you referenced:
http://linuxtv.org/hg/~mkrufky/sms1xxx
I see a web page with multiple, different changes listed.
The only one that appears relevant to the issue that is the subject of
this thread is:
http://linuxtv.org/hg/~mkrufky/sms1xxx/rev/d49b1e522b37
I have, to the best of my knowledge, followed the instructions in
that link, and they do not appear to have worked.
What do you recommend that I do next?
--
Anthony Edwards
anthony@yoyo.org
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: smscoreapi.c:689: error: 'uintptr_t' undeclared
2008-07-16 13:43 ` Anthony Edwards
@ 2008-07-16 13:52 ` Michael Krufky
2008-07-16 15:48 ` Anthony Edwards
0 siblings, 1 reply; 10+ messages in thread
From: Michael Krufky @ 2008-07-16 13:52 UTC (permalink / raw)
To: Anthony Edwards; +Cc: video4linux-list, Mauro Carvalho Chehab
Anthony Edwards wrote:
> On Wed, Jul 16, 2008 at 09:31:08AM -0400, Michael Krufky wrote:
>> Anthony Edwards wrote:
>>> On Wed, Jul 16, 2008 at 08:59:50AM -0400, Michael Krufky wrote:
>>>> Anthony Edwards wrote:
>>>>> This appears to be an issue affecting a number of users, for example:
>>>>>
>>>>> http://forum.linuxmce.org/index.php?action=profile;u=41878;sa=showPosts
>>>>>
>>>>> I have experienced it too today after attempting to recompile drivers
>>>>> for my Hauppauge Nova-T USB TV tuner following an Ubuntu kernel update.
>>>>>
>>>>> After obtaining the latest source code using hg clone, I have found
>>>>> that it will not successfully compile. I am seeing the same make
>>>>> errors as the poster in the posting referenced above.
>>>>>
>>>>> Unfortunately, I lack the necessary programming knowledge to hack the
>>>>> source code in order to make it work.
>>>>>
>>>>> Is a fix in the pipeline?
>>>>>
>>>> The fix is here -- please feel free to test it:
>>>>
>>>> http://linuxtv.org/hg/~mkrufky/sms1xxx
>>>>
>>>> I sent a pull request to Mauro a few days ago -- I don't know why it has not been merged yet.
>>> Unfortunately I lack programming knowledge or experience so am not
>>> entirely certain of my understanding of what is meant by the above,
>>> however I have edited:
>>>
>>> linux/drivers/media/dvb/siano/smscoreapi.h
>>>
>>> So that instead of reading, lines 25 - 30:
>>>
>>> #include <linux/version.h>
>>> #include <linux/device.h>
>>> #include <linux/list.h>
>>> #include <linux/mm.h>
>>> #include <linux/scatterlist.h>
>>> #include <asm/page.h>
>>>
>>> It now reads, lines 25 - 31:
>>>
>>> #include <linux/version.h>
>>> #include <linux/device.h>
>>> #include <linux/list.h>
>>> #include <linux/mm.h>
>>> #include <linux/scatterlist.h>
>>> #include <linux/types.h>
>>> #include <asm/page.h>
>>>
>>> That hasn't had the desired effect though, since compilation attempts
>>> are still failing as follows:
>>>
>>> /home/anthony/Software/v4l-dvb/v4l/smscoreapi.c: In function 'smscore_detect_mode':
>>> /home/anthony/Software/v4l-dvb/v4l/smscoreapi.c:689: error: 'uintptr_t' undeclared (first use in this function)
>>> /home/anthony/Software/v4l-dvb/v4l/smscoreapi.c:689: error: (Each undeclared identifier is reported only once
>>> /home/anthony/Software/v4l-dvb/v4l/smscoreapi.c:689: error: for each function it appears in.)
>>> /home/anthony/Software/v4l-dvb/v4l/smscoreapi.c: In function 'smscore_set_device_mode':
>>> /home/anthony/Software/v4l-dvb/v4l/smscoreapi.c:820: error: 'uintptr_t' undeclared (first use in this function)
>>> make[3]: *** [/home/anthony/Software/v4l-dvb/v4l/smscoreapi.o] Error 1
>>> make[2]: *** [_module_/home/anthony/Software/v4l-dvb/v4l] Error 2
>>> make[2]: Leaving directory `/usr/src/linux-headers-2.6.22-15-generic'
>>> make[1]: *** [default] Error 2
>>> make[1]: Leaving directory `/home/anthony/Software/v4l-dvb/v4l'
>>> make: *** [all] Error 2
>>>
>>> Presumably, if I have understood your instructions and followed them
>>> correctly, something more is additionally needed?
>>>
>>
>> Yes. The fix is in the tree that I pointed to in my previous email.
>>
>> -Mike
>
> Can you provide more detail please?
>
> When I visit the URL that you referenced:
>
> http://linuxtv.org/hg/~mkrufky/sms1xxx
>
> I see a web page with multiple, different changes listed.
>
> The only one that appears relevant to the issue that is the subject of
> this thread is:
>
> http://linuxtv.org/hg/~mkrufky/sms1xxx/rev/d49b1e522b37
>
> I have, to the best of my knowledge, followed the instructions in
> that link, and they do not appear to have worked.
>
> What do you recommend that I do next?
>
Anthony,
You don't think "sms1xxx: fix compat for kernel 2.6.23 and earlier" sounds like it might have something to do with a fix for a build problem on your 2.6.22-15-generic kernel?
I put up a fix, and I requested a merge. That's what I did. You can do one of the following:
1) Wait for the fix to be merged
2) Just disable the sms1xxx driver, since you don't need it anyway.
3) Use the tree that I pointed you to that has the fix
4) cherry pick the fix from the tree that I pointed
Have a nice day.
-Mike
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: smscoreapi.c:689: error: 'uintptr_t' undeclared
2008-07-16 13:52 ` Michael Krufky
@ 2008-07-16 15:48 ` Anthony Edwards
0 siblings, 0 replies; 10+ messages in thread
From: Anthony Edwards @ 2008-07-16 15:48 UTC (permalink / raw)
To: Michael Krufky; +Cc: video4linux-list, Mauro Carvalho Chehab
On Wed, Jul 16, 2008 at 09:52:25AM -0400, Michael Krufky wrote:
> Anthony Edwards wrote:
> > On Wed, Jul 16, 2008 at 09:31:08AM -0400, Michael Krufky wrote:
> >> Anthony Edwards wrote:
> >>> On Wed, Jul 16, 2008 at 08:59:50AM -0400, Michael Krufky wrote:
> >>>> Anthony Edwards wrote:
> >>>>> This appears to be an issue affecting a number of users, for example:
> >>>>>
> >>>>> http://forum.linuxmce.org/index.php?action=profile;u=41878;sa=showPosts
> >>>>>
> >>>>> I have experienced it too today after attempting to recompile drivers
> >>>>> for my Hauppauge Nova-T USB TV tuner following an Ubuntu kernel update.
> >>>>>
> >>>>> After obtaining the latest source code using hg clone, I have found
> >>>>> that it will not successfully compile. I am seeing the same make
> >>>>> errors as the poster in the posting referenced above.
> >>>>>
> >>>>> Unfortunately, I lack the necessary programming knowledge to hack the
> >>>>> source code in order to make it work.
> >>>>>
> >>>>> Is a fix in the pipeline?
> >>>>>
> >>>> The fix is here -- please feel free to test it:
> >>>>
> >>>> http://linuxtv.org/hg/~mkrufky/sms1xxx
> >>>>
> >>>> I sent a pull request to Mauro a few days ago -- I don't know why it has not been merged yet.
> >>> Unfortunately I lack programming knowledge or experience so am not
> >>> entirely certain of my understanding of what is meant by the above,
> >>> however I have edited:
> >>>
> >>> linux/drivers/media/dvb/siano/smscoreapi.h
> >>>
> >>> So that instead of reading, lines 25 - 30:
> >>>
> >>> #include <linux/version.h>
> >>> #include <linux/device.h>
> >>> #include <linux/list.h>
> >>> #include <linux/mm.h>
> >>> #include <linux/scatterlist.h>
> >>> #include <asm/page.h>
> >>>
> >>> It now reads, lines 25 - 31:
> >>>
> >>> #include <linux/version.h>
> >>> #include <linux/device.h>
> >>> #include <linux/list.h>
> >>> #include <linux/mm.h>
> >>> #include <linux/scatterlist.h>
> >>> #include <linux/types.h>
> >>> #include <asm/page.h>
> >>>
> >>> That hasn't had the desired effect though, since compilation attempts
> >>> are still failing as follows:
> >>>
> >>> /home/anthony/Software/v4l-dvb/v4l/smscoreapi.c: In function 'smscore_detect_mode':
> >>> /home/anthony/Software/v4l-dvb/v4l/smscoreapi.c:689: error: 'uintptr_t' undeclared (first use in this function)
> >>> /home/anthony/Software/v4l-dvb/v4l/smscoreapi.c:689: error: (Each undeclared identifier is reported only once
> >>> /home/anthony/Software/v4l-dvb/v4l/smscoreapi.c:689: error: for each function it appears in.)
> >>> /home/anthony/Software/v4l-dvb/v4l/smscoreapi.c: In function 'smscore_set_device_mode':
> >>> /home/anthony/Software/v4l-dvb/v4l/smscoreapi.c:820: error: 'uintptr_t' undeclared (first use in this function)
> >>> make[3]: *** [/home/anthony/Software/v4l-dvb/v4l/smscoreapi.o] Error 1
> >>> make[2]: *** [_module_/home/anthony/Software/v4l-dvb/v4l] Error 2
> >>> make[2]: Leaving directory `/usr/src/linux-headers-2.6.22-15-generic'
> >>> make[1]: *** [default] Error 2
> >>> make[1]: Leaving directory `/home/anthony/Software/v4l-dvb/v4l'
> >>> make: *** [all] Error 2
> >>>
> >>> Presumably, if I have understood your instructions and followed them
> >>> correctly, something more is additionally needed?
> >>>
> >>
> >> Yes. The fix is in the tree that I pointed to in my previous email.
> >>
> >> -Mike
> >
> > Can you provide more detail please?
> >
> > When I visit the URL that you referenced:
> >
> > http://linuxtv.org/hg/~mkrufky/sms1xxx
> >
> > I see a web page with multiple, different changes listed.
> >
> > The only one that appears relevant to the issue that is the subject of
> > this thread is:
> >
> > http://linuxtv.org/hg/~mkrufky/sms1xxx/rev/d49b1e522b37
> >
> > I have, to the best of my knowledge, followed the instructions in
> > that link, and they do not appear to have worked.
> >
> > What do you recommend that I do next?
> >
>
> Anthony,
Hi Mike
> You don't think "sms1xxx: fix compat for kernel 2.6.23 and earlier" sounds like it might have something to do with a fix for a build problem on your 2.6.22-15-generic kernel?
>
> I put up a fix, and I requested a merge. That's what I did. You can do one of the following:
>
> 1) Wait for the fix to be merged
>
> 2) Just disable the sms1xxx driver, since you don't need it anyway.
>
> 3) Use the tree that I pointed you to that has the fix
>
> 4) cherry pick the fix from the tree that I pointed
As previously mentioned, I have little or no programming knowledge or
experience, so didn't really understand how to action "2.", "3." or
"4." above.
However, I took a guess at it and downloaded:
http://linuxtv.org/hg/v4l-dvb/archive/tip.tar.gz
Now unpacked, compiled successfully and installed, and working well.
> Have a nice day.
You too.
--
Anthony Edwards
anthony@yoyo.org
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2008-07-16 15:49 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-16 12:55 smscoreapi.c:689: error: 'uintptr_t' undeclared Anthony Edwards
2008-07-16 13:00 ` Michael Krufky
[not found] ` <487DF0C6.6080209@krufky.com>
2008-07-16 13:28 ` Anthony Edwards
2008-07-16 13:31 ` Michael Krufky
[not found] ` <487DF81C.5010908@krufky.com>
2008-07-16 13:43 ` Anthony Edwards
2008-07-16 13:52 ` Michael Krufky
2008-07-16 15:48 ` Anthony Edwards
-- strict thread matches above, loose matches on Subject: below --
2008-07-12 22:46 Peter Schlaf
2008-07-12 22:56 ` Michael Krufky
2008-07-13 10:02 ` Peter Schlaf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox