linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* media_build directory error after patch dvb_frontend: implement suspend / resume
       [not found]   ` <503149FC.5030501@iki.fi>
@ 2012-09-21 16:19     ` Jan Hoogenraad
  2012-09-21 17:52       ` Antti Palosaari
  2012-09-21 19:12       ` media_build error on header file not present in old linux in ivtv-alsa-pcm.c Jan Hoogenraad
  0 siblings, 2 replies; 6+ messages in thread
From: Jan Hoogenraad @ 2012-09-21 16:19 UTC (permalink / raw)
  To: Antti Palosaari, linux-media

I try to compile the media_build on an old Ubuntu Lucid system.
2.6.32-42-generic-pae #96-Ubuntu SMP Wed Aug 15 19:12:17 UTC 2012 i686
GNU/Linux

The make job stops with

/home/jhh/dvb/media_build/v4l/dvb_usb_core.c: In function
'dvb_usb_data_complete_raw':
/home/jhh/dvb/media_build/v4l/dvb_usb_core.c:224: error: implicit
declaration of function 'dvb_dmx_swfilter_raw'
/home/jhh/dvb/media_build/v4l/dvb_usb_core.c: In function
'dvb_usbv2_suspend':
/home/jhh/dvb/media_build/v4l/dvb_usb_core.c:975: error: implicit
declaration of function 'dvb_frontend_suspend'
/home/jhh/dvb/media_build/v4l/dvb_usb_core.c: In function
'dvb_usbv2_resume_common':
/home/jhh/dvb/media_build/v4l/dvb_usb_core.c:994: error: implicit
declaration of function 'dvb_frontend_resume'

This probably started after
http://article.gmane.org/gmane.linux.drivers.video-input-infrastructure/52430/match=dvb_frontend_resume

The media_build tree is confused with too many files with the same name:

find linux -name \*front\* -ls
54788964   24 -rw-r--r--   1 jhh      jhh         12642 Aug 16 05:45
linux/drivers/media/dvb-core/dvb_frontend.h
54788973   80 -rw-r--r--   1 jhh      jhh         71787 Sep 14 05:45
linux/drivers/media/dvb-core/dvb_frontend.c
54397078   20 -rw-r--r--   1 jhh      jhh         12056 Sep 16 20:20
linux/drivers/media/dvb/dvb-core/dvb_frontend.h
54397083   68 -rw-r--r--   1 jhh      jhh         60558 Jun  8  2011
linux/drivers/media/dvb/dvb-core/dvb_frontend.c
54397777   24 -rw-r--r--   1 jhh      jhh         13012 Aug 14 05:45
linux/include/linux/dvb/frontend.h

The frontend.h and .c chosen in the build are older ones
 find v4l -name \*front\* -ls

54135379   76 -rw-r--r--   1 jhh      jhh         67636 Sep 21 17:47
v4l/.dvb_frontend.o.cmd
54133920    0 lrwxrwxrwx   1 jhh      jhh            50 Sep 21 18:13
v4l/dvb_frontend.h -> ../linux/drivers/media/dvb/dvb-core/dvb_frontend.h
54133927    0 lrwxrwxrwx   1 jhh      jhh            50 Sep 21 18:13
v4l/dvb_frontend.c -> ../linux/drivers/media/dvb/dvb-core/dvb_frontend.c
54136025  184 -rw-r--r--   1 jhh      jhh        179558 Sep 21 17:47
v4l/dvb_frontend.o

Do you know what to do about this situation ?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: media_build directory error after patch dvb_frontend: implement suspend / resume
  2012-09-21 16:19     ` media_build directory error after patch dvb_frontend: implement suspend / resume Jan Hoogenraad
@ 2012-09-21 17:52       ` Antti Palosaari
  2012-09-21 19:04         ` Jan Hoogenraad
  2012-09-21 19:12       ` media_build error on header file not present in old linux in ivtv-alsa-pcm.c Jan Hoogenraad
  1 sibling, 1 reply; 6+ messages in thread
From: Antti Palosaari @ 2012-09-21 17:52 UTC (permalink / raw)
  To: Jan Hoogenraad; +Cc: linux-media

