[devel] Сборка heartbeat с --as-needed

Eugene Prokopiev =?iso-8859-1?q?prokopiev_=CE=C1_stc=2Edonpac=2Eru?=
Ср Сен 27 14:23:14 MSD 2006


> пока собирается, посмотрим что будет ...

C этим Makefile.am справились, получаем дальше:

gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations 
-Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith 
-Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline 
-Wmissing-format-attribute -Wformat=2 -Wformat-security 
-Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -Werror -ggdb3 
-funsigned-char -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations 
-Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith 
-Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline 
-Wmissing-format-attribute -Wformat=2 -Wformat-security 
-Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -Werror -ggdb3 
-funsigned-char -o .libs/crm_diff crm_diff-xml_diff.o 
../../lib/clplumbing/.libs/libplumb.so 
/usr/src/heartbeat-2.0.7/lib/pils/.libs/libpils.so 
../../lib/pils/.libs/libpils.so 
../../lib/crm/common/.libs/libcrmcommon.so 
/usr/src/heartbeat-2.0.7/lib/apphb/.libs/libapphb.so 
../../lib/crm/cib/.libs/libcib.so ../../lib/apphb/.libs/libapphb.so 
../../lib/hbclient/.libs/libhbclient.so -lglib-2.0 -lbz2 -lz -lxml2 -lc 
-luuid -lrt -ldl -lltdl -Wl,--rpath -Wl,/usr/local/lib
creating crm_diff
if gcc -DHAVE_CONFIG_H -I. -I. -I../../linux-ha -I../../include 
-I../../include -I../../include -I../../libltdl -I../../libltdl 
-I../../linux-ha -I../../linux-ha -I../.. -I../..  -D_BSD_SOURCE 
-D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-I/usr/include/libxml2 -DHA_VARLIBDIR='"/usr/local/var/lib"' -g -O2 
-Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes 
-Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings 
-Wcast-qual -Wcast-align -Wbad-function-cast -Winline 
-Wmissing-format-attribute -Wformat=2 -Wformat-security 
-Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -Werror  -ggdb3 
-funsigned-char -MT crm_mon-crm_mon.o -MD -MP -MF 
".deps/crm_mon-crm_mon.Tpo" -c -o crm_mon-crm_mon.o `test -f 'crm_mon.c' 
|| echo './'`crm_mon.c; \
         then mv -f ".deps/crm_mon-crm_mon.Tpo" 
".deps/crm_mon-crm_mon.Po"; else rm -f ".deps/crm_mon-crm_mon.Tpo"; exit 
1; fi
cc1: warnings being treated as errors
crm_mon.c: In function 'main':
crm_mon.c:217: warning: implicit declaration of function 'initscr'
crm_mon.c:218: warning: implicit declaration of function 'cbreak'
crm_mon.c:219: warning: implicit declaration of function 'noecho'
crm_mon.c:247: warning: implicit declaration of function 'echo'
crm_mon.c:248: warning: implicit declaration of function 'nocbreak'
crm_mon.c:249: warning: implicit declaration of function 'endwin'
gmake[2]: *** [crm_mon-crm_mon.o] Error 1
gmake[2]: Leaving directory `/usr/src/heartbeat-2.0.7/crm/admin'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/src/heartbeat-2.0.7/crm'
make: *** [all-recursive] Error 1

С этим как положено бороться?

-- 
С уважением, Прокопьев Евгений




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