Fórum Ubuntu CZ/SK

Ostatní => Archiv => Téma založeno: cinester 24 Července 2006, 20:02:53

Název: Kompilace p2kmoto-0.1 [vyřešeno]
Přispěvatel: cinester 24 Července 2006, 20:02:53
Vypisuje mi toto:

root@aa-desktop:~/motorola/p2kmoto-0.1# make
make  all-recursive
make[1]: Entering directory `/home/aa/motorola/p2kmoto-0.1'
Making all in src
make[2]: Entering directory `/home/aa/motorola/p2kmoto-0.1/src'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c p2kmoto.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c p2kmoto.c  -fPIC -DPIC -o .libs/p2kmoto.o
p2kmoto.c:26:17: error: usb.h: No such file or directory
p2kmoto.c:95: error: syntax error before '*' token
p2kmoto.c:95: warning: data definition has no type or storage class
p2kmoto.c: In function 'p2k_getDevList':
p2kmoto.c:159: error: 'usb_dev_handle' undeclared (first use in this function)
p2kmoto.c:159: error: (Each undeclared identifier is reported only once
p2kmoto.c:159: error: for each function it appears in.)
p2kmoto.c:159: error: 'udev' undeclared (first use in this function)
p2kmoto.c:171: error: 'usb_busses' undeclared (first use in this function)
p2kmoto.c:171: error: dereferencing pointer to incomplete type
p2kmoto.c:172: error: dereferencing pointer to incomplete type
p2kmoto.c:172: error: dereferencing pointer to incomplete type
p2kmoto.c:179: error: dereferencing pointer to incomplete type
p2kmoto.c:181: error: dereferencing pointer to incomplete type
p2kmoto.c:181: error: dereferencing pointer to incomplete type
p2kmoto.c:183: error: dereferencing pointer to incomplete type
p2kmoto.c:184: error: dereferencing pointer to incomplete type
p2kmoto.c:191: error: dereferencing pointer to incomplete type
p2kmoto.c:192: error: dereferencing pointer to incomplete type
p2kmoto.c:195: error: dereferencing pointer to incomplete type
p2kmoto.c:196: error: dereferencing pointer to incomplete type
p2kmoto.c: In function 'p2k_findDevice':
p2kmoto.c:222: warning: assignment makes pointer from integer without a cast
p2kmoto.c:224: error: dereferencing pointer to incomplete type
p2kmoto.c:228: error: dereferencing pointer to incomplete type
p2kmoto.c:228: error: dereferencing pointer to incomplete type
p2kmoto.c:229: error: dereferencing pointer to incomplete type
p2kmoto.c:229: error: dereferencing pointer to incomplete type
p2kmoto.c: In function 'p2k_connect':
p2kmoto.c:254: warning: assignment makes pointer from integer without a cast
p2kmoto.c: At top level:
p2kmoto.c:314: error: syntax error before 'usb_dev_handle'
p2kmoto.c: In function 'p2k_sendControl':
p2kmoto.c:318: error: 'dev' undeclared (first use in this function)
p2kmoto.c:327: error: 'requesttype' undeclared (first use in this function)
p2kmoto.c:327: error: 'request' undeclared (first use in this function)
p2kmoto.c:327: error: 'value' undeclared (first use in this function)
p2kmoto.c:327: error: 'bytes' undeclared (first use in this function)
p2kmoto.c:327: error: 'size' undeclared (first use in this function)
p2kmoto.c:327: error: 'timeout' undeclared (first use in this function)
make[2]: *** [p2kmoto.lo] Error 1
make[2]: Leaving directory `/home/aa/motorola/p2kmoto-0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/aa/motorola/p2kmoto-0.1'
make: *** [all-recursive-am] Error 2
root@aa-desktop:~/motorola/p2kmoto-0.1#

Mam Dapper Drake. Neviete kde je problem?
Název: Kompilace p2kmoto-0.1 [vyřešeno]
Přispěvatel: Vojtin 24 Července 2006, 20:33:02
make by se nemělo zadávat jako root, až make install, jestli se nemýlím pokud ano prosím administrátory o smazání příspěvku.
Název: Kompilace p2kmoto-0.1 [vyřešeno]
Přispěvatel: cinester 24 Července 2006, 20:41:07
Citace: Vojtin
make by se nemělo zadávat jako root, až make install, jestli se nemýlím pokud ano prosím administrátory o smazání příspěvku.
Ako userovi mi nejde ./configure
Název: Kompilace p2kmoto-0.1 [vyřešeno]
Přispěvatel: GlidingFLY 24 Července 2006, 22:21:32
Skus si stahnout tento balíček:
http://members.chello.cz/gliding/p2kmoto_0.1_i386.deb
U mne proběhla kompilace normálně ;)
Název: Kompilace p2kmoto-0.1 [vyřešeno]
Přispěvatel: cinester 25 Července 2006, 20:59:54
To je super, diky. Este potrebujem moto4lin, je to malicke ale vyhadzuje mi to tu istu chybu. Nemozes mi prosim pomoct aj s tym? http://moto4lin.sourceforge.net/
Název: Kompilace p2kmoto-0.1 [vyřešeno]
Přispěvatel: GlidingFLY 25 Července 2006, 22:44:41
Máš to zde: http://members.chello.cz/gliding/moto4lin_0.3-1_i386.deb
A nezapomeň, že musíš mít nainstalováno "libqt3-mt", "libusb" a pro jistotu i "zlib1g" kvůli závislostem, jak jsem si všiml.
Tak snad ti to pomůže ;)
Název: Kompilace p2kmoto-0.1 [vyřešeno]
Přispěvatel: cinester 29 Července 2006, 20:24:23
Citace: GlidingFLY
Máš to zde: http://members.chello.cz/gliding/moto4lin_0.3-1_i386.deb
A nezapomeň, že musíš mít nainstalováno "libqt3-mt", "libusb" a pro jistotu i "zlib1g" kvůli závislostem, jak jsem si všiml.
Tak snad ti to pomůže ;)
Super, ide to, diky.
Název: Kompilace p2kmoto-0.1 [vyřešeno]
Přispěvatel: Luke 02 Září 2006, 02:51:17
ahoj GlidingFLY, prosimte, mohl bys tam jeste soupnout ty dva deby? Rad bych si je stahnul...na kompilaci si vubec netroufam...pripadne poslat na email... linuxfan ZAVINAC seznam TECKA cz...moc bych ti byl vdecnej...ja jsem offline a vsechny deby taham odjinud a zavislosti na ty knihovny potrebny ke kompilaci je fakt mrte...to by byla hruza
Název: Kompilace p2kmoto-0.1 [vyřešeno]
Přispěvatel: GlidingFLY 02 Září 2006, 22:51:35
Je to tam kluci ;) Omlouvám se, dělal jsem udržbu a nedostávalo se mi místa.
Název: Kompilace p2kmoto-0.1 [vyřešeno]
Přispěvatel: Luke 07 Září 2006, 13:28:34
Diky ti, diky