Log in Register FAQ Memberlist Search pcHDTV Forum Index
pcHDTV Forum

pcHDTV Forum Index -> Installation/Setup -> Problem compiling tools
Post new topic  Reply to topic View previous topic :: View next topic 
Problem compiling tools
PostPosted: Sun Oct 14, 2007 11:03 am Reply with quote
jonspalmer
 
Joined: 14 Oct 2007
Posts: 3




I'm having trouble compiling the tools so tht I can test my pchd5500. I donwloaded the latest tools package (http://www.pchdtv.com/downloads/dvb-atsc-tools-1.0.7.tgz)

I've decompressed the file go to the directory and ran make. I get the error below.

What files am I missing and how can I get them so that I can build the tools?

Thanks
Jon


root@mythtv:/home/mythtv/hd5500-tools# make
gcc -Wall -D_FILE_OFFSET_BITS=64 dtvsignal.c -o dtvsignal
gcc -Wall -D_FILE_OFFSET_BITS=64 chopatscfile.c -o chopatscfile
gcc -Wall -D_FILE_OFFSET_BITS=64 dtvsignal.c -o dtvsignal
dtvsignal.c:42:32: error: linux/dvb/frontend.h: No such file or directory
dtvsignal.c:43:27: error: linux/dvb/dmx.h: No such file or directory
dtvsignal.c:181: error: expected declaration specifiers or '...' before 'dmx_pes_type_t'
dtvsignal.c: In function 'set_pesfilter':
dtvsignal.c:183: error: storage size of 'pesfilter' isn't known
dtvsignal.c:189: error: 'DMX_IN_FRONTEND' undeclared (first use in this function)
dtvsignal.c:189: error: (Each undeclared identifier is reported only once
dtvsignal.c:189: error: for each function it appears in.)
dtvsignal.c:190: error: 'DMX_OUT_TS_TAP' undeclared (first use in this function)
dtvsignal.c:190: error: 'DMX_OUT_DECODER' undeclared (first use in this function)
dtvsignal.c:191: error: 'type' undeclared (first use in this function)
dtvsignal.c:192: error: 'DMX_IMMEDIATE_START' undeclared (first use in this function)
dtvsignal.c:194: error: 'DMX_SET_PES_FILTER' undeclared (first use in this function)
dtvsignal.c:195: error: 'DMX_PES_AUDIO' undeclared (first use in this function)
dtvsignal.c:195: error: 'DMX_PES_VIDEO' undeclared (first use in this function)
dtvsignal.c:183: warning: unused variable 'pesfilter'
dtvsignal.c: At top level:
dtvsignal.c:206: warning: 'struct dvb_frontend_parameters' declared inside parameter list
dtvsignal.c:206: warning: its scope is only this definition or declaration, which is probably not what you want
dtvsignal.c: In function 'setup_frontend':
dtvsignal.c:208: error: storage size of 'fe_info' isn't known
dtvsignal.c:210: error: 'FE_GET_INFO' undeclared (first use in this function)
dtvsignal.c:215: error: 'FE_ATSC' undeclared (first use in this function)
dtvsignal.c:220: error: dereferencing pointer to incomplete type
dtvsignal.c:222: error: 'FE_SET_FRONTEND' undeclared (first use in this function)
dtvsignal.c:208: warning: unused variable 'fe_info'
dtvsignal.c: In function 'dvbsetup':
dtvsignal.c:265: error: storage size of 'frontend_param' isn't known
dtvsignal.c:280: error: invalid application of 'sizeof' to incomplete type 'struct dvb_frontend_parameters'
dtvsignal.c:289: error: 'VSB_8' undeclared (first use in this function)
dtvsignal.c:294: error: 'QAM_256' undeclared (first use in this function)
dtvsignal.c:307: error: 'DMX_PES_VIDEO' undeclared (first use in this function)
dtvsignal.c:307: error: too many arguments to function 'set_pesfilter'
dtvsignal.c:315: error: 'DMX_PES_AUDIO' undeclared (first use in this function)
dtvsignal.c:315: error: too many arguments to function 'set_pesfilter'
dtvsignal.c:265: warning: unused variable 'frontend_param'
dtvsignal.c: In function 'scan_loop':
dtvsignal.c:337: error: 'fe_status_t' undeclared (first use in this function)
dtvsignal.c:337: error: expected ';' before 'status'
dtvsignal.c:370: error: 'FE_READ_STATUS' undeclared (first use in this function)
dtvsignal.c:370: error: 'status' undeclared (first use in this function)
dtvsignal.c:371: error: 'FE_READ_SIGNAL_STRENGTH' undeclared (first use in this function)
dtvsignal.c:372: error: 'FE_READ_SNR' undeclared (first use in this function)
dtvsignal.c:373: error: 'FE_READ_BER' undeclared (first use in this function)
dtvsignal.c:374: error: 'FE_READ_UNCORRECTED_BLOCKS' undeclared (first use in this function)
dtvsignal.c:384: error: 'FE_HAS_LOCK' undeclared (first use in this function)
make: *** [dtvsignal] Error 1
View user's profile Send private message
PostPosted: Sun Oct 14, 2007 12:13 pm Reply with quote
waterhead
 
