smscoreapi.c:689: error: 'uintptr_t' undeclared
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?
Signature · 7 lines
Anthony Edwards [email protected] -- video4linux-list mailing list Unsubscribe mailto:[email protected]?subject=unsubscribe https://www.redhat.com/mailman/listinfo/video4linux-list
Quoted 7 lines · Anthony Edwards
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.
Quoted 9 lines
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:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
Quoted 15 lines · Michael Krufky
Quoted 14 lines · Anthony Edwards
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.
Quoted 8 lines
Quoted 2 lines
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?
Signature · 7 lines
Anthony Edwards [email protected] -- video4linux-list mailing list Unsubscribe mailto:[email protected]?subject=unsubscribe https://www.redhat.com/mailman/listinfo/video4linux-list
Quoted 65 lines · Anthony Edwards
Quoted 15 lines · Michael Krufky
Quoted 14 lines · Anthony Edwards
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.
Quoted 7 lines
Quoted 2 lines
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.hSo 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
Quoted 3 lines
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:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
Quoted 66 lines · Michael Krufky
Quoted 65 lines · Anthony Edwards
Quoted 15 lines · Michael Krufky
Quoted 14 lines · Anthony Edwards
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.
Quoted 7 lines
Quoted 2 lines
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.hSo 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
Quoted 8 lines
Quoted 3 lines
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?
Signature · 7 lines
Anthony Edwards [email protected] -- video4linux-list mailing list Unsubscribe mailto:[email protected]?subject=unsubscribe https://www.redhat.com/mailman/listinfo/video4linux-list
Quoted 85 lines · Anthony Edwards
Quoted 65 lines · Michael Krufky
Quoted 64 lines · Anthony Edwards
Quoted 15 lines · Michael Krufky
Quoted 14 lines · Anthony Edwards
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.
Quoted 7 lines
Quoted 2 lines
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.hSo 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 2Quoted 7 lines
Quoted 3 lines
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:
Quoted 7 lines
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:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
Quoted 88 lines · Michael Krufky
Quoted 87 lines · Anthony Edwards
Quoted 65 lines · Michael Krufky
Quoted 64 lines · Anthony Edwards
Quoted 15 lines · Michael Krufky
Quoted 14 lines · Anthony Edwards
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.
Quoted 7 lines
Quoted 2 lines
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.hSo 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 2Quoted 7 lines
Quoted 3 lines
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:
Quoted 7 lines
Quoted 5 lines
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
Quoted 11 lines
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.
Quoted 1 line
Have a nice day.
You too.
Signature · 7 lines
Anthony Edwards [email protected] -- video4linux-list mailing list Unsubscribe mailto:[email protected]?subject=unsubscribe https://www.redhat.com/mailman/listinfo/video4linux-list