public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Anthony Edwards <anthony@yoyo.org>
To: Michael Krufky <mike@krufky.com>
Cc: video4linux-list@redhat.com,
	Mauro Carvalho Chehab <mchehab@infradead.org>
Subject: Re: smscoreapi.c:689: error: 'uintptr_t' undeclared
Date: Wed, 16 Jul 2008 14:43:07 +0100	[thread overview]
Message-ID: <20080716134307.GC9609@yoyo.org> (raw)
In-Reply-To: <487DF81C.5010908@krufky.com>

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

  parent reply	other threads:[~2008-07-16 13:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080716134307.GC9609@yoyo.org \
    --to=anthony@yoyo.org \
    --cc=mchehab@infradead.org \
    --cc=mike@krufky.com \
    --cc=video4linux-list@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox