LINUX.ORG.RU

Ничего не компилируется :(((


0

0

Система RH 7.0, glibc 2.2 Вот что пишет При компиляции lyx: g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ -I../.. -I../.. -I../../boost -isystem /usr/X11R6/include -g -O -fno-exceptions -W -Wall -c formula.C -o formula.o In file included from ../../src/Lsstream.h:17, from formula.C:19: /usr/include/g++-3/sstream: In method `int stringbuf::sync ()': /usr/include/g++-3/sstream:171: warning: comparison between signed and unsigned integer expressions In file included from formula.C:30: ../../src/minibuffer.h: At top level: ../../src/minibuffer.h:17: using directive `Object' introduced ambiguous type `_ObjectRec *' make[3]: *** [formula.lo] Ошибка 1 make[3]: Выход из каталог `/home/sergik/tmp/lyx-1.1.6pre2/src/mathed' make[2]: *** [all-recursive] Ошибка 1 make[2]: Выход из каталог `/home/sergik/tmp/lyx-1.1.6pre2/src' make[1]: *** [all-recursive-am] Ошибка 2 make[1]: Выход из каталог `/home/sergik/tmp/lyx-1.1.6pre2/src' make: *** [all-recursive] Ошибка 1 -------- quakeforge: gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/X11R6/include -O6 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -marc h=pentium -malign-loops=2 -malign-jumps=2 -malign-functions=2 -pipe -Wall -Werror -c sw_model_alias.c cc1: warnings being treated as errors sw_model_alias.c: In function `Mod_LoadSkin': sw_model_alias.c:75: warning: implicit declaration of function `memcpy' sw_model_alias.c: In function `Mod_LoadAliasFrame': sw_model_alias.c:198: warning: implicit declaration of function `strcpy' make[1]: *** [sw_model_alias.o] Ошибка 1 make[1]: Выход из каталог `/home/sergik/tmp/quakeforge-0.2.99beta5/source' make: *** [all-recursive] Ошибка 1 -------- gnome-iconedit: gcc -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/local/share/locale"\" -DGNOMEDATADIR=\""/usr/local/share"\" -I/usr/local/include -I.. -I../src/widgets - I/usr/include -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2 -g -Wall -Wpointer-arith -Wmissing-prototype s -Wmissing-declarations -c Iconedit-stubs.c In file included from /usr/include/IIOP/IIOP.h:9, from /usr/include/orb/orbit.h:55, from Iconedit.h:7, from Iconedit-stubs.c:6: /usr/include/IIOP/iiop-encoders.h:17:31: warning: pasting would not give a valid preprocessing token /usr/include/IIOP/iiop-encoders.h:18:35: warning: pasting would not give a valid preprocessing token /usr/include/IIOP/iiop-encoders.h:19:33: warning: pasting would not give a valid preprocessing token /usr/include/IIOP/iiop-encoders.h:20:28: warning: pasting would not give a valid preprocessing token /usr/include/IIOP/iiop-encoders.h:23:23: warning: pasting would not give a valid preprocessing token In file included from Iconedit-stubs.c:6: Iconedit.h:16:34: liboaf/make[3]: *** [Iconedit-stubs.o] Ошибка 1 make[3]: Выход из каталог `/home/sergik/tmp/gnome-iconedit-1.2.0/src' make[2]: *** [all-recursive] Ошибка 1 make[2]: Выход из каталог `/home/sergik/tmp/gnome-iconedit-1.2.0/src' make[1]: *** [all-recursive] Ошибка 1 make[1]: Выход из каталог `/home/sergik/tmp/gnome-iconedit-1.2.0' make: *** [all-recursive-am] Ошибка 2 gnome-factory.h: No such file or directory В чем может быть ошибка?

anonymous

Re: Ничего не компилируется :(((

Система RH 7.0, glibc 2.2 Вот что пишет При компиляции lyx: 
g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ -I../.. -I../.. -I../../boost -isystem /usr/X11R6/include -g -O -fno-exceptions -W -Wall -c formula.C -o
In file included from ../../src/Lsstream.h:17,                                                                                                                         
                 from formula.C:19:                                                                                                                                    
/usr/include/g++-3/sstream: In method `int stringbuf::sync ()':                                                                                                        
/usr/include/g++-3/sstream:171: warning: comparison between signed and unsigned integer expressions                                                                    
In file included from formula.C:30:                                                                                                                                    
../../src/minibuffer.h: At top level:                                                                                                                                  
../../src/minibuffer.h:17: using directive `Object' introduced                                                                                                         
ambiguous type `_ObjectRec *'                                                                                                                                          
make[3]: *** [formula.lo] Ошибка 1                                                                                                                                     
make[3]: Выход из каталог `/home/sergik/tmp/lyx-1.1.6pre2/src/mathed'                                                                                                  
make[2]: *** [all-recursive] Ошибка 1                                                                                                                                  
make[2]: Выход из каталог `/home/sergik/tmp/lyx-1.1.6pre2/src'                                                                                                         
make[1]: *** [all-recursive-am] Ошибка 2                                                                                                                               
make[1]: Выход из каталог `/home/sergik/tmp/lyx-1.1.6pre2/src'                                                                                                         
make: *** [all-recursive] Ошибка 1                                                                                                                                     
                                                                                                                                                                       
------                                                                                                                                                                       
quakeforge:                                                                                                                                                                    
                                                                                                                                                                       
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include     -I/usr/X11R6/include      -O6 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -marc
cc1: warnings being treated as errors                                                                                                                                  
sw_model_alias.c: In function `Mod_LoadSkin':                                                                                                                          
sw_model_alias.c:75: warning: implicit declaration of function `memcpy'                                                                                                
sw_model_alias.c: In function `Mod_LoadAliasFrame':                                                                                                                    
sw_model_alias.c:198: warning: implicit declaration of function `strcpy'                                                                                               
make[1]: *** [sw_model_alias.o] Ошибка 1                                                                                                                               
make[1]: Выход из каталог `/home/sergik/tmp/quakeforge-0.2.99beta5/source'                                                                                             
make: *** [all-recursive] Ошибка 1                                                                                                                                     
                                                                                                                                                                       
gnome-iconedit:                                                                                                                                                        
                                                                                                                                                                       
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/local/share/locale"\"  -DGNOMEDATADIR=\""/usr/local/share"\"  -I/usr/local/include  -I..  -I../src/widgets  -
In file included from /usr/include/IIOP/IIOP.h:9,                                                                                                                      
                 from /usr/include/orb/orbit.h:55,                                                                                                                     
                 from Iconedit.h:7,                                                                                                                                    
                 from Iconedit-stubs.c:6:                                                                                                                              
/usr/include/IIOP/iiop-encoders.h:17:31: warning: pasting would not give a valid preprocessing token                                                                   
/usr/include/IIOP/iiop-encoders.h:18:35: warning: pasting would not give a valid preprocessing token                                                                   
/usr/include/IIOP/iiop-encoders.h:19:33: warning: pasting would not give a valid preprocessing token                                                                   
/usr/include/IIOP/iiop-encoders.h:20:28: warning: pasting would not give a valid preprocessing token                                                                   
/usr/include/IIOP/iiop-encoders.h:23:23: warning: pasting would not give a valid preprocessing token                                                                   
In file included from Iconedit-stubs.c:6:                                                                                                                              
Iconedit.h:16:34: liboaf/gnome-factory.h: No such file or directory                                                                                                    
make[3]: *** [Iconedit-stubs.o] Ошибка 1                                                                                                                               
make[3]: Выход из каталог `/home/sergik/tmp/gnome-iconedit-1.2.0/src'                                                                                                  
make[2]: *** [all-recursive] Ошибка 1                                                                                                                                  
make[2]: Выход из каталог `/home/sergik/tmp/gnome-iconedit-1.2.0/src'                                                                                                  
make[1]: *** [all-recursive] Ошибка 1                                                                                                                                  
make[1]: Выход из каталог `/home/sergik/tmp/gnome-iconedit-1.2.0'                                                                                                      
make: *** [all-recursive-am] Ошибка 2 

В чем может быть ошибка?

anonymous ()

Re: Ничего не компилируется :(((

1) Кривой исходник 2) cc1 сказал, что warnings будет считаться ошибками, сканируй man gcc/g++ на предмет выключения этой гадости 3) Нет заголовочного файла gnome-factory.h, ищи где он/правь дириктории для поиска includ'ов

phoenix ★★★★ ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.