On 09/21/2012 07:19 PM, Jan Hoogenraad wrote:
> I try to compile the media_build on an old Ubuntu Lucid system.
> 2.6.32-42-generic-pae #96-Ubuntu SMP Wed Aug 15 19:12:17 UTC 2012 i686
> GNU/Linux
>
> The make job stops with
>
> /home/jhh/dvb/media_build/v4l/dvb_usb_core.c: In function
> 'dvb_usb_data_complete_raw':
> /home/jhh/dvb/media_build/v4l/dvb_usb_core.c:224: error: implicit
> declaration of function 'dvb_dmx_swfilter_raw'
> /home/jhh/dvb/media_build/v4l/dvb_usb_core.c: In function
> 'dvb_usbv2_suspend':
> /home/jhh/dvb/media_build/v4l/dvb_usb_core.c:975: error: implicit
> declaration of function 'dvb_frontend_suspend'
> /home/jhh/dvb/media_build/v4l/dvb_usb_core.c: In function
> 'dvb_usbv2_resume_common':
> /home/jhh/dvb/media_build/v4l/dvb_usb_core.c:994: error: implicit
> declaration of function 'dvb_frontend_resume'
>
> This probably started after
> http://article.gmane.org/gmane.linux.drivers.video-input-infrastructure/52430/match=dvb_frontend_resume
>
> The media_build tree is confused with too many files with the same name:
>
> find linux -name \*front\* -ls
> 54788964   24 -rw-r--r--   1 jhh      jhh         12642 Aug 16 05:45
> linux/drivers/media/dvb-core/dvb_frontend.h
> 54788973   80 -rw-r--r--   1 jhh      jhh         71787 Sep 14 05:45
> linux/drivers/media/dvb-core/dvb_frontend.c
> 54397078   20 -rw-r--r--   1 jhh      jhh         12056 Sep 16 20:20
> linux/drivers/media/dvb/dvb-core/dvb_frontend.h
> 54397083   68 -rw-r--r--   1 jhh      jhh         60558 Jun  8  2011
> linux/drivers/media/dvb/dvb-core/dvb_frontend.c
> 54397777   24 -rw-r--r--   1 jhh      jhh         13012 Aug 14 05:45
> linux/include/linux/dvb/frontend.h
>
> The frontend.h and .c chosen in the build are older ones
>   find v4l -name \*front\* -ls
>
> 54135379   76 -rw-r--r--   1 jhh      jhh         67636 Sep 21 17:47
> v4l/.dvb_frontend.o.cmd
> 54133920    0 lrwxrwxrwx   1 jhh      jhh            50 Sep 21 18:13
> v4l/dvb_frontend.h -> ../linux/drivers/media/dvb/dvb-core/dvb_frontend.h
> 54133927    0 lrwxrwxrwx   1 jhh      jhh            50 Sep 21 18:13
> v4l/dvb_frontend.c -> ../linux/drivers/media/dvb/dvb-core/dvb_frontend.c
> 54136025  184 -rw-r--r--   1 jhh      jhh        179558 Sep 21 17:47
> v4l/dvb_frontend.o
>
> Do you know what to do about this situation ?

All that is due to drivers/media directory structure re-organization. 
Could you use clean directory for media_build.git? If you want use 
exiting media_build.git you should remove manually those old directories.

regards
Antti

-- 
http://palosaari.fi/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: media_build directory error after patch dvb_frontend: implement suspend / resume
  2012-09-21 17:52       ` Antti Palosaari
@ 2012-09-21 19:04         ` Jan Hoogenraad
  0 siblings, 0 replies; 6+ messages in thread
From: Jan Hoogenraad @ 2012-09-21 19:04 UTC (permalink / raw)
  To: Antti Palosaari; +Cc: linux-media

Thanks Antti:

Maybe the media_build could clean out the linux subdirectories (e.g.
drivers   include  sound) before the tar x command.

Your rtl28xxu driver immediately works, even on this old system !
Thanks for that as well.

I will remove the very outdated info I put onto the Wiki pages:
http://linuxtv.org/wiki/index.php/Realtek_RTL2831U

http://linuxtv.org/wiki/index.php/DVB-T_USB_Devices
http://linuxtv.org/wiki/index.php/DVB-T_USB_Devices#Freecom_rev_4_DVB-T_USB_2.0_tuner


