Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150770 - v4l-dvb-hg fails to compile
Summary: v4l-dvb-hg fails to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-10 11:18 UTC by impulze
Modified: 2006-10-10 11:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (log,5.48 KB, text/plain)
2006-10-10 11:19 UTC, impulze
Details

Note You need to log in before you can comment on or make changes to this bug.
Description impulze 2006-10-10 11:18:24 UTC
i grabbed the source:
    hg clone http://linuxtv.org/hg/~mrechberger/v4l-dvb

compiled it fine with gcc-4.1.1 by just changing into the source directory and fire up:
    make

all worked out.

now when i try:
    emerge v4l-dvb-hg
which actually grabs the source at the wrong place:
    hg clone http://linuxtv.org/hg/v4l-dvb
compilation fails with the messages attached on that bug:
---snip---
In file included from /var/tmp/portage/v4l-dvb-hg-0.1-r2/work/v4l-dvb/v4l/cpia2_v4l.c:42:
/var/tmp/portage/v4l-dvb-hg-0.1-r2/work/v4l-dvb/v4l/cpia2.h:404: error: field 'vp' has incomplete type
/var/tmp/portage/v4l-dvb-hg-0.1-r2/work/v4l-dvb/v4l/cpia2.h:405: error: field 'vw' has incomplete type
/var/tmp/portage/v4l-dvb-hg-0.1-r2/work/v4l-dvb/v4l/cpia2_v4l.c:91:2: error: #error "VID_HARDWARE_CPIA2 should have been defined in linux/videodev.h"
---snip---

So could someone change the source location in the 
v4l-dvb-hg-0.1-r2.ebuild (media-tv/v4l-dvb-hg)
from:
    http://linuxtv.org/hg/v4l-dvb
to:
    http://linuxtv.org/hg/~mrechberger/v4l-dvb
and there's probably a chance someone could create an ~arch ebuild with the same compiling procedure but the source location changed to:
    http://linuxtv.org/hg/~mrechberger/v4l-dvb-merge

Source: http://linuxtv.org/v4lwiki/index.php/Em2880#Installation
Comment 1 impulze 2006-10-10 11:19:03 UTC
Created attachment 99305 [details]
emerge --info
Comment 2 impulze 2006-10-10 11:25:46 UTC
Ok i talked to v4l maintainers and this is actually a personal developer repository so please don't change it, but the compiler issue still exists.