From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m6GDWKSF029088 for ; Wed, 16 Jul 2008 09:32:20 -0400 Received: from mail.hauppauge.com (mail.hauppauge.com [167.206.143.4]) by mx3.redhat.com (8.13.8/8.13.8) with ESMTP id m6GDW3Vh002260 for ; Wed, 16 Jul 2008 09:32:04 -0400 Message-ID: <487DF847.4010109@linuxtv.org> Date: Wed, 16 Jul 2008 09:31:51 -0400 From: Michael Krufky MIME-Version: 1.0 To: Anthony Edwards References: <20080716125556.GA9609@yoyo.org> <487DF0C6.6080209@krufky.com> <20080716132833.GB9609@yoyo.org> In-Reply-To: <20080716132833.GB9609@yoyo.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: video4linux-list@redhat.com, Mauro Carvalho Chehab Subject: Re: smscoreapi.c:689: error: 'uintptr_t' undeclared List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: video4linux-list-bounces@redhat.com Errors-To: video4linux-list-bounces@redhat.com List-ID: 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 > #include > #include > #include > #include > #include > > It now reads, lines 25 - 31: > > #include > #include > #include > #include > #include > #include > #include > > 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