Antti Palosaari wrote:
> On 09/21/2012 07:19 PM, Jan Hoogenraad wrote:
>> I try to compile the media_build on an old Ubuntu Lucid system.
>> 2.6.32-42-generic-pae #96-Ubuntu SMP Wed Aug 15 19:12:17 UTC 2012 i686
>> GNU/Linux
>>
>> The make job stops with
>>
>> /home/jhh/dvb/media_build/v4l/dvb_usb_core.c: In function
>> 'dvb_usb_data_complete_raw':
>> /home/jhh/dvb/media_build/v4l/dvb_usb_core.c:224: error: implicit
>> declaration of function 'dvb_dmx_swfilter_raw'
>> /home/jhh/dvb/media_build/v4l/dvb_usb_core.c: In function
>> 'dvb_usbv2_suspend':
>> /home/jhh/dvb/media_build/v4l/dvb_usb_core.c:975: error: implicit
>> declaration of function 'dvb_frontend_suspend'
>> /home/jhh/dvb/media_build/v4l/dvb_usb_core.c: In function
>> 'dvb_usbv2_resume_common':
>> /home/jhh/dvb/media_build/v4l/dvb_usb_core.c:994: error: implicit
>> declaration of function 'dvb_frontend_resume'
>>
>> This probably started after
>> http://article.gmane.org/gmane.linux.drivers.video-input-infrastructure/52430/match=dvb_frontend_resume
>>
>>
>> The media_build tree is confused with too many files with the same name:
>>
>> find linux -name \*front\* -ls
>> 54788964   24 -rw-r--r--   1 jhh      jhh         12642 Aug 16 05:45
>> linux/drivers/media/dvb-core/dvb_frontend.h
>> 54788973   80 -rw-r--r--   1 jhh      jhh         71787 Sep 14 05:45
>> linux/drivers/media/dvb-core/dvb_frontend.c
>> 54397078   20 -rw-r--r--   1 jhh      jhh         12056 Sep 16 20:20
>> linux/drivers/media/dvb/dvb-core/dvb_frontend.h
>> 54397083   68 -rw-r--r--   1 jhh      jhh         60558 Jun  8  2011
>> linux/drivers/media/dvb/dvb-core/dvb_frontend.c
>> 54397777   24 -rw-r--r--   1 jhh      jhh         13012 Aug 14 05:45
>> linux/include/linux/dvb/frontend.h
>>
>> The frontend.h and .c chosen in the build are older ones
>>   find v4l -name \*front\* -ls
>>
>> 54135379   76 -rw-r--r--   1 jhh      jhh         67636 Sep 21 17:47
>> v4l/.dvb_frontend.o.cmd
>> 54133920    0 lrwxrwxrwx   1 jhh      jhh            50 Sep 21 18:13
>> v4l/dvb_frontend.h -> ../linux/drivers/media/dvb/dvb-core/dvb_frontend.h
>> 54133927    0 lrwxrwxrwx   1 jhh      jhh            50 Sep 21 18:13
>> v4l/dvb_frontend.c -> ../linux/drivers/media/dvb/dvb-core/dvb_frontend.c
>> 54136025  184 -rw-r--r--   1 jhh      jhh        179558 Sep 21 17:47
>> v4l/dvb_frontend.o
>>
>> Do you know what to do about this situation ?
> 
> All that is due to drivers/media directory structure re-organization.
> Could you use clean directory for media_build.git? If you want use
> exiting media_build.git you should remove manually those old directories.
> 
> regards
> Antti
> 


-- 
Jan Hoogenraad
Hoogenraad Interface Services
Postbus 2717
3500 GS Utrecht

^ permalink raw reply	[flat|nested] 6+ messages in thread

* media_build error on header file not present in old linux in ivtv-alsa-pcm.c
  2012-09-21 16:19     ` media_build directory error after patch dvb_frontend: implement suspend / resume Jan Hoogenraad
  2012-09-21 17:52       ` Antti Palosaari
@ 2012-09-21 19:12       ` Jan Hoogenraad
  2012-09-21 19:30         ` Andy Walls
  1 sibling, 1 reply; 6+ messages in thread
From: Jan Hoogenraad @ 2012-09-21 19:12 UTC (permalink / raw)
  To: linux-media

I try to compile the media_build on an old Ubuntu Lucid system.
2.6.32-42-generic-pae #96-Ubuntu SMP Wed Aug 15 19:12:17 UTC 2012 i686
GNU/Linux

The make job stops with

/home/jhh/dvb/media_build/v4l/ivtv-alsa-pcm.c:29:26: error:
linux/printk.h: No such file or directory
make[3]: *** [/home/jhh/dvb/media_build/v4l/ivtv-alsa-pcm.o] Error 1

Apparently, this header file was not yet present in this version of
linux. It is the only driver requesting this header file.
Removing line 29

#include <linux/printk.h>

fixes the problem. All compiles well then.



