| View previous topic :: View next topic |
| Author |
Message |
Orky n00b


Joined: 27 Apr 2004 Posts: 18 Location: Reading, UK
|
Posted: Mon Nov 15, 2004 4:34 pm Post subject: |
|
|
I'm having the same problem.
The fix of removing the dvb line in the myth tv ebuild seems to solve it.
I'm testing it at the moment... |
|
| Back to top |
|
 |
EmmEff Apprentice

Joined: 17 Apr 2004 Posts: 197
|
Posted: Mon Nov 15, 2004 4:41 pm Post subject: |
|
|
| If you're running a 2.6 kernel, I believe it's necessary to use linuxtv-dvb-1.1.1 (masked). Works here... |
|
| Back to top |
|
 |
Orky n00b


Joined: 27 Apr 2004 Posts: 18 Location: Reading, UK
|
Posted: Tue Nov 16, 2004 9:22 pm Post subject: |
|
|
Libdvb now compiles, but mythtv breaks on the dvb support.
| Code: | In file included from dvbchannel.h:20,
from videosource.h:14,
from videosource.cpp:1:
dvbtypes.h:18:31: linux/dvb/version.h: No such file or directory
dvbtypes.h:20:2: #error "DVB driver includes with API version 3 not found!"
dvbtypes.h:23:32: linux/dvb/frontend.h: No such file or directory
dvbtypes.h:24:27: linux/dvb/dmx.h: No such file or directory
In file included from dvbchannel.h:20,
from videosource.h:14,
from videosource.cpp:1:
dvbtypes.h:38: error: field `params' has incomplete type
dvbtypes.h:39: error: 'fe_sec_voltage_t' is used as a type, but is not defined
as a type.
dvbtypes.h:40: error: 'fe_sec_tone_mode_t' is used as a type, but is not
defined as a type.
dvbtypes.h:81: error: 'fe_status_t' is used as a type, but is not defined as a
type.
In file included from dvbchannel.h:21,
from videosource.h:14,
from videosource.cpp:1:
dvbdiseqc.h:14:32: linux/dvb/frontend.h: No such file or directory
In file included from dvbchannel.h:21,
from videosource.h:14,
from videosource.cpp:1:
dvbdiseqc.h:35: error: type specifier omitted for parameter `
dvb_diseqc_master_cmd'
dvbdiseqc.h:35: error: parse error before `&' token
dvbdiseqc.h:36: error: `dvb_diseqc_master_cmd' was not declared in this scope
dvbdiseqc.h:36: error: `cmd' was not declared in this scope
dvbdiseqc.h:36: error: invalid data member initialization
dvbdiseqc.h:36: error: (use `=' to initialize static data members)
dvbdiseqc.h:36: error: declaration of `bool DVBDiSEqC::SendDiSEqCMessage'
dvbdiseqc.h:35: error: conflicts with previous declaration `bool
DVBDiSEqC::SendDiSEqCMessage(...)'
In file included from videosource.h:14,
from videosource.cpp:1:
dvbchannel.h:38: error: parse error before `)' token
dvbchannel.h: In function `void GetCurrentChannel(dvb_channel_t*&)':
dvbchannel.h:49: error: `chan_opts' undeclared (first use this function)
dvbchannel.h:49: error: (Each undeclared identifier is reported only once for
each function it appears in.)
dvbchannel.h: At global scope:
dvbchannel.h:71: error: parse error before `protected'
dvbchannel.h:82: error: parse error before `protected'
dvbchannel.h:86: error: parse error before `private'
dvbchannel.h:96: error: `fe_modulation_t' was not declared in this scope
dvbchannel.h:96: error: `modulation' was not declared in this scope
dvbchannel.h:97: error: `fe_code_rate_t' was not declared in this scope
dvbchannel.h:97: error: `rate' was not declared in this scope
dvbchannel.h:105: error: parse error before `private'
dvbchannel.h:108: error: aggregate `dvb_frontend_info info' has incomplete type
and cannot be defined
dvbchannel.h:112: error: `dvb_channel_t chan_opts' used prior to declaration
dvbchannel.h:126: error: parse error before `}' token
videosource.cpp:14:32: linux/dvb/frontend.h: No such file or directory
videosource.cpp: In member function `void
DVBConfigurationGroup::probeCard(const QString&)':
videosource.cpp:1286: error: aggregate `dvb_frontend_info info' has incomplete
type and cannot be defined
videosource.cpp:1288: error: `FE_GET_INFO' undeclared (first use this function)
videosource.cpp:1298: error: `FE_QPSK' undeclared (first use this function)
videosource.cpp:1299: error: `FE_QAM' undeclared (first use this function)
videosource.cpp:1300: error: `FE_OFDM' undeclared (first use this function)
videosource.cpp: In constructor `
DVBCardVerificationWizard::DVBCardVerificationWizard(int)':
videosource.cpp:1429: error: cannot allocate an object of type `DVBChannel'
videosource.cpp:1429: error: because the following virtual functions are
abstract:
channelbase.h:30: error: virtual bool ChannelBase::SetChannelByString(const
QString&)
channelbase.h:51: error: virtual void ChannelBase::SwitchToInput(int, bool)
videosource.cpp: In member function `void
DVBCardVerificationWizard::tuneConfigscreen()':
videosource.cpp:1499: error: `GetCardType' undeclared (first use this function)
videosource.cpp:1510: error: `ParseQPSK' undeclared (first use this function)
videosource.cpp:1516: error: `ParseQAM' undeclared (first use this function)
videosource.cpp:1524: error: `ParseOFDM' undeclared (first use this function)
videosource.cpp:1528: error: `Tune' undeclared (first use this function)
dvbchannel.h: At global scope:
dvbchannel.h:108: error: storage size of `info' isn't known
make: *** [videosource.o] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory `/var/tmp/portage/mythtv-0.16/work/mythtv-0.16/libs/libmythtv'
!!! ERROR: media-tv/mythtv-0.16 failed.
!!! Function src_compile, Line 164, Exitcode 2
|
Is it something I've done wrong, as it appears to be looking for the header files... |
|
| Back to top |
|
 |
