Kirjoittaja Aihe: puppy ongelma  (Luettu 3149 kertaa)

L1tiumi

  • Käyttäjä
  • Viestejä: 10
    • Profiili
puppy ongelma
« : 11.02.08 - klo:22.49 »
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

Jykä

  • Käyttäjä
  • Viestejä: 1
    • Profiili
Vs: puppy ongelma
« Vastaus #1 : 12.02.08 - klo:17.55 »
Asenna ftpd-topfield, ohjeet löydät tuolta: http://www.tapworld.net/forum/index.php/topic,1472.0.html

L1tiumi

  • Käyttäjä
  • Viestejä: 10
    • Profiili
Vs: puppy ongelma
« Vastaus #2 : 12.02.08 - klo:21.37 »
homma osittain ratkaistu:
puppyllä saan nyt yhteyden toppariin mutta guppy ei vielä toimi, johtunee vääristä python versioista tms. guppyhan on graafinen liittymä puppylle.
tulee tämmöstä kun guppyä käynnistää

Traceback (most recent call last):
  File "/usr/bin/guppy", line 82, in <module>
    from guppy import GuppyWindow
ImportError: No module named gupp

guppy:n kotisivulla http://guppy.nongnu.org/download.html sanotaan että pitää olla python 2.2 ja pyGTK 2.6

näyttäs olevan omassa masiinassa Python 2.5.1 ja python-gtk 1.2

mitenkähän nuo vaaditut löytäs / vaihtas / asentas ???????


puppyn sain toimimaan kun älysin etsiä oikealla hakusanalla löysin tämän http://forum.ubuntu-fi.org/index.php?topic=9549.0 sivun josta viisastuneena asentelin puppyn ja guppyn .deb paketeista

http://download.savannah.gnu.org/releases/guppy/guppy_1.0.1_all.deb
http://download.savannah.gnu.org/releases/guppy/puppy_1.11_i386.deb

homma ei ihan toiminut kun gibbonissa on usb virtualbox tms bugi mutta kun tein tämän http://ubuntuforums.org/showpost.php?p=3580402&postcount=20 sivun ohjeen mukaisen modauksen niin puppy alkoi pelittämään.