Newsgroup: it.comp.os.linux.iniziare
Titolo: hotkeys e new kernel

ragazzi che palle che sono ma problemi di questa complessità ancora non
li riesco a risolvere senza una mano da parte vostra; vi vorrei esporre 1
dubbio ed un problema:
1) per compilare un nuovo kernel sulla mia RH9, per esempio passare da un
2.4 ad un 2.5, come posso mantenere la stessa identica configurazione (che
fa funzionare benissimo il mio hardware ) senza doverlo fare a mano? ho
caricato il file config della 2.4 ma m ha dato errore.....ho sbagliato io
qualcosa? come posso fare?
2) ho installato xosd per poi installare hotkeys: quest'ultimo l'ho
perfettamente configurato ( dopo aver fatto un casino per le db3 ) con
"./configure --with-xosd --with-gtk
--with-db3-inc=/usr/local/BerkeleyDB.3.2/include
--with-db3-lib=/usr/local/BerkeleyDB.3.2/lib" ma poi in fase di
compilazione con make si verifica questa serie di errori
make  all-recursive
make[1]: Entering directory `/root/hotkeys-0.5.7.1' Making all in src
make[2]: Entering directory `/root/hotkeys-0.5.7.1/src' gcc
-DHAVE_CONFIG_H -DSHAREDIR=\"/usr/local/share/hotkeys\"              
-DCONFDIR=\"/usr/local/etc\" -DCONFIG_NAME=\"hotkeys.conf\"  
-I/usr/local/BerkeleyDB.3.2/include  -g -O2  -I/usr/X11R6/include
-I/usr/include/libxml2 -g -O2 -I/usr/X11R6/include -Wall
-I/usr/local/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include
-I/usr/include/freetype2 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -I..  -c kbddef.c kbddef.c:40:23:
xmlmemory.h: No such file or directory kbddef.c:41:20: parser.h: No such
file or directory kbddef.c:97: parse error before "doc" kbddef.c: In
function `parseUserDef': kbddef.c:104: warning: implicit declaration of
function `xmlGetProp' kbddef.c:104: `cur' undeclared (first use in this
function) kbddef.c:104: (Each undeclared identifier is reported only once
kbddef.c:104: for each function it appears in.) kbddef.c:104: warning:
assignment makes pointer from integer without a cast kbddef.c:110:
warning: assignment makes pointer from integer without a cast
kbddef.c:127: `curKeySym' undeclared (first use in this function)
kbddef.c:129: warning: implicit declaration of function
`xmlNodeListGetString' kbddef.c:129: `doc' undeclared (first use in this
function) kbddef.c:129: warning: assignment makes pointer from integer
without a cast kbddef.c: At top level:
kbddef.c:148: parse error before "xmlNodePtr" kbddef.c: In function
`getVolAdj':
kbddef.c:152: `cur' undeclared (first use in this function) kbddef.c:152:
warning: assignment makes pointer from integer without a cast
kbddef.c:158: `upOrDown' undeclared (first use in this function) kbddef.c:
At top level:
kbddef.c:168: parse error before "doc" kbddef.c: In function `parseStd':
kbddef.c:176: `cur' undeclared (first use in this function) kbddef.c:178:
warning: assignment makes pointer from integer without a cast kbddef.c: In
function `readDefFile':
kbddef.c:211: `xmlDocPtr' undeclared (first use in this function)
kbddef.c:211: parse error before "doc" kbddef.c:212: `xmlNsPtr' undeclared
(first use in this function) kbddef.c:213: `xmlNodePtr' undeclared (first
use in this function) kbddef.c:220: `doc' undeclared (first use in this
function) kbddef.c:220: warning: implicit declaration of function
`xmlParseFile' kbddef.c:223: `cur' undeclared (first use in this function)
kbddef.c:223: warning: implicit declaration of function
`xmlDocGetRootElement' kbddef.c:226: warning: implicit declaration of
function `xmlFreeDoc' kbddef.c:248: warning: assignment makes pointer from
integer without a cast /usr/include/bits/stdio.h: At top level:
kbddef.h:29: warning: `parseDefFile' declared `static' but never defined
hotkeys.h:37: warning: `setKbdType' declared `static' but never defined
hotkeys.h:39: warning: `setLoglevel' declared `static' but never defined
hotkeys.h:40: warning: `parseArgs' declared `static' but never defined
hotkeys.h:41: warning: `GetDisplay' declared `static' but never defined
hotkeys.h:43: warning: `adjust_vol' declared `static' but never defined
hotkeys.h:44: warning: `doMute' declared `static' but never defined
hotkeys.h:45: warning: `ejectDisc' declared `static' but never defined
hotkeys.h:46: warning: `closeTray' declared `static' but never defined
hotkeys.h:47: warning: `launchApp' declared `static' but never defined
hotkeys.h:48: warning: `printXkbActionMessage' declared `static' but never
defined make[2]: *** [kbddef.o] Error 1
make[2]: Leaving directory `/root/hotkeys-0.5.7.1/src' make[1]: ***
[all-recursive] Error 1
make[1]: Leaving directory `/root/hotkeys-0.5.7.1' make: ***
[all-recursive-am] Error 2
da cosa può dipendere? me la date 1 mano...odio non poter usare la mia
tastiera multimediale
Ciao e grazie a chiunque risponda
Experience

 tastiera multimediale
Modifica source/kbddef.c negli include:
	#include <xmlmemory.h>
	#include <parser.h>
E falli diventare:
	#include <libxml/xmlmemory.h>
	#include <libxml/parser.h>
Ciao,
 Emmanuele.
-- 
Emmanuele Bassi (Zefram)           [ 
http://digilander.libero.it/ebassi/
 ]
GnuPG Key fingerprint = 4DD0 C90D 4070 F071 5738  08BD 8ECC DB8F A432 0FF4

  Emmanuele.
grazie mille Emmanuele, sei un amico....con questo tua modifica la
compilazione ed installazione è andata a buon fine ;-)
Ciao e grazie ancora

  Emmanuele.
grazie mille Emmanuele, grazie al tuo suggerimento tutto è andato a buon
fine....ti ringrazio
Ciaoooo
Experience

 
adesso sono costretto a rispondere da solo ai miei post :-(....ho
sbagliato a rispondere infatti volevo scrivere:
""cavolo, quindi mi tocca fare tutto a mano....un bel lavoretto
direi!?!?!""
cmq grazie ancora, e scusami per il casino nelle risposte...infatti se
vedi l'ora a cui sto postando non ti sorprenderai...del sonno !!!! :-DDD
Ciao e grazie ancora
Experience