[EMAIL PROTECTED] 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.c copy lnb.c and lnb.h from dvb-apps to the same folder where you downloaded szap.c cc -c lnb.c cc -c szap.c cc -o szap szap.o lnb.o That's it Manu _______________________________________________ linux-dvb mailing list [email protected] http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
