media_build error on header file not present in old linux in ivtv-alsa-pcm.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux