[ LUGOS ] Compiling

arso na e5.ijs.si arso na e5.ijs.si
Tor Apr 13 14:43:14 CEST 1999


Zivjo!

Torej, pos stevilnih poskusih sem obupal nad moznostjo, 
da mi bo uspelo prevesti eno aplikacijo. So, help me.

Gre za video-aplikacijo, ki uporablja bttv driverje.
Prvi problem je, da configure skripta, ki pride z izvorno
kodo, ne ponuja moznosti, da bi aplikaciji dopovedal,
kateri grabber naj uporablja. Dobro, rocno popravim
Makefile, da kaze na bttv direktorij. Make mi nato javi 
nekaj warningov, nakar se prevajanje zalostno konca
z errorjem:

rm -f grabber-bttv.o; c++ -c -O2 -DUSE_SHM -DED_YBITS=4 -DSIGRET=void -Itmndec 
-Itmn-x -Ih263 -L/usr/local/src/bttv/driver -Ibttv -Ibt848 -Ivideodev 
-Ivideodev3 -Ii2c -Imsp3400     -I./jpeg -I./p64 -I. grabber-bttv.cc
grabber-bttv.cc:80: field `wtw_' has incomplete type
grabber-bttv.cc: In method `BTTVGrabber::BTTVGrabber(const char *)':
grabber-bttv.cc:151: `BTTV_GETWTW' undeclared (first use this function)
grabber-bttv.cc:151: (Each undeclared identifier is reported only once
grabber-bttv.cc:151: for each function it appears in.)
grabber-bttv.cc:172: `BTTV_SETWTW' undeclared (first use this function)
grabber-bttv.cc:177: `unchar' undeclared (first use this function)
grabber-bttv.cc:177: parse error before `)'
grabber-bttv.cc:185: warning: passing `unsigned char *' as argument 1 of 
`mlock(char *, unsigned int)' changes signedness
grabber-bttv.cc:194: `BTTV_INPUT' undeclared (first use this function)
grabber-bttv.cc: In method `BTTVGrabber::~BTTVGrabber()':
grabber-bttv.cc:200: warning: passing `unsigned char *' as argument 1 of 
`munlock(char *, unsigned int)' changes signedness
grabber-bttv.cc: In method `int BTTVGrabber::command(int, const char *const 
*)':
grabber-bttv.cc:238: `BTTV_SETWTW' undeclared (first use this function)
grabber-bttv.cc:252: `BTTV_INPUT' undeclared (first use this function)
grabber-bttv.cc: In method `void BTTVGrabber::BTTVgrab()':
grabber-bttv.cc:293: `BTTV_TESTM' undeclared (first use this function)
grabber-bttv.cc: In method `void BTTVGrabber::format()':
grabber-bttv.cc:400: `BTTV_SETWTW' undeclared (first use this function)
make: *** [grabber-bttv.o] Error 1

Se da kaj storiti?

LP,

arso




Dodatne informacije o seznamu Starilist