Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 15/08/2012, à 14:38

moltig

iphone+remotepad pour ubuntu, problème dans l’installation

bonjour
je ne suis pas sur d’être dans la bonne section du forum, si cela est le cas veuillez me le dire.
j'ai voulut utiliser mon iphone pour contrôler mon pc et après une recherche j'ai vu que c'était possible grâce a l'app remotepad, j'ai trouvé un tuto pour Ubuntu mais j'ai un problème vers la fin de l'installation
pour les 3 dernières commandes :

./configure

make

sudo make install

j’obtiens:

quentin@quentin-Studio-1555:~/src/RemotePad Server/X11$ ./configure
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 ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
checking for sqrt in -lm... yes
checking for struct sockaddr.sa_len... no
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -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 X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking for XOpenDisplay in -lX11... yes
checking X11/extensions/XTest.h usability... yes
checking X11/extensions/XTest.h presence... yes
checking for X11/extensions/XTest.h... yes
checking for XTestQueryExtension in -lXtst... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
quentin@quentin-Studio-1555:~/src/RemotePad Server/X11$ make
gcc -lXtst -lX11 -lm  -o remotepad remotepad.o ucs2keysym.o
remotepad.o: In function `handleKeyEvent':
/home/quentin/src/RemotePadServer/X11/remotepad.c:369: undefined reference to `XKeysymToKeycode'
/home/quentin/src/RemotePadServer/X11/remotepad.c:371: undefined reference to `XTestFakeKeyEvent'
remotepad.o: In function `simulateKeyWithUnichar':
/home/quentin/src/RemotePadServer/X11/remotepad.c:379: undefined reference to `XKeysymToKeycode'
/home/quentin/src/RemotePadServer/X11/remotepad.c:399: undefined reference to `XTestFakeKeyEvent'
/home/quentin/src/RemotePadServer/X11/remotepad.c:404: undefined reference to `XTestFakeKeyEvent'
/home/quentin/src/RemotePadServer/X11/remotepad.c:403: undefined reference to `XTestFakeKeyEvent'
/home/quentin/src/RemotePadServer/X11/remotepad.c:401: undefined reference to `XTestFakeKeyEvent'
/home/quentin/src/RemotePadServer/X11/remotepad.c:389: undefined reference to `XKeysymToKeycode'
/home/quentin/src/RemotePadServer/X11/remotepad.c:394: undefined reference to `XKeysymToKeycode'
/home/quentin/src/RemotePadServer/X11/remotepad.c:398: undefined reference to `XTestFakeKeyEvent'
/home/quentin/src/RemotePadServer/X11/remotepad.c:396: undefined reference to `XTestFakeKeyEvent'
/home/quentin/src/RemotePadServer/X11/remotepad.c:391: undefined reference to `XKeysymToKeycode'
remotepad.o: In function `handleKeyEvent':
/home/quentin/src/RemotePadServer/X11/remotepad.c:365: undefined reference to `XBell'
remotepad.o: In function `main':
/home/quentin/src/RemotePadServer/X11/remotepad.c:125: undefined reference to `XOpenDisplay'
/home/quentin/src/RemotePadServer/X11/remotepad.c:130: undefined reference to `XTestQueryExtension'
/home/quentin/src/RemotePadServer/X11/remotepad.c:143: undefined reference to `XCreateWindow'
/home/quentin/src/RemotePadServer/X11/remotepad.c:148: undefined reference to `XDisplayKeycodes'
/home/quentin/src/RemotePadServer/X11/remotepad.c:150: undefined reference to `XGetKeyboardMapping'
/home/quentin/src/RemotePadServer/X11/remotepad.c:194: undefined reference to `XGetWindowAttributes'
/home/quentin/src/RemotePadServer/X11/remotepad.c:317: undefined reference to `XGetWindowAttributes'
/home/quentin/src/RemotePadServer/X11/remotepad.c:302: undefined reference to `XFlush'
/home/quentin/src/RemotePadServer/X11/remotepad.c:259: undefined reference to `XTestFakeButtonEvent'
/home/quentin/src/RemotePadServer/X11/remotepad.c:260: undefined reference to `XTestFakeButtonEvent'
/home/quentin/src/RemotePadServer/X11/remotepad.c:284: undefined reference to `XTestFakeButtonEvent'
/home/quentin/src/RemotePadServer/X11/remotepad.c:233: undefined reference to `XTestFakeRelativeMotionEvent'
/home/quentin/src/RemotePadServer/X11/remotepad.c:126: undefined reference to `XDisplayName'
collect2: ld a retourné 1 code d'état d'exécution
make: *** [remotepad] Erreur 1
quentin@quentin-Studio-1555:~/src/RemotePad Server/X11$ sudo make install
[sudo] password for quentin: 
gcc -lXtst -lX11 -lm  -o remotepad remotepad.o ucs2keysym.o
remotepad.o: In function `handleKeyEvent':
/home/quentin/src/RemotePadServer/X11/remotepad.c:369: undefined reference to `XKeysymToKeycode'
/home/quentin/src/RemotePadServer/X11/remotepad.c:371: undefined reference to `XTestFakeKeyEvent'
remotepad.o: In function `simulateKeyWithUnichar':
/home/quentin/src/RemotePadServer/X11/remotepad.c:379: undefined reference to `XKeysymToKeycode'
/home/quentin/src/RemotePadServer/X11/remotepad.c:399: undefined reference to `XTestFakeKeyEvent'
/home/quentin/src/RemotePadServer/X11/remotepad.c:404: undefined reference to `XTestFakeKeyEvent'
/home/quentin/src/RemotePadServer/X11/remotepad.c:403: undefined reference to `XTestFakeKeyEvent'
/home/quentin/src/RemotePadServer/X11/remotepad.c:401: undefined reference to `XTestFakeKeyEvent'
/home/quentin/src/RemotePadServer/X11/remotepad.c:389: undefined reference to `XKeysymToKeycode'
/home/quentin/src/RemotePadServer/X11/remotepad.c:394: undefined reference to `XKeysymToKeycode'
/home/quentin/src/RemotePadServer/X11/remotepad.c:398: undefined reference to `XTestFakeKeyEvent'
/home/quentin/src/RemotePadServer/X11/remotepad.c:396: undefined reference to `XTestFakeKeyEvent'
/home/quentin/src/RemotePadServer/X11/remotepad.c:391: undefined reference to `XKeysymToKeycode'
remotepad.o: In function `handleKeyEvent':
/home/quentin/src/RemotePadServer/X11/remotepad.c:365: undefined reference to `XBell'
remotepad.o: In function `main':
/home/quentin/src/RemotePadServer/X11/remotepad.c:125: undefined reference to `XOpenDisplay'
/home/quentin/src/RemotePadServer/X11/remotepad.c:130: undefined reference to `XTestQueryExtension'
/home/quentin/src/RemotePadServer/X11/remotepad.c:143: undefined reference to `XCreateWindow'
/home/quentin/src/RemotePadServer/X11/remotepad.c:148: undefined reference to `XDisplayKeycodes'
/home/quentin/src/RemotePadServer/X11/remotepad.c:150: undefined reference to `XGetKeyboardMapping'
/home/quentin/src/RemotePadServer/X11/remotepad.c:194: undefined reference to `XGetWindowAttributes'
/home/quentin/src/RemotePadServer/X11/remotepad.c:317: undefined reference to `XGetWindowAttributes'
/home/quentin/src/RemotePadServer/X11/remotepad.c:302: undefined reference to `XFlush'
/home/quentin/src/RemotePadServer/X11/remotepad.c:259: undefined reference to `XTestFakeButtonEvent'
/home/quentin/src/RemotePadServer/X11/remotepad.c:260: undefined reference to `XTestFakeButtonEvent'
/home/quentin/src/RemotePadServer/X11/remotepad.c:284: undefined reference to `XTestFakeButtonEvent'
/home/quentin/src/RemotePadServer/X11/remotepad.c:233: undefined reference to `XTestFakeRelativeMotionEvent'
/home/quentin/src/RemotePadServer/X11/remotepad.c:126: undefined reference to `XDisplayName'
collect2: ld a retourné 1 code d'état d'exécution
make: *** [remotepad] Erreur 1

que faire?

Dernière modification par moltig (Le 15/08/2012, à 14:39)

Hors ligne

#2 Le 04/08/2013, à 19:49

JimMurple

Re : iphone+remotepad pour ubuntu, problème dans l’installation

ET Bien mieux vaut tard que Jamais !! Lol

Je viens de rencontre le même problème et voici la solution. Dans la procédure d'install utiliser cette commande à la place de faire un "make" :

prompt# gcc remotepad.o ucs2keysym.o -o remotepad -lXtst -lX11 -lm -L/usr/X11/lib

nb : il faut tout de même faire le "make install" après pour que l'install soit définitive.

@+

Ps,  : 1 ans après j'espère que cà serrvira à quelqu'un d'autre

Hors ligne