[devel] Сборка heartbeat с --as-needed
Konstantin A. Lepikhov
=?iso-8859-1?q?lakostis_=CE=C1_altlinux=2Eorg?=
Ср Сен 27 14:06:21 MSD 2006
Hi Eugene!
Wednesday 27, at 01:20:33 PM you wrote:
> > Проверьте путь к библиотеке. Также, возможно, вам надо будет поменять
> > порядок директорий при сборке, чтобы libpe_status.la собиралась раньше
> > чем libpengine.la
а дальше начинается самое интересное:
creating libpengine.la
(cd .libs && rm -f libpengine.la && ln -s ../libpengine.la libpengine.la)
/bin/sh ../../libtool --tag=CC --mode=link gcc -pipe -Wall -O2
-march=pentium4 -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 -ggdb3
-funsigned-char -pipe -Wall -O2 -march=pentium4 -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 -ggdb3 -funsigned-char -o ptest ptest-ptest.o
../../lib/clplumbing/libplumb.la ../../lib/pils/libpils.la
../../lib/crm/common/libcrmcommon.la ../../lib/crm/pengine/libpe_rules.la
../../lib/crm/pengine/libpe_status.la ../../lib/crm/cib/libcib.la
libpengine.la -lglib-2.0 -lncurses ../../lib/crm/cib/libcib.la
../../lib/crm/transition/libtransitioner.la -lbz2 -lz -lxml2 -lc -luuid
-lrt -ldl -lltdl
gcc -pipe -Wall -O2 -march=pentium4 -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
-ggdb3 -funsigned-char -pipe -Wall -O2 -march=pentium4 -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 -ggdb3 -funsigned-char -o .libs/ptest ptest-ptest.o
../../lib/clplumbing/.libs/libplumb.so ../../lib/pils/.libs/libpils.so
../../lib/crm/common/.libs/libcrmcommon.so
../../lib/crm/pengine/.libs/libpe_rules.so
../../lib/crm/pengine/.libs/libpe_status.so ./.libs/libpengine.so
-lglib-2.0 -lncurses ../../lib/crm/cib/.libs/libcib.so
../../lib/crm/transition/.libs/libtransitioner.so -lbz2 -lz -lxml2 -lc
-luuid -lrt -ldl -lltdl
../../lib/crm/pengine/.libs/libpe_status.so: undefined reference to
`stdscr'
../../lib/crm/pengine/.libs/libpe_status.so: undefined reference to
`wmove'
../../lib/crm/pengine/.libs/libpe_status.so: undefined reference to
`printw'
collect2: ld returned 1 exit status
make: *** [ptest] 1
printw/wmove - это символы из libslang, но вот libpe_status.so с ней
линковаться не хочет, поскольку напрямую их не требует. Бага в ncurses?
--
WBR et al.
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя : =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Тип : application/pgp-signature
Размер : 189 байтов
Описание: Digital signature
Url : <http://lists.altlinux.org/pipermail/devel/attachments/20060927/f88dd2bd/attachment-0001.bin>
Подробная информация о списке рассылки Devel