dvbsnoop compile error
-
- Neugieriger
- Beiträge: 6
- Registriert: Dienstag 21. Oktober 2003, 21:53
dvbsnoop compile error
i cannot compile dvbsnoop
after make all:
make -C /down/dbox2/CDK-cvs/apps/dvb/dvbsnoop all install
make[1]: Entering directory `/mnt/video/down/dbox2/CDK-cvs/apps/dvb/dvbsnoop'
Making all in src
make[2]: Entering directory `/mnt/video/down/dbox2/CDK-cvs/apps/dvb/dvbsnoop/src'
if powerpc-tuxbox-linux-gnu-gcc -DPACKAGE_NAME=\"tuxbox-apps-dvb-dvbsnoop\" -DPACKAGE_TARNAME=\"dvbsnoop\" -DPACKAGE_VERSION=\"0.0.1\" -DPACKAGE_STRING=\"tuxbox-apps-dvb-dvbsnoop\ 0.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"dvbsnoop\" -DVERSION=\"0.0.1\" -I. -I. -Wall -mcpu=823 -mmultiple -mstring -meabi -pipe -O2 -g3 -gdwarf-2 -MT bat.o -MD -MP -MF ".deps/bat.Tpo" \
-c -o bat.o `test -f 'bat.c' || echo './'`bat.c; \
then mv -f ".deps/bat.Tpo" ".deps/bat.Po"; \
else rm -f ".deps/bat.Tpo"; exit 1; \
fi
In file included from bat.c:36:
dvbsnoop.h:62:20: config.h: No such file or directory
dvbsnoop.h:65:27: linux/dvb/dmx.h: No such file or directory
make[2]: *** [bat.o] Error 1
make[2]: Leaving directory `/mnt/video/down/dbox2/CDK-cvs/apps/dvb/dvbsnoop/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/video/down/dbox2/CDK-cvs/apps/dvb/dvbsnoop'
make: *** [.dvbsnoop] Error 2
[mrq1@mrqserv2 cdk]$ find /down/dbox2/ -name dmx.h
/down/dbox2/CDK-cvs/apps/dvb/zapit/include/zapit/dmx.h
/down/dbox2/CDK-cvs/apps/tuxbox/neutrino/daemons/sectionsd/dmx.h
/down/dbox2/CDK-cvs/driver/dvb/include/linux/dvb/dmx.h
[mrq1@mrqserv2 cdk]$
maybe an missing "-I" in the makefile?
hope somebody can help me here :-)
after make all:
make -C /down/dbox2/CDK-cvs/apps/dvb/dvbsnoop all install
make[1]: Entering directory `/mnt/video/down/dbox2/CDK-cvs/apps/dvb/dvbsnoop'
Making all in src
make[2]: Entering directory `/mnt/video/down/dbox2/CDK-cvs/apps/dvb/dvbsnoop/src'
if powerpc-tuxbox-linux-gnu-gcc -DPACKAGE_NAME=\"tuxbox-apps-dvb-dvbsnoop\" -DPACKAGE_TARNAME=\"dvbsnoop\" -DPACKAGE_VERSION=\"0.0.1\" -DPACKAGE_STRING=\"tuxbox-apps-dvb-dvbsnoop\ 0.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"dvbsnoop\" -DVERSION=\"0.0.1\" -I. -I. -Wall -mcpu=823 -mmultiple -mstring -meabi -pipe -O2 -g3 -gdwarf-2 -MT bat.o -MD -MP -MF ".deps/bat.Tpo" \
-c -o bat.o `test -f 'bat.c' || echo './'`bat.c; \
then mv -f ".deps/bat.Tpo" ".deps/bat.Po"; \
else rm -f ".deps/bat.Tpo"; exit 1; \
fi
In file included from bat.c:36:
dvbsnoop.h:62:20: config.h: No such file or directory
dvbsnoop.h:65:27: linux/dvb/dmx.h: No such file or directory
make[2]: *** [bat.o] Error 1
make[2]: Leaving directory `/mnt/video/down/dbox2/CDK-cvs/apps/dvb/dvbsnoop/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/video/down/dbox2/CDK-cvs/apps/dvb/dvbsnoop'
make: *** [.dvbsnoop] Error 2
[mrq1@mrqserv2 cdk]$ find /down/dbox2/ -name dmx.h
/down/dbox2/CDK-cvs/apps/dvb/zapit/include/zapit/dmx.h
/down/dbox2/CDK-cvs/apps/tuxbox/neutrino/daemons/sectionsd/dmx.h
/down/dbox2/CDK-cvs/driver/dvb/include/linux/dvb/dmx.h
[mrq1@mrqserv2 cdk]$
maybe an missing "-I" in the makefile?
hope somebody can help me here :-)
-
- Oberlamer, Administrator & Supernanny
- Beiträge: 10532
- Registriert: Samstag 13. Juli 2002, 10:49
-
- Neugieriger
- Beiträge: 6
- Registriert: Dienstag 21. Oktober 2003, 21:53
thanks for your answer, but this does not worked for me :-(
[mrq1@mrqserv2 cdk]$ make .dvbsnoop
cd /down/dbox2/CDK-cvs/apps/dvb/dvbsnoop && ./autogen.sh && CC=powerpc-tuxbox-linux-gnu-gcc CXX=powerpc-tuxbox-linux-gnu-g++ CFLAGS="-Wall -mcpu=823 -mmultiple -mstring -meabi -pipe -O2 -g3 -gdwarf-2" CXXFLAGS="-Wall -mcpu=823 -mmultiple -mstring -meabi -pipe -O2 -g3 -gdwarf-2" ./configure --build=i686-pc-linux-gnu --host=powerpc-tuxbox-linux-gnu --prefix=/down/dbox2/RUNNING/cdkroot --with-driver=/down/dbox2/CDK-cvs/driver --with-dvbincludes=/down/dbox2/CDK-cvs/driver/dvb/include --with-target=cdk --enable-maintainer-mode
Generating configuration files for dvbsnoop, please wait....
aclocal
autoconf
autoheader
autoheader: error: AC_CONFIG_HEADERS not found in configure.ac
automake --add-missing
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for powerpc-tuxbox-linux-gnu-strip... powerpc-tuxbox-linux-gnu-strip
./configure: TUXBOX_APPS: command not found
checking for powerpc-tuxbox-linux-gnu-gcc... powerpc-tuxbox-linux-gnu-gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether powerpc-tuxbox-linux-gnu-gcc accepts -g... yes
checking for powerpc-tuxbox-linux-gnu-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of powerpc-tuxbox-linux-gnu-gcc... gcc3
./configure: TUXBOX_APPS_DVB: command not found
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: executing depfiles commands
make -C /down/dbox2/CDK-cvs/apps/dvb/dvbsnoop all install
make[1]: Entering directory `/mnt/video/down/dbox2/CDK-cvs/apps/dvb/dvbsnoop'
Making all in src
make[2]: Entering directory `/mnt/video/down/dbox2/CDK-cvs/apps/dvb/dvbsnoop/src'
if powerpc-tuxbox-linux-gnu-gcc -DPACKAGE_NAME=\"tuxbox-apps-dvb-dvbsnoop\" -DPACKAGE_TARNAME=\"dvbsnoop\" -DPACKAGE_VERSION=\"0.0.1\" -DPACKAGE_STRING=\"tuxbox-apps-dvb-dvbsnoop\ 0.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"dvbsnoop\" -DVERSION=\"0.0.1\" -I. -I. -Wall -mcpu=823 -mmultiple -mstring -meabi -pipe -O2 -g3 -gdwarf-2 -MT bat.o -MD -MP -MF ".deps/bat.Tpo" \
-c -o bat.o `test -f 'bat.c' || echo './'`bat.c; \
then mv -f ".deps/bat.Tpo" ".deps/bat.Po"; \
else rm -f ".deps/bat.Tpo"; exit 1; \
fi
In file included from bat.c:36:
dvbsnoop.h:62:20: config.h: No such file or directory
dvbsnoop.h:65:27: linux/dvb/dmx.h: No such file or directory
make[2]: *** [bat.o] Error 1
make[2]: Leaving directory `/mnt/video/down/dbox2/CDK-cvs/apps/dvb/dvbsnoop/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/video/down/dbox2/CDK-cvs/apps/dvb/dvbsnoop'
make: *** [.dvbsnoop] Error 2
[mrq1@mrqserv2 cdk]$
i found something strange
in the dvbsnoop-dir is a symlink
lrwxrwxrwx 1 mrq1 mrq1 56 Oct 21 14:30 acinclude.m4 -> /down/dbox2/CDK-cvs/apps/dvb/dvbsnoop/../../acinclude.m4
and this link is INVALID
ls -l /down/dbox2/CDK-cvs/apps/dvb/dvbsnoop/../../
total 4
-rwxrwxr-x 1 mrq1 mrq1 310 Feb 19 2003 build.sh*
drwxrwxr-x 2 mrq1 mrq1 48 Oct 20 22:08 CVS/
drwxrwxr-x 8 mrq1 mrq1 83 Oct 20 22:08 dvb/
drwxrwxr-x 5 mrq1 mrq1 39 Jun 16 17:20 misc/
drwxrwxr-x 12 mrq1 mrq1 134 Oct 20 22:27 tuxbox/
[mrq1@mrqserv2 dvbsnoop]$
any ideas???
[mrq1@mrqserv2 cdk]$ make .dvbsnoop
cd /down/dbox2/CDK-cvs/apps/dvb/dvbsnoop && ./autogen.sh && CC=powerpc-tuxbox-linux-gnu-gcc CXX=powerpc-tuxbox-linux-gnu-g++ CFLAGS="-Wall -mcpu=823 -mmultiple -mstring -meabi -pipe -O2 -g3 -gdwarf-2" CXXFLAGS="-Wall -mcpu=823 -mmultiple -mstring -meabi -pipe -O2 -g3 -gdwarf-2" ./configure --build=i686-pc-linux-gnu --host=powerpc-tuxbox-linux-gnu --prefix=/down/dbox2/RUNNING/cdkroot --with-driver=/down/dbox2/CDK-cvs/driver --with-dvbincludes=/down/dbox2/CDK-cvs/driver/dvb/include --with-target=cdk --enable-maintainer-mode
Generating configuration files for dvbsnoop, please wait....
aclocal
autoconf
autoheader
autoheader: error: AC_CONFIG_HEADERS not found in configure.ac
automake --add-missing
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for powerpc-tuxbox-linux-gnu-strip... powerpc-tuxbox-linux-gnu-strip
./configure: TUXBOX_APPS: command not found
checking for powerpc-tuxbox-linux-gnu-gcc... powerpc-tuxbox-linux-gnu-gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether powerpc-tuxbox-linux-gnu-gcc accepts -g... yes
checking for powerpc-tuxbox-linux-gnu-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of powerpc-tuxbox-linux-gnu-gcc... gcc3
./configure: TUXBOX_APPS_DVB: command not found
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: executing depfiles commands
make -C /down/dbox2/CDK-cvs/apps/dvb/dvbsnoop all install
make[1]: Entering directory `/mnt/video/down/dbox2/CDK-cvs/apps/dvb/dvbsnoop'
Making all in src
make[2]: Entering directory `/mnt/video/down/dbox2/CDK-cvs/apps/dvb/dvbsnoop/src'
if powerpc-tuxbox-linux-gnu-gcc -DPACKAGE_NAME=\"tuxbox-apps-dvb-dvbsnoop\" -DPACKAGE_TARNAME=\"dvbsnoop\" -DPACKAGE_VERSION=\"0.0.1\" -DPACKAGE_STRING=\"tuxbox-apps-dvb-dvbsnoop\ 0.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"dvbsnoop\" -DVERSION=\"0.0.1\" -I. -I. -Wall -mcpu=823 -mmultiple -mstring -meabi -pipe -O2 -g3 -gdwarf-2 -MT bat.o -MD -MP -MF ".deps/bat.Tpo" \
-c -o bat.o `test -f 'bat.c' || echo './'`bat.c; \
then mv -f ".deps/bat.Tpo" ".deps/bat.Po"; \
else rm -f ".deps/bat.Tpo"; exit 1; \
fi
In file included from bat.c:36:
dvbsnoop.h:62:20: config.h: No such file or directory
dvbsnoop.h:65:27: linux/dvb/dmx.h: No such file or directory
make[2]: *** [bat.o] Error 1
make[2]: Leaving directory `/mnt/video/down/dbox2/CDK-cvs/apps/dvb/dvbsnoop/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/video/down/dbox2/CDK-cvs/apps/dvb/dvbsnoop'
make: *** [.dvbsnoop] Error 2
[mrq1@mrqserv2 cdk]$
i found something strange
in the dvbsnoop-dir is a symlink
lrwxrwxrwx 1 mrq1 mrq1 56 Oct 21 14:30 acinclude.m4 -> /down/dbox2/CDK-cvs/apps/dvb/dvbsnoop/../../acinclude.m4
and this link is INVALID
ls -l /down/dbox2/CDK-cvs/apps/dvb/dvbsnoop/../../
total 4
-rwxrwxr-x 1 mrq1 mrq1 310 Feb 19 2003 build.sh*
drwxrwxr-x 2 mrq1 mrq1 48 Oct 20 22:08 CVS/
drwxrwxr-x 8 mrq1 mrq1 83 Oct 20 22:08 dvb/
drwxrwxr-x 5 mrq1 mrq1 39 Jun 16 17:20 misc/
drwxrwxr-x 12 mrq1 mrq1 134 Oct 20 22:27 tuxbox/
[mrq1@mrqserv2 dvbsnoop]$
any ideas???
-
- Oberlamer, Administrator & Supernanny
- Beiträge: 10532
- Registriert: Samstag 13. Juli 2002, 10:49
-
- Neugieriger
- Beiträge: 6
- Registriert: Dienstag 21. Oktober 2003, 21:53
-
- Oberlamer, Administrator & Supernanny
- Beiträge: 10532
- Registriert: Samstag 13. Juli 2002, 10:49
-
- Senior Member
- Beiträge: 5071
- Registriert: Dienstag 18. September 2001, 00:00
mostly it is a version problem with autogen.sh
Please check if you have an uptodate version.
also a messed up cdk directory or Makefiles will cause problems.
As recommended, a "make distclean" will solve this problem.
In fact I removed the complete cdk tree from my disk and re-check out
the complete cvs to compile from scratch - this was sometimes necessary.
Please check if you have an uptodate version.
also a messed up cdk directory or Makefiles will cause problems.
As recommended, a "make distclean" will solve this problem.
In fact I removed the complete cdk tree from my disk and re-check out
the complete cvs to compile from scratch - this was sometimes necessary.
-
- Senior Member
- Beiträge: 1282
- Registriert: Montag 12. November 2001, 00:00
which version of autoconf are you using? (see autoconf --version or autoheader --version)mrq1 hat geschrieben:autoheader: error: AC_CONFIG_HEADERS not found in configure.ac
You can try to replace AM_CONFIG_HEADER with AC_CONFIG_HEADERS in apps/acinclude.m4. Have a look at the autoconf manual for details (google). Use of AM_CONFIG_HEADER is deprecated since some months and should maybe replaced in cvs. It could however break compilation with old automake versions. Is there anyone still using automake 1.4?
@rasc, DieMade: please stop recommending distclean or rm -rf if you don't know whether it is needed or not.
-
- Senior Member
- Beiträge: 5071
- Registriert: Dienstag 18. September 2001, 00:00
1. instead of autogen.sh please read "autoconf" - as written by obi, of course - my mistake. Sorry for that.
2.
@obi:
maybe, but it is "lamer compliant" and works in any case (if versions of all needed tools are matching).
I had several (rare) occasions, in which a "make distclean" and re-autogen / configure didn't solve my compile issues. Only a complete new checkout and complete re-compile from scratch did solve the problem - maybe this is somewhat radical, but it's proofed to work. (but there are chances, that I did mess up my local CVS copy ...).
Whatever, take it as a worst case scenario.
2.
@obi:
maybe, but it is "lamer compliant" and works in any case (if versions of all needed tools are matching).
I had several (rare) occasions, in which a "make distclean" and re-autogen / configure didn't solve my compile issues. Only a complete new checkout and complete re-compile from scratch did solve the problem - maybe this is somewhat radical, but it's proofed to work. (but there are chances, that I did mess up my local CVS copy ...).
Whatever, take it as a worst case scenario.
-
- Neugieriger
- Beiträge: 6
- Registriert: Dienstag 21. Oktober 2003, 21:53
which version of autoconf are you using? (see autoconf --version or autoheader --version)obi hat geschrieben:mrq1 hat geschrieben:autoheader: error: AC_CONFIG_HEADERS not found in configure.ac
autoconf --version
autoconf (GNU Autoconf) 2.57
fresh installed & also a make distclean on /cdk but again
exactly the same error output

You can try to replace AM_CONFIG_HEADER with AC_CONFIG_HEADERS in apps/acinclude.m4.
this file is not generated
ls -la apps/
total 4
drwxrwxr-x 6 mrq1 mrq1 65 Oct 21 17:04 ./
drwxrwxr-x 9 mrq1 mrq1 123 Oct 21 01:37 ../
-rwxrwxr-x 1 mrq1 mrq1 310 Feb 19 2003 build.sh*
drwxrwxr-x 2 mrq1 mrq1 48 Oct 20 22:08 CVS/
drwxrwxr-x 8 mrq1 mrq1 83 Oct 20 22:08 dvb/
drwxrwxr-x 5 mrq1 mrq1 39 Jun 16 17:20 misc/
drwxrwxr-x 12 mrq1 mrq1 134 Oct 20 22:27 tuxbox/
i think the proble is this acinclude.m4 file in the "apps" dir
under the dvbsnoopdir is an link to the apps dir
ls -l /mnt/video/down/dbox2/CDK-cvs/apps/dvb/dvbsnoop/acinclude.m4
lrwxrwxrwx 1 mrq1 mrq1 56 Oct 21 14:30 /mnt/video/down/dbox2/CDK-cvs/apps/dvb/dvbsnoop/acinclude.m4 -> /down/dbox2/CDK-cvs/apps/dvb/dvbsnoop/../../acinclude.m4
and this file is not there and so the link is invalid
... looks like this is the root of the problem

which part of the make process SHOULD put it there?
-
- Erleuchteter
- Beiträge: 465
- Registriert: Mittwoch 14. August 2002, 20:45
That would be the cvs checkout part
http://cvs.tuxbox.org/cgi-bin/viewcvs.c ... include.m4
Looks like you somehow killed that file.

http://cvs.tuxbox.org/cgi-bin/viewcvs.c ... include.m4
Looks like you somehow killed that file.
-
- Semiprofi
- Beiträge: 1173
- Registriert: Samstag 1. September 2001, 00:00
Hi!
dvbsnoop didn't work on my machine as well. My error-message was different, but maybe you want to try the workaround that worked for me: http://tuxbox-cvs.sourceforge.net/forum ... t=dvbsnoop
(You must add the code in the post of satBL to your tuxbox/apps/acinclude.m4)
CU,
Sepp.
dvbsnoop didn't work on my machine as well. My error-message was different, but maybe you want to try the workaround that worked for me: http://tuxbox-cvs.sourceforge.net/forum ... t=dvbsnoop
(You must add the code in the post of satBL to your tuxbox/apps/acinclude.m4)
CU,
Sepp.
Philips Sat
Astra 19.2°
Astra 19.2°
-
- Neugieriger
- Beiträge: 6
- Registriert: Dienstag 21. Oktober 2003, 21:53