public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter Schlaf <peter.schlaf@web.de>
To: Linux and Kernel Video <video4linux-list@redhat.com>
Subject: Re: smscoreapi.c:689: error: 'uintptr_t' undeclared
Date: Sun, 13 Jul 2008 12:02:10 +0200	[thread overview]
Message-ID: <4879D2A2.4040907@web.de> (raw)
In-Reply-To: <48793697.3080704@linuxtv.org>

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

  reply	other threads:[~2008-07-13 10:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-12 22:46 smscoreapi.c:689: error: 'uintptr_t' undeclared Peter Schlaf
2008-07-12 22:56 ` Michael Krufky
2008-07-13 10:02   ` Peter Schlaf [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-07-16 12:55 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

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=4879D2A2.4040907@web.de \
    --to=peter.schlaf@web.de \
    --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