Re: TT S2-3200 - Problems compiling hacked szap.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ferrarir@xxxxxxxxx wrote:> Hi everybody,> first i want to thank you all for your great job (expecially Manuel)> i own a TT S2-3200 pci card and i'm trying to compile multiptoro drivers and szap utility hacked by Manuel. > I'm having problems compiling szap.c file> -I downloaded dvb-apps> -Substituted szap.c file into dvb-apps-dvb-apps-d706658a9003/utils/szap/> -Issued make> this is the output (seems i'm missing some declarations ...)> > szap.c: In function ‘do_tune’:> szap.c:243: error: storage size of ‘fe_params’ isn’t known> szap.c:282: error: ‘DVBFE_SET_PARAMS’ undeclared (first use in this function)> szap.c:282: error: (Each undeclared identifier is reported only once> szap.c:282: error: for each function it appears in.)> szap.c:243: warning: unused variable ‘fe_params’> szap.c: In function ‘zap_to’:> szap.c:353: error: storage size of ‘fe_info’ isn’t known> szap.c:368: error: ‘DVBFE_DELSYS_DVBS’ undeclared (first use in this function)> szap.c:372: error: ‘DVBFE_DELSYS_DSS’ undeclared (first use in this function)> szap.c:376: error: ‘DVBFE_DELSYS_DVBS2’ undeclared (first use in this function)> szap.c:394: error: ‘DVBFE_GET_INFO’ undeclared (first use in this function)> szap.c:353: warning: unused variable ‘fe_info’> make[2]: *** [szap] Error 1> make[2]: Leaving directory `/usr/src/dvb-apps-d706658a9003/util/szap'> make[1]: *** [all] Error 2> make[1]: Leaving directory `/usr/src/dvb-apps-d706658a9003/util'> make: *** [all] Error 2> > how can i fix it?

Make sure you have the updated headers (frontend.h, version.h in your include path)(You need the same headers from the multiproto tree)
wget http://abraham.manu.googlepages.com/szap.ccopy lnb.c and lnb.h from dvb-apps to the same folder where you downloaded szap.c
cc -c lnb.ccc -c szap.ccc -o szap szap.o lnb.o
That's it
Manu
_______________________________________________linux-dvb mailing listlinux-dvb@xxxxxxxxxxxxxxx://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux