[Comm] Re: ошибка сборки xneur 0.0.3

max =?iso-8859-1?q?alt_=CE=C1_zlt=2Eru?=
Чт Мар 3 12:22:24 MSK 2005


В сообщении от 3 Март 2005 13:59 max написал(a):
> В сообщении от 3 Март 2005 13:36 Drool написал(a):
> > > > Исправьте на XFree86-devel XFree86-libs
> > >
> > > Поподробней, пожалуйста, где это исправить?
> > > В спеке этого нет.
> >
> >  Вот именно в спеке и нужно xorg-x11 заменить на XFree86
>
> Ясно. Вначале я понял "Исправьте на XFree86-devel XFree86-libs" так:
> нужно XFree86-libs заменить на XFree86-devel.
>
> :)
>
> спасибо
>
Сделал rpm пакет установил - не работает.
Программа видит переключения между окнами, но на нажатия клавиш не реагирует и 
автоматом тоже не работает.

Обратил внимание на:

$rpm -bb xneur.spec
Далее идёт большой вывод, вот его часть:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" 
-DPACKAGE_LOCALE_DIR=\""/usr//locale"\" -I/usr/X11R6/include 
-I/usr/include/freetype2       -pipe -Wall -O2 -march=i686 -c `test -f 
'xconfig.c' || echo './'`xconfig.c
xconfig.c: In function `XConfigCopyFile':
xconfig.c:101: warning: unused variable `src_open_sb'
xconfig.c:96: warning: `buf' might be used uninitialized in this function
xconfig.c: In function `XConfigLoad':
xconfig.c:345: warning: too few arguments for format
source='analisys.c' object='analisys.o' libtool=no \
depfile='.deps/analisys.Po' tmpdepfile='.deps/analisys.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" 
-DPACKAGE_LOCALE_DIR=\""/usr//locale"\" -I/usr/X11R6/include 
-I/usr/include/freetype2       -pipe -Wall -O2 -march=i686 -c `test -f 
'analisys.c' || echo './'`analisys.c
analisys.c: In function `LoadLangProto':
analisys.c:42: warning: implicit declaration of function `_malloc'
analisys.c: In function `AddSList':
analisys.c:282: warning: control reaches end of non-void function
analisys.c: In function `DelSList':
analisys.c:286: warning: control reaches end of non-void function
analisys.c: In function `RmSList':
analisys.c:290: warning: control reaches end of non-void function
analisys.c: In function `AddTreeVoid':
analisys.c:441: warning: `prev' might be used uninitialized in this function
analisys.c: In function `RmRepWList':
analisys.c:482: warning: control reaches end of non-void function
analisys.c: In function `RmRepSList':
analisys.c:486: warning: control reaches end of non-void function
analisys.c: In function `TwlDiff':
analisys.c:493: warning: control reaches end of non-void function
source='utils.c' object='utils.o' libtool=no \
depfile='.deps/utils.Po' tmpdepfile='.deps/utils.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" 
-DPACKAGE_LOCALE_DIR=\""/usr//locale"\" -I/usr/X11R6/include 
-I/usr/include/freetype2       -pipe -Wall -O2 -march=i686 -c `test -f 
'utils.c' || echo './'`utils.c
utils.c: In function `_malloc':
utils.c:43: warning: control reaches end of non-void function
utils.c: In function `_calloc':
utils.c:55: warning: control reaches end of non-void function
source='error.c' object='error.o' libtool=no \
depfile='.deps/error.Po' tmpdepfile='.deps/error.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" 
-DPACKAGE_LOCALE_DIR=\""/usr//locale"\" -I/usr/X11R6/include 
-I/usr/include/freetype2       -pipe -Wall -O2 -march=i686 -c `test -f 
'error.c' || echo './'`error.c
source='utilities.c' object='utilities.o' libtool=no \
depfile='.deps/utilities.Po' tmpdepfile='.deps/utilities.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" 
-DPACKAGE_LOCALE_DIR=\""/usr//locale"\" -I/usr/X11R6/include 
-I/usr/include/freetype2       -pipe -Wall -O2 -march=i686 -c `test -f 
'utilities.c' || echo './'`utilities.c
utilities.c: In function `numOfSymbols':
utilities.c:66: warning: implicit declaration of function `isascii'
utilities.c: In function `StrLastSpaceToken':
utilities.c:98: warning: implicit declaration of function `_malloc'
source='xLibrary.c' object='xLibrary.o' libtool=no \
depfile='.deps/xLibrary.Po' tmpdepfile='.deps/xLibrary.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" 
-DPACKAGE_LOCALE_DIR=\""/usr//locale"\" -I/usr/X11R6/include 
-I/usr/include/freetype2       -pipe -Wall -O2 -march=i686 -c `test -f 
'xLibrary.c' || echo './'`xLibrary.c
xLibrary.c: In function `xObject_getAppRootWindow':
xLibrary.c:118: warning: `backup_window' might be used uninitialized in this 
function
xLibrary.c: In function `xObject_getWMClass':
xLibrary.c:233: warning: unused variable `dummyI'
xLibrary.c:234: warning: unused variable `dummyU'
xLibrary.c:236: warning: unused variable `root_window'
xLibrary.c: In function `xString_catContent':
xLibrary.c:550: warning: control reaches end of non-void function
xLibrary.c: In function `xIFocus_update':
xLibrary.c:670: warning: unused variable `err'
xLibrary.c: In function `xSelection_getToString':
xLibrary.c:1141: warning: unused variable `exit_flag'
xLibrary.c: In function `xSelection_chooseValidTarget':
xLibrary.c:1194: warning: unused variable `list'
xLibrary.c:1196: warning: unused variable `dummy'
xLibrary.c: In function `xSelection_waitForSelectionOwnerIsAvailable':
xLibrary.c:1332: warning: implicit declaration of function `usleep'
source='xSelectManager.c' object='xSelectManager.o' libtool=no \
depfile='.deps/xSelectManager.Po' tmpdepfile='.deps/xSelectManager.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" 
-DPACKAGE_LOCALE_DIR=\""/usr//locale"\" -I/usr/X11R6/include 
-I/usr/include/freetype2       -pipe -Wall -O2 -march=i686 -c `test -f 
'xSelectManager.c' || echo './'`xSelectManager.c
xSelectManager.c: In function `xSelectManager_sendStringToFocus':
xSelectManager.c:57: warning: unused variable `num_of_releases'
xSelectManager.c: At top level:
xconfig.h:43: warning: `DEFAULT_BT' defined but not used
source='xKeyLogManager.c' object='xKeyLogManager.o' libtool=no \
depfile='.deps/xKeyLogManager.Po' tmpdepfile='.deps/xKeyLogManager.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" 
-DPACKAGE_LOCALE_DIR=\""/usr//locale"\" -I/usr/X11R6/include 
-I/usr/include/freetype2       -pipe -Wall -O2 -march=i686 -c `test -f 
'xKeyLogManager.c' || echo './'`xKeyLogManager.c
xKeyLogManager.c: In function `xKeyLogBuffer_init':
xKeyLogManager.c:31: warning: implicit declaration of function `malloc'
xKeyLogManager.c:37: warning: implicit declaration of function `free'
xKeyLogManager.c: In function `xKeyLogManager_flushBuffer':
xKeyLogManager.c:242: warning: implicit declaration of function `memset'
xKeyLogManager.c:244: warning: implicit declaration of function `memcpy'
xKeyLogManager.c: In function `xKeyLogManager_getStringFromEventQueue':
xKeyLogManager.c:329: warning: implicit declaration of function `strlen'
xKeyLogManager.c: In function `xKeyLogManager_bind':
xKeyLogManager.c:388: warning: `key_ks' might be used uninitialized in this 
function
xKeyLogManager.c:388: warning: `key_ks_alt' might be used uninitialized in 
this function
xKeyLogManager.c:388: warning: `modifier_ks' might be used uninitialized in 
this function
source='xClientManager.c' object='xClientManager.o' libtool=no \
depfile='.deps/xClientManager.Po' tmpdepfile='.deps/xClientManager.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" 
-DPACKAGE_LOCALE_DIR=\""/usr//locale"\" -I/usr/X11R6/include 
-I/usr/include/freetype2       -pipe -Wall -O2 -march=i686 -c `test -f 
'xClientManager.c' || echo './'`xClientManager.c
xClientManager.c: In function `xClientManager_testAppName':
xClientManager.c:47: warning: implicit declaration of function `strncmp'
xClientManager.c:48: warning: implicit declaration of function `strlen'
xClientManager.c:53: warning: implicit declaration of function `free'
xClientManager.c:60: warning: control reaches end of non-void function
xClientManager.c: At top level:
xconfig.h:43: warning: `DEFAULT_BT' defined but not used
source='xProgram.c' object='xProgram.o' libtool=no \
depfile='.deps/xProgram.Po' tmpdepfile='.deps/xProgram.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" 
-DPACKAGE_LOCALE_DIR=\""/usr//locale"\" -I/usr/X11R6/include 
-I/usr/include/freetype2       -pipe -Wall -O2 -march=i686 -c `test -f 
'xProgram.c' || echo './'`xProgram.c
xProgram.c: In function `xProgram_performCurrentBind':
xProgram.c:194: warning: `back_to_input' might be used uninitialized in this 
function
xProgram.c: In function `xProgram_performCurrentMode':
xProgram.c:297: warning: unused variable `word_len'
xProgram.c:299: warning: unused variable `ret_word'
xProgram.c: In function `xProgram_changeWordBySelection':
xProgram.c:343: warning: implicit declaration of function `GetLastWord'
xProgram.c: At top level:
xconfig.h:43: warning: `DEFAULT_BT' defined but not used
gcc  -pipe -Wall -O2 -march=i686   -o xneur  xneur.o detection.o conv.o 
xconfig.o analisys.o utils.o error.o utilities.o xLibrary.o xSelectManager.o 
xKeyLogManager.o xClientManager.o xProgram.o -L/usr/X11R6/lib -lXft -lX11 
-lfreetype -lXrender    -lXmu
make[2]: Leaving directory `/home/max/RPM/BUILD/xneur-0.0.3/src'


Очень хочу рабочий xneur!!!
Собирал из исходников, ошибок при сборке нет, но тоже не работает.
У меня Мастер 2.4 на ядре 2.4.26.
> > _______________________________________________
> > Community mailing list
> > Community на altlinux.ru
> > https://lists.altlinux.ru/mailman/listinfo/community

-- 
MaX



Подробная информация о списке рассылки community