[linux-dvb] Error compiling CVS dvb-apps

Lane Schwartz dowobeha at gmail.com
Mon Feb 21 19:20:58 CET 2005


Hi, I'm just trying to get started with DVB. I recently got an Air2PC
ATSC card, and I'm having trouble compiling the dvb-apps that I just
download from CVS.

I think this is the relevant section:

cc -MD -I../../include  -g -O2 -Wall  dvbtraffic.c -o dvbtraffic
In file included from dvbtraffic.c:15:
../../include/linux/dvb/video.h:105: warning: no semicolon at end of
struct or union
../../include/linux/dvb/video.h:105: error: syntax error before '*' token
../../include/linux/dvb/video.h:107: error: syntax error before '}' token
make[2]: *** [dvbtraffic] Error 1

Any tips or pointers would be greatly appreciated!


Here's the full output:

# make
make -C util
make[1]: Entering directory `/usr/src/dvb-apps/util'
make -C lib
make[2]: Entering directory `/usr/src/dvb-apps/util/lib'
gcc -MD -I../../include -I.  -g -Wall -O2  -c lnb.c -o lnb.o
make[2]: Leaving directory `/usr/src/dvb-apps/util/lib'
make -C szap
make[2]: Entering directory `/usr/src/dvb-apps/util/szap'
gcc -MD -I../../include -I../lib '-DDATADIR="/usr/local/share"' -Wall
-g -O2  -o azap.o -c azap.c
gcc -MD -I../../include -I../lib '-DDATADIR="/usr/local/share"' -Wall
-g -O2  -o szap.o -c szap.c
gcc -MD -I../../include -I../lib '-DDATADIR="/usr/local/share"' -Wall
-g -O2  -o tzap.o -c tzap.c
gcc -MD -I../../include -I../lib '-DDATADIR="/usr/local/share"' -Wall
-g -O2  -o czap.o -c czap.c
gcc -MD -I../../include -I../lib '-DDATADIR="/usr/local/share"' -Wall
-g -O2  -o femon.o -c femon.c
gcc -Wall -g -O2 -o azap azap.o
gcc -Wall -g -O2 -o szap szap.o ../lib/lnb.o
gcc -Wall -g -O2 -o tzap tzap.o
gcc -Wall -g -O2 -o czap czap.o
gcc -Wall -g -O2 -o femon femon.o

--------------------------------------------------------------------------------
 please copy an appropriate channels-conf/*/XXX channel list for
DVB-S/C/T or ATSC

   to ~/.szap/channels.conf
      ~/.czap/channels.conf
      ~/.tzap/channels.conf
      ~/.azap/channels.conf

 and then call ./szap for DVB-S, ./czap for DVB-C or ./tzap for DVB-T
or ./azap for ATSC
--------------------------------------------------------------------------------

make[2]: Leaving directory `/usr/src/dvb-apps/util/szap'
make -C scan
make[2]: Entering directory `/usr/src/dvb-apps/util/scan'
gcc -MD -I../../include -I../lib '-DDATADIR="/usr/local/share"' -g
-Wall -O2  -c diseqc.c -o diseqc.o
gcc -MD -I../../include -I../lib '-DDATADIR="/usr/local/share"' -g
-Wall -O2  -c dump-zap.c -o dump-zap.o
gcc -MD -I../../include -I../lib '-DDATADIR="/usr/local/share"' -g
-Wall -O2  -c dump-vdr.c -o dump-vdr.o
gcc -MD -I../../include -I../lib '-DDATADIR="/usr/local/share"' -g
-Wall -O2  -c scan.c -o scan.o
gcc -g -Wall -o dvbscan diseqc.o dump-zap.o dump-vdr.o scan.o ../lib/lnb.o
make[2]: Leaving directory `/usr/src/dvb-apps/util/scan'
make -C dvbnet
make[2]: Entering directory `/usr/src/dvb-apps/util/dvbnet'
printf '#define VERSION_INFO "%s (Build %s)"\n' \
"`cat version.h.in`" "`date +'%a %b %d %X %Y'`" > version.h
gcc -MD -I. -I../../include  -g -O2 -Wall  -c dvbnet.c -o dvbnet.o
gcc -o dvbnet dvbnet.o
make[2]: Leaving directory `/usr/src/dvb-apps/util/dvbnet'
make -C dvbdate
make[2]: Entering directory `/usr/src/dvb-apps/util/dvbdate'
gcc -MD -I../../include  -g -O2 -Wall  -c dvbdate.c -o dvbdate.o
gcc -o dvbdate dvbdate.o
make[2]: Leaving directory `/usr/src/dvb-apps/util/dvbdate'
make -C dvbtraffic
make[2]: Entering directory `/usr/src/dvb-apps/util/dvbtraffic'
cc -MD -I../../include  -g -O2 -Wall  dvbtraffic.c -o dvbtraffic
In file included from dvbtraffic.c:15:
../../include/linux/dvb/video.h:105: warning: no semicolon at end of
struct or union
../../include/linux/dvb/video.h:105: error: syntax error before '*' token
../../include/linux/dvb/video.h:107: error: syntax error before '}' token
make[2]: *** [dvbtraffic] Error 1
make[2]: Leaving directory `/usr/src/dvb-apps/util/dvbtraffic'
make[1]: *** [Makefile] Error 2
make[1]: Leaving directory `/usr/src/dvb-apps/util'
make: *** [all] Error 2


Thanks,
Lane

-- 
Meetup with other Myth users!
http://mythtv.info/moin.cgi/MUG




More information about the linux-dvb mailing list