by luca72 » Thu Mar 04, 2010 11:53 am
try to install it on kubuntu 9.10 the configure is ok but when i run make i get this output.
There are some problem with new kernel?
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I./shared -g -O2 -MT TC08Api.lo -MD -MP -MF .deps/TC08Api.Tpo -c -o TC08Api.lo `test -f 'common/TC08Api.cpp' || echo './'`common/TC08Api.cpp
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I.. -I./shared -g -O2 -MT TC08Api.lo -MD -MP -MF .deps/TC08Api.Tpo -c common/TC08Api.cpp -fPIC -DPIC -o .libs/TC08Api.o
common/TC08Api.cpp:58: warning: 'typedef' was ignored in this declaration
common/TC08Api.cpp: In function 'short int usb_tc08_open_unit()':
common/TC08Api.cpp:194: error: 'sleep' was not declared in this scope
common/TC08Api.cpp: In function 'short int usb_tc08_get_unit_info(short int, USBTC08_INFO*)':
common/TC08Api.cpp:569: error: 'sprintf' was not declared in this scope
common/TC08Api.cpp:588: error: 'memcpy' was not declared in this scope
common/TC08Api.cpp: In function 'short int usb_tc08_get_unit_info2(short int, char*, short int, short int)':
common/TC08Api.cpp:662: error: 'snprintf' was not declared in this scope
common/TC08Api.cpp: In function 'short int usb_tc08_get_formatted_info(short int, char*, short int)':
common/TC08Api.cpp:772: error: 'snprintf' was not declared in this scope
common/TC08Api.cpp:788: error: 'snprintf' was not declared in this scope
make[2]: *** [TC08Api.lo] Errore 1
make[2]: uscita dalla directory «/home/lucak904/Scrivania/Luca/progetti_c++/pico/libusbtc08-1.7.2/src»
make[1]: *** [all-recursive] Errore 1
make[1]: uscita dalla directory «/home/lucak904/Scrivania/Luca/progetti_c++/pico/libusbtc08-1.7.2»
make: *** [all] Errore 2