Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fail to emerge unicap: linux/videodev.h not found
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Astarot
n00b
n00b


Joined: 04 Apr 2007
Posts: 74
Location: Poland: Wrocław

PostPosted: Thu Jan 05, 2012 1:39 pm    Post subject: Fail to emerge unicap: linux/videodev.h not found Reply with quote

Hi,
i wanted to emerge unicap (due to system upgrade and stuff) and emerge has failed with this error:
Code:

In file included from tisuvccam.c:18:0:
uvcvideo.h:5:28: fatal error: linux/videodev.h: No such file od directory
compilation terminated.
make[3]: *** [libv4l2cpi_la-tisuvccam.lo] Błąd 1
make[3]: *** Oczekiwanie na niezakończone zadania....

I've heard that its something about USE flags such as v4l and v4l2, i removed v4l from my make.conf and nothing has changed. This is my config:
/etc/make.conf
Code:

CFLAGS="-march=nocona -O2 -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"
MAKEOPTS="-j3"
ACCEPT_KEYWORDS="~amd64"

USE="png youtube introspection xcb gtk3 -scanner networkmanager vlc multimedia xmlpatterns hal laptop -xinerama -emacs cups gtk -gnome -nv -nvidia -esd quicktime melt fontconfig declarative enca private-headers lastfm extras  semantic-desktop -qt3 udev plasma truetype sql mysql consolekit sdl v4l2 webkit qt3support hal bash-completion X java unicode nls -qt4 -kde dvd alsa cdr mp3 mmx sse sse2 ssse3 sse4 thumbnail mnt gadu phonon vorbis x264 alsa gstreamer real samba git vim-syntax laptop threads  wifi gimp ssl djvu ffmpeg svg  subversion ogg oggvorbis flac xine nsplugin hal dbus acpi xvid jpeg ncurses xv glx lame python perl sdl opengl avi png tiff gif aac nptl gnome pulseaudio"

LINGUAS="en pl"
NETBEANS_MODULES="cnd ide"

FEATURES=" parallel-fetch"
ACCEPT_LICENSE="*"
INPUT_DEVICES="evdev"

VIDEO_CARDS="r700 radeon v4l2"
PORTDIR_OVERLAY="/usr/local/portage"
PORTAGE_BINHOST="http://gentoo.wever.org/x86_64/core2/"
PKGDIR="/usr/portage/binaries"
source /usr/local/portage/layman/make.conf


emerge --info
Code:

emerge --info
Portage 2.1.10.44 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.14.1-r2, 3.1.5-gentoo x86_64)
=================================================================
System uname: Linux-3.1.5-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T6400_@_2.00GHz-with-gentoo-2.1
Timestamp of tree: Thu, 05 Jan 2012 13:00:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.5.4-r4, 2.6.7-r2, 2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.7
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo sunrise proaudio roslin kde x-portage multimedia x11
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en pl"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/binaries"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/layman/pro-audio /usr/local/portage/layman/roslin /usr/local/portage/layman/kde /usr/local/portage /usr/local/portage/layman/multimedia /usr/local/portage/layman/x11"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avi bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative djvu dri dts dvd dvdr emboss enca encode exif extras fam ffmpeg firefox flac fontconfig fortran gadu gdbm gdu gif gimp git glx gnome gpm gstreamer gtk gtk3 hal iconv introspection ipv6 java jpeg kipi lame laptop lastfm lcms ldap libnotify mad melt mmx mng mnt modules mp3 mp4 mpeg mudflap multilib multimedia mysql ncurses networkmanager nls nptl nptlonly nsplugin ogg oggvorbis opengl openmp pam pango pcre pdf perl phonon plasma png policykit ppds pppd private-headers pulseaudio python qt3support quicktime readline samba sdl semantic-desktop session spell sql sse sse2 sse4 ssl ssse3 startup-notification subversion svg sysfs tcpd threads thumbnail tiff truetype udev unicode usb v4l2 vim-syntax vlc vorbis webkit wifi x264 xcb xcomposite xine xml xmlpatterns xorg xscreensaver xulrunner xv xvid youtube zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pl" NETBEANS_MODULES="cnd ide" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="r700 radeon v4l2" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

bartek-gentoo bartek #

Any ideas ?
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Thu Jan 05, 2012 3:48 pm    Post subject: Reply with quote

Try to temporarily downgrade linux-headers to 2.6.36.1, this should allow you to build the package.
Afterwards you can upgrade linux-headers again.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum