Problems with driver in CVS rel_1_0_0

Kreuzuebersetzer, Diskussion über Änderungen im Tuxbox-CDK und Tuxbox-CVS
Bingo
Beiträge: 1
Registriert: Sonntag 25. Mai 2003, 21:53

Problems with driver in CVS rel_1_0_0

Beitrag von Bingo »

Hi there , have a dreambox 7000-s

Just checked out rel_1_0_0 today , and have encountered a few problems.

I get this error as the first thing :

[tuxbox@localhost cdk]$ ./autogen.sh
Generating configuration files for tuxbox-cdk, please wait....
aclocal
libtoolize --automake
autoconf
configure.ac:13: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
automake --add-missing
[tuxbox@localhost cdk]$

But it seems like i can still continue with this line.

./configure --prefix=$HOME/dbox2 --with-cvsdir=$HOME/tuxbox-cvs --enable-maintainer-mode

Then on a make all , it okay until i come to the driver section

there it complains in tuxbox_hardware_dreambox.c , in directory info.

it cant find tuxbox/tuxbox_hardware_dreambox.h , but there was a tuxbox/hardware_dreambox.h so i copied that to tuxbox/tuxbox_hardware_dreambox.h.

then in same tuxbox_hardware_dreambox.c module it complains of many Undefined ENUMS i think , it seems line it misses to include info.h , so i did a #include "tuxbox_internal.h" , as it was in the dbox2 image and that one included the info.h , then there was 2 syntax errors , a missing semicolon , ans an unused variable ret , that i had to correct alzo.

Now it compiles all , if i do a make all.

Was my checkout in error/bad or are u working on the source right now ???

Well i thought i just wanted to say i found those probs , but it might not be the correct way i fixed it :-)


Thanz for a great job Guyzz


L8ter

/Bingo
xphile
Neugieriger
Neugieriger
Beiträge: 4
Registriert: Sonntag 5. Oktober 2003, 09:48

Beitrag von xphile »

It's 4 months later and I had this problem also. The fix was to change tuxbox_hardware_dreambox.c:

- comment out the declaration of - int ret; (not referenced);
- add #include "tuxbox_internal.h"
- change #include <tuxbox/tuxbox_hardware_dreambox.h> to #include <tuxbox/hardware_dreambox.h>

My compile then worked.