kubuntu gutsy ja kde käytössä
puppy ohjelmaa en saa toimimaan sitten millään. googlesta haettu kaikki irtilähtevä...tuollahan pitäisi saada yhteys topfield digiboksiin.
tuli ekaksi samat virheet kuin tämän
http://ubuntuforums.org/showthread.php?t=294411 sivun puolessa välissä ja jahka noudatin sivun ohjeita loppuun asti niin virheet muuttu seuraavaksi. /usr/inclde/linux hakemistoa ei ole ja jos semmosen yritää tehdä niin ei onnistu, sudolla tietty. /lib/modules/2.6.22-14/build/include/linux/ ja /usr/include hakemistossa on kyllä noita tiedostoja joista nuo virheet tulee...vissiin. onkohan tässä jokin symlikki tms joka ei toimi vai mikä
cc -std=gnu99 -Wall -W -Wshadow -Wstrict-prototypes -pedantic -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -c -o puppy.o puppy.c
In file included from /usr/include/errno.h:36,
from puppy.c:34:
/usr/include/bits/errno.h:25:26: error: linux/errno.h: No such file or directory
In file included from /usr/include/asm/byteorder.h:7,
from puppy.c:46:
/usr/include/asm-i386/byteorder.h:53:43: error: linux/byteorder/little_endian.h: No such file or directory
In file included from puppy.c:48:
usb_io.h:30:25: error: linux/types.h: No such file or directory
usb_io.h:31:27: error: linux/version.h: No such file or directory
usb_io.h:33:23: error: linux/usb.h: No such file or directory
usb_io.h:34:32: error: linux/usbdevice_fs.h: No such file or directory
usb_io.h:36:40: error: missing binary operator before token "("
In file included from puppy.c:48:
usb_io.h:137: warning: ‘struct usb_device_descriptor’ declared inside parameter list
usb_io.h:137: warning: its scope is only this definition or declaration, which is probably not what you want
usb_io.h:139: warning: ‘struct usb_config_descriptor’ declared inside parameter list
usb_io.h:141: warning: ‘struct usb_descriptor_header’ declared inside parameter list
usb_io.h:143: warning: ‘struct usb_device_descriptor’ declared inside parameter list
usb_io.h:144: warning: ‘struct usb_config_descriptor’ declared inside parameter list
puppy.c:69: warning: ‘struct usb_device_descriptor’ declared inside parameter list
puppy.c: In function ‘main’:
puppy.c:98: error: storage size of ‘devDesc’ isn’t known
puppy.c:162: error: ‘USBDEVFS_RESET’ undeclared (first use in this function)
puppy.c:162: error: (Each undeclared identifier is reported only once
puppy.c:162: error: for each function it appears in.)
puppy.c:174: error: ‘USBDEVFS_CLAIMINTERFACE’ undeclared (first use in this function)
puppy.c:185: error: variable ‘interface0’ has initializer but incomplete type
puppy.c:185: warning: excess elements in struct initializer
puppy.c:185: warning: (near initialization for ‘interface0’)
puppy.c:185: warning: excess elements in struct initializer
puppy.c:185: warning: (near initialization for ‘interface0’)
puppy.c:185: error: storage size of ‘interface0’ isn’t known
puppy.c:188: error: ‘USBDEVFS_SETINTERFACE’ undeclared (first use in this function)
puppy.c:185: warning: unused variable ‘interface0’
puppy.c:245: error: ‘EINVAL’ undeclared (first use in this function)
puppy.c:251: error: ‘USBDEVFS_RELEASEINTERFACE’ undeclared (first use in this function)
puppy.c:98: warning: unused variable ‘devDesc’
puppy.c: In function ‘do_cmd_turbo’:
puppy.c:270: error: ‘EPROTO’ undeclared (first use in this function)
puppy.c: In function ‘do_cmd_reset’:
puppy.c:306: error: ‘EPROTO’ undeclared (first use in this function)
puppy.c: In function ‘do_cmd_ready’:
puppy.c:340: error: ‘EPROTO’ undeclared (first use in this function)
puppy.c: In function ‘do_cancel’:
puppy.c:376: error: ‘EPROTO’ undeclared (first use in this function)
puppy.c: In function ‘do_hdd_size’:
puppy.c:410: error: ‘EPROTO’ undeclared (first use in this function)
puppy.c: In function ‘do_hdd_dir’:
puppy.c:452: error: ‘EPROTO’ undeclared (first use in this function)
puppy.c: In function ‘do_hdd_file_put’:
puppy.c:519: error: ‘EPROTO’ undeclared (first use in this function)
puppy.c:557: error: ‘ENODATA’ undeclared (first use in this function)
puppy.c: In function ‘do_hdd_file_get’:
puppy.c:694: error: ‘EPROTO’ undeclared (first use in this function)
puppy.c: In function ‘do_hdd_del’:
puppy.c:829: error: ‘EPROTO’ undeclared (first use in this function)
puppy.c: In function ‘do_hdd_rename’:
puppy.c:861: error: ‘EPROTO’ undeclared (first use in this function)
puppy.c: In function ‘do_hdd_mkdir’:
puppy.c:893: error: ‘EPROTO’ undeclared (first use in this function)
puppy.c: At top level:
puppy.c:1138: warning: ‘struct usb_device_descriptor’ declared inside parameter list
puppy.c:1139: error: conflicting types for ‘isToppy’
puppy.c:69: error: previous declaration of ‘isToppy’ was here
puppy.c: In function ‘isToppy’:
puppy.c:1140: error: dereferencing pointer to incomplete type
puppy.c:1140: error: dereferencing pointer to incomplete type
make: *** [puppy.o] Error 1