Joined: 24 Apr 2005
Posts: 299




Do you have the kernel sources installed?

_________________
Mythbuntu 8.04
Intel D875PBZ main board
Pentium4 3.06Ghz
1024GB RAM
nVidia 6600GT
pcHDTV HD-3000
Air2PC PCI
MythTV 0.21
View user's profile Send private message
PostPosted: Sun Oct 14, 2007 12:36 pm Reply with quote
jonspalmer
 
Joined: 14 Oct 2007
Posts: 3




I'm not sure. How would I tell/install them?
View user's profile Send private message
PostPosted: Sun Oct 14, 2007 4:16 pm Reply with quote
waterhead
 
Joined: 24 Apr 2005
Posts: 299




They are named different, depending on which distro you have. On my CentOS(Red Hat)/Fedora and Suse systems they are in /usr/src/linux-<your kernel version>

Which distro are you using?


Last edited by waterhead on Mon Oct 15, 2007 3:47 pm; edited 1 time in total

_________________
Mythbuntu 8.04
Intel D875PBZ main board
Pentium4 3.06Ghz
1024GB RAM
nVidia 6600GT
pcHDTV HD-3000
Air2PC PCI
MythTV 0.21
View user's profile Send private message
PostPosted: Sun Oct 14, 2007 7:30 pm Reply with quote
jonspalmer
 
Joined: 14 Oct 2007
Posts: 3




I'm running KnoppMyth distribution R5F27. So Debian 2.6.18-chw-13.


I have the directory:
/usr/src/linux-headers-2.6.18-chw-13/

I've tried to install ths source:
apt-get install linux-source-2.6.18-chw-13

but I get the error:

Code:
Package linux-source-2.6.18-chw-13 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package linux-source-2.6.18-chw-13 has no installation candidate
View user's profile Send private message
PostPosted: Mon Oct 15, 2007 3:51 pm Reply with quote
waterhead
 
Joined: 24 Apr 2005
Posts: 299




I'm having trouble posting.

It won't take my ftp address for the kernel source! Sad


Last edited by waterhead on Mon Oct 15, 2007 8:27 pm; edited 1 time in total

_________________
Mythbuntu 8.04
Intel D875PBZ main board
Pentium4 3.06Ghz
1024GB RAM
nVidia 6600GT
pcHDTV HD-3000
Air2PC PCI
MythTV 0.21
View user's profile Send private message
PostPosted: Mon Oct 15, 2007 4:11 pm Reply with quote
waterhead
 
Joined: 24 Apr 2005
Posts: 299




You can get the source from here:
Sources

Or from apt:
Code:
# apt-get install linux-source-2.6.18-chw-13_2.6.18-chw-13-10.00.Custom_all

I'm not sure if that last one will work. Smile

_________________
Mythbuntu 8.04
Intel D875PBZ main board
Pentium4 3.06Ghz
1024GB RAM
nVidia 6600GT
pcHDTV HD-3000
Air2PC PCI
MythTV 0.21
View user's profile Send private message
patch available?
PostPosted: Mon Oct 15, 2007 4:45 pm Reply with quote
nickhart
 
Joined: 15 Oct 2007
Posts: 5




I'm having this same problem. I'm using ubuntu gutsy gibbon ("Linux argent 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux"). I've installed the kernel source and necessary build tools. I'm no kernel expert, but I seem to recall reading that the "linux/config.h" file has been deprecated/removed from recent kernels. I don't know the details. I'm guessing that there's a patch somewhere that addresses this--but I'm having trouble finding it. anyone know more about this?
View user's profile Send private message
Problem compiling tools
  pcHDTV Forum Index -> Installation/Setup
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
All times are GMT - 7 Hours  
Page 1 of 1  

  
  
 Post new topic  Reply to topic  


Powered by phpBB © 2001-2003 phpBB Group
Theme created by Vjacheslav Trushkin