EmmEff Apprentice

Joined: 17 Apr 2004 Posts: 197
|
Posted: Tue Nov 16, 2004 9:27 pm Post subject: |
|
|
What version of libdvb?
I've got media-libs/libdvb-0.5.0-r1 and media-tv/linuxtv-dvb-1.1.1. MythTV with DVB support works fine here. |
|
| Back to top |
|
 |
Orky n00b


Joined: 27 Apr 2004 Posts: 18 Location: Reading, UK
|
Posted: Tue Nov 16, 2004 9:44 pm Post subject: |
|
|
I'm using media-tv/linuxtv-dvb-1.1.1.
media-libs/libdvb-0.5.0-r1 crashes with:
| Code: |
ci.cc:34:26: linux/dvb/ca.h: No such file or directory
ci.cc: In member function `bool cCiTransportLayer::ResetSlot(int)':
ci.cc:571: error: `CA_RESET' undeclared (first use this function)
ci.cc:571: error: (Each undeclared identifier is reported only once for each
function it appears in.)
ci.cc: In member function `bool cCiTransportLayer::ModuleReady(int)':
ci.cc:583: error: `ca_slot_info_t' undeclared (first use this function)
ci.cc:583: error: parse error before `;' token
ci.cc:584: error: `sinfo' undeclared (first use this function)
ci.cc:585: error: `CA_GET_SLOT_INFO' undeclared (first use this function)
ci.cc:586: error: `CA_CI_MODULE_READY' undeclared (first use this function)
ci.cc: In static member function `static cCiHandler*
cCiHandler::CreateCiHandler(const char*)':
ci.cc:1405: error: `ca_caps_t' undeclared (first use this function)
ci.cc:1405: error: parse error before `;' token
ci.cc:1406: error: `CA_GET_CAP' undeclared (first use this function)
ci.cc:1406: error: `Caps' undeclared (first use this function)
ci.cc:1410: error: `CA_CI_LINK' undeclared (first use this function)
make[1]: *** [ci.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/libdvb-0.5.0-r1/work/libdvb-0.5.0/libdvbci'
make: *** [libdvbci/libdvbci.a] Error 2
make: *** Waiting for unfinished jobs....
devices.cc:2:32: linux/dvb/frontend.h: No such file or directory
devices.cc: In function `std::ostream& operator<<(std::ostream&, Transponder&)
':
devices.cc:120: error: `FE_QPSK' undeclared (first use this function)
devices.cc:120: error: (Each undeclared identifier is reported only once for
each function it appears in.)
devices.cc:122: error: `FE_QAM' undeclared (first use this function)
devices.cc:130: error: `FE_OFDM' undeclared (first use this function)
devices.cc: In function `std::istream& operator>>(std::istream&, Transponder&)
':
devices.cc:283: error: `FEC_AUTO' undeclared (first use this function)
make[1]: *** [devices.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/libdvb-0.5.0-r1/work/libdvb-0.5.0/libdvb'
make: *** [libdvb/libdvb.a] Error 2
!!! ERROR: media-libs/libdvb-0.5.0-r1 failed.
!!! Function src_compile, Line 28, Exitcode 2 |
Hmm that could be the root of the problem...has anyone else had problems with this and libdvb? |
|
| Back to top |
|
 |
EmmEff Apprentice

Joined: 17 Apr 2004 Posts: 197
|
Posted: Wed Nov 17, 2004 4:22 am Post subject: |
|
|
| Orky wrote: | I'm using media-tv/linuxtv-dvb-1.1.1.
media-libs/libdvb-0.5.0-r1 crashes with:
| Code: |
ci.cc:34:26: linux/dvb/ca.h: No such file or directory
|
|
That file is part of the linuxtv-dvb package, so it doesn't look like you have it installed. |
|
| Back to top |
|
 |
Orky n00b


Joined: 27 Apr 2004 Posts: 18 Location: Reading, UK
|
Posted: Wed Nov 17, 2004 9:38 am Post subject: |
|
|
Its installed...
Still no luck with mythtv.
[I'll move to a new thread as this is moving off topic] |
|
| Back to top |
|
 |
EmmEff Apprentice

Joined: 17 Apr 2004 Posts: 197
|
Posted: Wed Nov 17, 2004 3:03 pm Post subject: |
|
|
| The compiler is reporting the required header file is missing. If linuxtv-dvb-1.1.1 is installed, it's incomplete. Did you try reinstalling linuxtv-dvb? |
|
| Back to top |
|
 |
dakr n00b


Joined: 07 Oct 2003 Posts: 73 Location: Switzerland
|
Posted: Sun Nov 21, 2004 11:11 am Post subject: |
|
|
Hi all,
I have the same problem, but I can't understand how to solve it. If I emerge linuxtv-dvb like:
it fails
| Code: | create symbolic link `saa7146_vv_ksyms.c' to `../linux/drivers/media/common/saa7146_vv_ksyms.c'
make -C /lib/modules/2.6.9-gentoo-r4/build CC="gcc -I/var/tmp/portage/linuxtv-dvb-1.1.1-r2/work/linuxtv-dvb-1.1.1/build-2.4/include" SUBDIRS=/var/tmp/portage/linuxtv-dvb-1.1.1-r2/work/linuxtv-dvb-1.1.1/build-2.4 modules
make[1]: Entering directory `/usr/src/linux-2.6.9-gentoo-r4'
Makefile:500: /usr/src/linux-2.6.9-gentoo-r4/arch/x86/Makefile: No such file or directory
make[1]: *** No rule to make target `/usr/src/linux-2.6.9-gentoo-r4/arch/x86/Makefile'. Stop.
make[1]: Leaving directory `/usr/src/linux-2.6.9-gentoo-r4'
make: *** [build] Error 2 |
so I cant 'emerge mythtv. I use kernel 2.6.9-rc4 (gentoo) and I have already installed libdvd
| Code: | | media-libs/libdvb-0.5.4 |
how I can solve my problem? I would like to install mythtv with dvb support.
Thanks a lot and have a nice day  |
|
| Back to top |
|
 |
Gotterdammerung l33t


Joined: 11 Feb 2004 Posts: 627 Location: Rio de Janeiro, Brazil
|
Posted: Wed Nov 24, 2004 2:06 am Post subject: emerge libdvb successfull! |
|
|
emerge libdvb successfull!
I was in need of libdvb in order to fully use winki, and for the same reasons (no Rules.make) it wasn't being emerged. As suggested here I recompiled the kernel with DVB support, and proceeded as following:
| Code: | emerge --nodeps libdvb
echo "media-tv/linuxtv-dvb-1.0.1" >> /etc/portage/profile/package.provided |
And everything went just fine. No need to create any symbolic links or stuff.
My kernel and gcc versions:
| Code: | 2.6.9-nitro4
gcc (GCC) 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6) |
I really rope this info helps someone.
Regards! _________________ A mind that is stretched by a new experience can never go back to its old dimensions. - Oliver Wendell Holmes |
|
| Back to top |
|
 |
stdPikachu Apprentice


Joined: 10 Mar 2004 Posts: 254 Location: UK
|
Posted: Fri Dec 10, 2004 6:59 pm Post subject: |
|
|
I don't know if people are still having problems with this, but here's how to get it all fixed.
Users of the 2.6 kernel don't need the linuxtv-dvb package, as it's all in the kernel now. However, portage is still b0rken and doesn't take this into account. The libdvb ebuild is also rather braindead in this respect, and looks for modules in /include in the wrong places due to users typically having the linux-headers package.
So;
| Code: | echo media-tv/linuxtv-dvb-1.0.1 >> /etc/portage/profile/package.provided
emerge -C linux-headers && emerge -v linux26-headers |
libdvb should now compile cleanly, and so should any packages depending on it. No taking DVB outta your use flags or editing ebuilds. Worked for me at any rate...! Although unfortunately it looks like package.provided will have to be edited if new versions of linuxtv-dvb come out. |
|
| Back to top |
|
 |
Muddy Tux's lil' helper


Joined: 02 Jan 2003 Posts: 144 Location: U.S.
|
Posted: Tue Dec 28, 2004 1:18 am Post subject: |
|
|
stdPikachu, what would you suggest if I don't have those directories...
I have them in the following locations..
| Code: | # find / -name package.provided
/usr/portage/profiles/default-macos/ppc/10.3/package.provided
/usr/portage/profiles/default-macos/ppc/package.provided
/usr/portage/profiles/default-macos-10.3/package.provided
/usr/portage/profiles/default-macos-10.4/package.provided
/usr/portage/profiles/default-darwin/od/package.provided
/usr/portage/profiles/default-darwin/macos/10.3/package.provided
/usr/portage/profiles/default-darwin/macos/package.provided
|
and
| Code: | # cd /usr/portage/media-tv/linuxtv-dvb/linuxtv-dvb-1.
linuxtv-dvb-1.0.1.ebuild linuxtv-dvb-1.1.1-r1.ebuild linuxtv-dvb-1.1.1.ebuild |
|
|
| Back to top |
|
 |
The Sentinel Tux's lil' helper


Joined: 10 Sep 2002 Posts: 76
|
Posted: Wed Jan 05, 2005 1:14 pm Post subject: |
|
|
Muddy you will have to do a:
| Code: | | mkdir /etc/portage/profile |
first before doing the instructions stdPikachu lists above.. otheriwse the echo command will fail due to the non-existent directory. _________________ who | grep -i blonde | talk; cd ~; wine; talk; touch; unzip; touch; strip; gasp; finger; mount; fsck; more; yes; gasp; umount; make clean; sleep
__________________________
#find / -user your -name base -exec "chown us $" |
|
| Back to top |
|
 |
-=Serg=- n00b

Joined: 07 Jan 2005 Posts: 1
|
Posted: Fri Jan 07, 2005 5:25 pm Post subject: |
|
|
I have problem with emerge any linuxtv-dvb ebuilds.
I recompile my kernel (linux-2.4.22-gentoo-r2) with support
Video For Linux and V4L information in proc filesystem,
i use #genkernel --config
#emerge linuxtv-dvb-1.1.1.ebuild
make -C /lib/modules/2.4.22-gentoo-r2/build CC="gcc -I/var/tmp/portage/linuxtv-dvb-1.1.1/work/linuxtv-dvb-1.1.1/build-2.4/include" SUBDIRS=/var/tmp/portage/linuxtv-dvb-1.1.1/work/linuxtv-dvb-1.1.1/build-2.4 modules
make[2]: Entering directory `/usr/src/linux-2.4.22-gentoo-r2'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include scripts/split-include.c
scripts/split-include include/linux/autoconf.h include/config
make -C /var/tmp/portage/linuxtv-dvb-1.1.1/work/linuxtv-dvb-1.1.1/build-2.4 CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.22-gentoo-r2/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -finline-limit=2000 -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon-xp -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.22-gentoo-r2/include/linux/modversions.h" MAKING_MODULES=1 modules
make[3]: Entering directory `/var/tmp/portage/linuxtv-dvb-1.1.1/work/linuxtv-dvb-1.1.1/build-2.4'
make[3]: *** No rule to make target `/usr/src/linux-2.4.22-gentoo-r2/include/linux/modversions.h', needed by `video-buf.o'. Stop.
make[3]: Leaving directory `/var/tmp/portage/linuxtv-dvb-1.1.1/work/linuxtv-dvb-1.1.1/build-2.4'
make[2]: *** [_mod_/var/tmp/portage/linuxtv-dvb-1.1.1/work/linuxtv-dvb-1.1.1/build-2.4] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.22-gentoo-r2'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/var/tmp/portage/linuxtv-dvb-1.1.1/work/linuxtv-dvb-1.1.1/build-2.4'
make: *** [all] Error 2
I download linuxtv-dvb from http://www.linuxtv.org/
# cd linuxtv-dvb-1.1.1/build-2.4
# make
[ -L saa7146_video.c ] || ./getlinks
make -C /lib/modules/2.4.22-gentoo-r2/build CC="gcc -I/tmp/linuxtv-dvb-1.1.1/build-2.4/include" SUBDIRS=/tmp/linuxtv-dvb-1.1.1/build-2.4 modules
make[1]: Entering directory `/usr/src/linux-2.4.22-gentoo-r2'
make -C /tmp/linuxtv-dvb-1.1.1/build-2.4 CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.22-gentoo-r2/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -finline-limit=2000 -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon-xp -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.22-gentoo-r2/include/linux/modversions.h" MAKING_MODULES=1 modules
make[2]: Entering directory `/tmp/linuxtv-dvb-1.1.1/build-2.4'
make[2]: *** No rule to make target `/usr/src/linux-2.4.22-gentoo-r2/include/linux/modversions.h', needed by `video-buf.o'. Stop.
make[2]: Leaving directory `/tmp/linuxtv-dvb-1.1.1/build-2.4'
make[1]: *** [_mod_/tmp/linuxtv-dvb-1.1.1/build-2.4] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.22-gentoo-r2'
make: *** [build] Error 2
Help me please. |
|
| Back to top |
|
 |
|