p2kmoto
Volver al foro (Usando Guadalinex V4)-
No estoy seguro de que este sea el foro adecuado para plantear esta duda, si es así agradecería que me lo hicierais saber.
Estoy conectando un teléfono motorola c650 al Guadalinex, mediante MOTO4LINE. El teléfono es detectado, pero no puedo acceder a los archivos de este. Seguramente por no tener instalado P2KMOTO.
Una vez descargado y descomprimido el P2KMOTO, no consigo instalarlo:
$ ./configure
$ make
make: *** No se especificó ningún objetivo y no se encontró ningún makefile. Alto.
Por lo que espero que alguien me proporcione un repositorio desde donde instalarlo con Synaptic
Gracias
...-
Hola
Comprueba que el configure no te ha dado ningún error.
Pega aquí la salida de ./configure
Tux sedee Kseni Iretka nuteire...-
Gracias por tu interes tuxsedeekseniretka.
Esto es lo que me pides:
~/Descargas/p2kmoto-0.1$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... missing
checking for working autoconf... missing
checking for working automake-1.4... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
...-
El problema es que no tienes instalado el compilador para C++. Instálalo con apt-get install g++
y el problema estará resuelto.
Espero que te haya servido
Tux sedee Kseni Iretka nuteire...-
Con tu ayuda he conseguido dar otro pasito. Pero cuando intente instalar ...
~/Descargas/p2kmoto-0.1$ sudo make install
Making install in src
make[1]: se ingresa al directorio `/home/praestes/Descargas/p2kmoto-0.1/src'
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c p2kmoto.c
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: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
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:253: error: 'phoneHandle' undeclared (first use in this function)
p2kmoto.c: In function 'p2k_closePhone':
p2kmoto.c:274: error: 'phoneHandle' undeclared (first use in this function)
p2kmoto.c: At top level:
p2kmoto.c:314: error: expected declaration specifiers or '...' before 'usb_dev_handle'
p2kmoto.c: In function 'p2k_sendControl':
p2kmoto.c:318: error: 'dev' undeclared (first use in this function)
p2kmoto.c: In function 'p2k_outData':
p2kmoto.c:358: error: 'phoneHandle' undeclared (first use in this function)
p2kmoto.c:358: warning: passing argument 6 of 'p2k_sendControl' makes pointer from integer without a cast
p2kmoto.c:358: warning: passing argument 7 of 'p2k_sendControl' makes integer from pointer without a cast
p2kmoto.c:358: error: too many arguments to function 'p2k_sendControl'
p2kmoto.c: In function 'p2k_inpSize':
p2kmoto.c:374: error: 'phoneHandle' undeclared (first use in this function)
p2kmoto.c:374: warning: passing argument 6 of 'p2k_sendControl' makes pointer from integer without a cast
p2kmoto.c:374: warning: passing argument 7 of 'p2k_sendControl' makes integer from pointer without a cast
p2kmoto.c:374: error: too many arguments to function 'p2k_sendControl'
p2kmoto.c: In function 'p2k_inpData':
p2kmoto.c:408: error: 'phoneHandle' undeclared (first use in this function)
p2kmoto.c:408: warning: passing argument 6 of 'p2k_sendControl' makes pointer from integer without a cast
p2kmoto.c:408: warning: passing argument 7 of 'p2k_sendControl' makes integer from pointer without a cast
p2kmoto.c:408: error: too many arguments to function 'p2k_sendControl'
make[1]: *** [p2kmoto.lo] Error 1
make[1]: se sale del directorio `/home/praestes/Descargas/p2kmoto-0.1/src'
make: *** [install-recursive] Error 1
Falta instalar alguna libreria?
...-
Te falta instalar las librerias de desarrollo libusb-dev
sudo apt-get install libusb-dev en una consola y despues procede con la compilación
Es irremediable, los pingüinos saltan las ventanas, las rompen. ... Ahora tengo blog: http://manuelingdl.wordpress.com Los viernes son de software libre en El Blog del Manuelillo-
Toda la instalación ha funcionado.
Todo gracias a ti y a la comunidad linux, aunque me voy a poner a estudiar el motivo por el que no funciona pese a que todo fue bien.
Felices fiestas
...-
por lo pronto, desde una terminal ejecuta p2ktest, si no da ningun error eso significa que tu movil es compatible, no se si haga falta reinstalar el moto4lin porque cuando lo instalaste no estaba el p2kmoto
Suerte y estamos todos aqui para ayudar y ser ayudados a veces
Es irremediable, los pingüinos saltan las ventanas, las rompen. ... Ahora tengo blog: http://manuelingdl.wordpress.com Los viernes son de software libre en El Blog del Manuelillo-
que onda este fue el unico foro al q se acerca mi duda mi modelo de cel es un v3 y al ahora de hacer p2ktest me sale el sigueinte error no se si alguin me pueda ayudar y en el moto4lin me detecta el celular pero no me deja abrir las carpetas
$ sudo p2ktest
P2k Test
Device list:
22b8:4902: [Motorola Inc.] [Motorola Phone (V3)]
0000:0000: [Linux 2.6.24-16-generic uhci_hcd] [UHCI Host Controller]
0000:0000: [Linux 2.6.24-16-generic ehci_hcd] [EHCI Host Controller]
Switching to P2K...
P2k Phone found
(E_p2k_openPhone.-1: no p2k phone)
(E_p2k_sendControl.-6: no connection)
(E_p2k_getPhoneName.-14: E001)
Can not get phone model
(E_p2k_sendControl.-6: no connection)
(E_p2k_getDriveName.-14: E001)
Can not get drive name
(E_p2k_sendControl.-6: no connection)
(E_p2k_freeSpace.-14: E001)
Can not get free space(E_p2k_sendControl.-6: no connection)
(E_p2k_fileCount.-14: E001)
Can not get file count(E_p2k_sendControl.-6: no connection)
(E_p2k_fileCount.-14: E001)
-
Pues a mi me da los mismos errores, posiblemente esto se deba a que el proyecto hace tiempo que esta abandonado y se basa en librerias como la libusb-dev que debe haber sufrido muchos cambios en los ultimos años. La ultima noticia de funcionamiento en ubuntu se dio con una edgy, la base de guadalinex v4, sin embargo yo sigo sin poderlo conectar, seguire investigando
Es irremediable, los pingüinos saltan las ventanas, las rompen. ... Ahora tengo blog: http://manuelingdl.wordpress.com Los viernes son de software libre en El Blog del Manuelillo
-
-
-
-
-
-
-
-
-
nauj
Iniciado Senior
Envíos: 42