-- 
Jan Hoogenraad
Hoogenraad Interface Services
Postbus 2717
3500 GS Utrecht

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: media_build error on header file not present in old linux in ivtv-alsa-pcm.c
  2012-09-21 19:12       ` media_build error on header file not present in old linux in ivtv-alsa-pcm.c Jan Hoogenraad
@ 2012-09-21 19:30         ` Andy Walls
  2012-09-22  9:02           ` Jan Hoogenraad
  0 siblings, 1 reply; 6+ messages in thread
From: Andy Walls @ 2012-09-21 19:30 UTC (permalink / raw)
  To: Jan Hoogenraad, linux-media

Jan Hoogenraad <jan-conceptronic@hoogenraad.net> wrote:

>I try to compile the media_build on an old Ubuntu Lucid system.
>2.6.32-42-generic-pae #96-Ubuntu SMP Wed Aug 15 19:12:17 UTC 2012 i686
>GNU/Linux
>
>The make job stops with
>
>/home/jhh/dvb/media_build/v4l/ivtv-alsa-pcm.c:29:26: error:
>linux/printk.h: No such file or directory
>make[3]: *** [/home/jhh/dvb/media_build/v4l/ivtv-alsa-pcm.o] Error 1
>
>Apparently, this header file was not yet present in this version of
>linux. It is the only driver requesting this header file.
>Removing line 29
>
>#include <linux/printk.h>
>
>fixes the problem. All compiles well then.
>
>
>
>-- 
>Jan Hoogenraad
>Hoogenraad Interface Services
>Postbus 2717
>3500 GS Utrecht
>--
>To unsubscribe from this list: send the line "unsubscribe linux-media"
>in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html

Hi Jan,

Hans Verkuil already noticed this and submitted a patch to remove the include.

Regards,
Andy

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: media_build error on header file not present in old linux in ivtv-alsa-pcm.c
  2012-09-21 19:30         ` Andy Walls
@ 2012-09-22  9:02           ` Jan Hoogenraad
  0 siblings, 0 replies; 6+ messages in thread
From: Jan Hoogenraad @ 2012-09-22  9:02 UTC (permalink / raw)
  To: Andy Walls; +Cc: linux-media

Thanks.

Ecxuse me for the previous mail. I could have searched the archive first:
http://article.gmane.org/gmane.linux.drivers.video-input-infrastructure/54099/match=printk+h

Andy Walls wrote:
> Jan Hoogenraad <jan-conceptronic@hoogenraad.net> wrote:
> 
>> I try to compile the media_build on an old Ubuntu Lucid system.
>> 2.6.32-42-generic-pae #96-Ubuntu SMP Wed Aug 15 19:12:17 UTC 2012 i686
>> GNU/Linux
>>
>> The make job stops with
>>
>> /home/jhh/dvb/media_build/v4l/ivtv-alsa-pcm.c:29:26: error:
>> linux/printk.h: No such file or directory
>> make[3]: *** [/home/jhh/dvb/media_build/v4l/ivtv-alsa-pcm.o] Error 1
>>
>> Apparently, this header file was not yet present in this version of
>> linux. It is the only driver requesting this header file.
>> Removing line 29
>>
>> #include <linux/printk.h>
>>
>> fixes the problem. All compiles well then.
>>
>>
>>
>> -- 
>> Jan Hoogenraad
>> Hoogenraad Interface Services
>> Postbus 2717
>> 3500 GS Utrecht
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-media"
>> in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> Hi Jan,
> 
> Hans Verkuil already noticed this and submitted a patch to remove the include.
> 
> Regards,
> Andy
> 


-- 
Jan Hoogenraad
Hoogenraad Interface Services
Postbus 2717
3500 GS Utrecht

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-09-22  9:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20120819195423.8011935E0224@alastor.dyndns.org>
     [not found] ` <CAJL_dMuF1iDZ8vAXu7a0OFfozzKj31UOc-n6ZWWQGBxjTciTXQ@mail.gmail.com>
     [not found]   ` <503149FC.5030501@iki.fi>
2012-09-21 16:19     ` media_build directory error after patch dvb_frontend: implement suspend / resume Jan Hoogenraad
2012-09-21 17:52       ` Antti Palosaari
2012-09-21 19:04         ` Jan Hoogenraad
2012-09-21 19:12       ` media_build error on header file not present in old linux in ivtv-alsa-pcm.c Jan Hoogenraad
2012-09-21 19:30         ` Andy Walls
2012-09-22  9:02           ` Jan Hoogenraad

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).