* [devel] w3c-libwww-5.4.0-alt2: rebuild failed @ 2006-03-21 21:45 ` Vladimir Lettiev 2006-03-21 21:53 ` Dmitry V. Levin 0 siblings, 1 reply; 7+ messages in thread From: Vladimir Lettiev @ 2006-03-21 21:45 UTC (permalink / raw) To: devel Перестал собираться w3c-libwww. Похоже, что самостоятельно разрешить эту проблему я не смогу. Прошу помощи... Сборка shared библиотек libwww* проходит нормально. Но как только попытаться слинковаться с ними, обнаруживается, что в них есть undefined references. Пока видится только один выход: искать недостающие символы в объекниках и линковать их к этим библиотекам. Скорее всего они при этом здорово распухнут. Также у меня не получилось воспроизвести ту ошибку, которую прислал робот. Вылетает в другом месте и на другой shared библиотеке. Интересно почему, SMP? QA Team Robot пишет: > Making all in Examples > make[3]: Entering directory `/usr/src/RPM/BUILD/w3c-libwww-5.4.0/Library/Examples' > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./../src -I../../modules/expat/xmlparse -I./../src/SSL -pipe -Wall -O2 -march=i586 -mcpu=i686 -Wall -D_REENTRANT -c head.c > head.c: In function `main': > head.c:60: warning: 'status' might be used uninitialized in this function > /bin/sh ../../libtool --mode=link gcc -pipe -Wall -O2 -march=i586 -mcpu=i686 -Wall -D_REENTRANT -o head head.o ../src/libwwwinit.la ../src/libwwwapp.la ../../Library/src/libwwwxml.la ../../modules/expat/xmlparse/libxmlparse.la ../../modules/expat/xmltok/libxmltok.la ../src/libwwwhtml.la ../src/libwwwtelnet.la ../src/libwwwnews.la ../src/libwwwhttp.la ../src/libwwwmime.la ../src/libwwwgopher.la ../src/libwwwftp.la ../src/libwwwdir.la ../src/libwwwcache.la ../src/libwwwstream.la ../src/libwwwfile.la ../src/libwwwmux.la ../src/libwwwtrans.la ../src/libwwwcore.la ../src/libwwwutils.la ../../Library/src/SSL/libwwwssl.la -lm ../../Library/src/libwwwzip.la ../../modules/md5/libmd5.la -ldl -lz -L/usr/lib -lssl -lcrypto > mkdir .libs > gcc -pipe -Wall -O2 -march=i586 -mcpu=i686 -Wall -D_REENTRANT -o .libs/head head.o ../src/.libs/libwwwinit.so -L/usr/lib ../src/.libs/libwwwapp.so ../../Library/src/.libs/libwwwxml.so ../../modules/expat/xmlparse/.libs/libxmlparse.so ../../modules/expat/xmltok/.libs/libxmltok.so ../src/.libs/libwwwhtml.so ../src/.libs/libwwwtelnet.so ../src/.libs/libwwwnews.so ../src/.libs/libwwwhttp.so ../src/.libs/libwwwmime.so ../src/.libs/libwwwgopher.so ../src/.libs/libwwwftp.so ../src/.libs/libwwwdir.so ../src/.libs/libwwwcache.so ../src/.libs/libwwwstream.so ../src/.libs/libwwwfile.so ../src/.libs/libwwwmux.so ../src/.libs/libwwwtrans.so ../src/.libs/libwwwcore.so ../src/.libs/libwwwutils.so ../../Library/src/SSL/.libs/libwwwssl.so -lm ../../Library/src/.libs/libwwwzip.so ../../modules/md5/.libs/libmd5.so -ldl -lz -lssl -lcrypto > ../src/.libs/libwwwapp.so: undefined reference to `HTMIMEFooter' > ../src/.libs/libwwwapp.so: undefined reference to `HTMIME_protocolRequest' > ../src/.libs/libwwwapp.so: undefined reference to `HTIcon_add' > ../src/.libs/libwwwinit.so: undefined reference to `HTBind_init' > ../src/.libs/libwwwapp.so: undefined reference to `HTMIME_setSaveStream' > ../src/.libs/libwwwapp.so: undefined reference to `HTMIMEPartial' > ../src/.libs/libwwwstream.so: undefined reference to `HTBind_getResponseBindings' [skip куча undefined references] > collect2: ld returned 1 exit status > make[3]: *** [head] Error 1 > make[3]: Leaving directory `/usr/src/RPM/BUILD/w3c-libwww-5.4.0/Library/Examples' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/usr/src/RPM/BUILD/w3c-libwww-5.4.0/Library' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/src/RPM/BUILD/w3c-libwww-5.4.0' > make: Leaving directory `/usr/src/RPM/BUILD/w3c-libwww-5.4.0' > make: *** [all-recursive-am] Error 2 -- С уважением, Владимир Леттиев aka crux <crux@gorodmasterov.com> ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [devel] w3c-libwww-5.4.0-alt2: rebuild failed 2006-03-21 21:45 ` [devel] w3c-libwww-5.4.0-alt2: rebuild failed Vladimir Lettiev @ 2006-03-21 21:53 ` Dmitry V. Levin 2006-03-21 22:13 ` Dmitry V. Levin 0 siblings, 1 reply; 7+ messages in thread From: Dmitry V. Levin @ 2006-03-21 21:53 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 1074 bytes --] On Wed, Mar 22, 2006 at 12:45:21AM +0300, Vladimir Lettiev wrote: > Перестал собираться w3c-libwww. > Похоже, что самостоятельно разрешить эту проблему я не смогу. Прошу > помощи... > > Сборка shared библиотек libwww* проходит нормально. Но как только > попытаться слинковаться с ними, обнаруживается, что в них есть undefined > references. > Пока видится только один выход: искать недостающие символы в объекниках > и линковать их к этим библиотекам. Скорее всего они при этом здорово > распухнут. Нет, надо сначала пройтись по библиотекам и посмотреть их ldd -r. Ещё можно посмотреть ldd -r от прежней сборки, и/или сравнить зависимости библиотек от прежней и новой сборки. И наконец (или сначала) стоит посмотреть лог сборки на тему неверного указания -lxxx, в результате которого и получаются недолинкованные библиотеки. > Также у меня не получилось воспроизвести ту ошибку, которую прислал > робот. Вылетает в другом месте и на другой shared библиотеке. Интересно > почему, SMP? Робот-пересборщик использует --nprocs=1. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [devel] w3c-libwww-5.4.0-alt2: rebuild failed 2006-03-21 21:53 ` Dmitry V. Levin @ 2006-03-21 22:13 ` Dmitry V. Levin 2006-03-21 22:26 ` Vladimir Lettiev 0 siblings, 1 reply; 7+ messages in thread From: Dmitry V. Levin @ 2006-03-21 22:13 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 965 bytes --] On Wed, Mar 22, 2006 at 12:53:25AM +0300, Dmitry V. Levin wrote: > On Wed, Mar 22, 2006 at 12:45:21AM +0300, Vladimir Lettiev wrote: > > Перестал собираться w3c-libwww. > > Похоже, что самостоятельно разрешить эту проблему я не смогу. Прошу > > помощи... > > > > Сборка shared библиотек libwww* проходит нормально. Но как только > > попытаться слинковаться с ними, обнаруживается, что в них есть undefined > > references. > > Пока видится только один выход: искать недостающие символы в объекниках > > и линковать их к этим библиотекам. Скорее всего они при этом здорово > > распухнут. > > Нет, надо сначала пройтись по библиотекам и посмотреть их ldd -r. Если вы это сделаете, то увидите, что одни библиотеки используют символы из других библиотек, но не слинкованы с ними. Поскольку w3c-libwww, это легко можно исправить прямо в Makefile.am, см. "info automake linking". Получившийся патч имеет смысл отправить upstream. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [devel] w3c-libwww-5.4.0-alt2: rebuild failed 2006-03-21 22:13 ` Dmitry V. Levin @ 2006-03-21 22:26 ` Vladimir Lettiev 2006-03-21 23:03 ` Dmitry V. Levin 0 siblings, 1 reply; 7+ messages in thread From: Vladimir Lettiev @ 2006-03-21 22:26 UTC (permalink / raw) To: ALT Devel discussion list Dmitry V. Levin пишет: >>On Wed, Mar 22, 2006 at 12:45:21AM +0300, Vladimir Lettiev wrote: >>>Пока видится только один выход: искать недостающие символы в объекниках >>>и линковать их к этим библиотекам. Скорее всего они при этом здорово >>>распухнут. >> >>Нет, надо сначала пройтись по библиотекам и посмотреть их ldd -r. > > Если вы это сделаете, то увидите, что одни библиотеки используют символы > из других библиотек, но не слинкованы с ними. Поскольку w3c-libwww, это > легко можно исправить прямо в Makefile.am, см. "info automake linking". > Получившийся патч имеет смысл отправить upstream. `autoreconf -fisv` не прокатил. Вероятно требуется какая-то более старая версия auto*. Придётся патчить Makefile.in. Попробую, но очереди ждут ещё *цать непересобираемых пакетов... -- С уважением, Владимир Леттиев aka crux <crux@gorodmasterov.com> ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [devel] w3c-libwww-5.4.0-alt2: rebuild failed 2006-03-21 22:26 ` Vladimir Lettiev @ 2006-03-21 23:03 ` Dmitry V. Levin 2006-03-21 23:37 ` Dmitry V. Levin 2006-03-22 6:25 ` Alexey I. Froloff 0 siblings, 2 replies; 7+ messages in thread From: Dmitry V. Levin @ 2006-03-21 23:03 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 918 bytes --] On Wed, Mar 22, 2006 at 01:26:05AM +0300, Vladimir Lettiev wrote: > Dmitry V. Levin пишет: > >>On Wed, Mar 22, 2006 at 12:45:21AM +0300, Vladimir Lettiev wrote: > >>>Пока видится только один выход: искать недостающие символы в объекниках > >>>и линковать их к этим библиотекам. Скорее всего они при этом здорово > >>>распухнут. > >> > >>Нет, надо сначала пройтись по библиотекам и посмотреть их ldd -r. > > > > Если вы это сделаете, то увидите, что одни библиотеки используют символы > > из других библиотек, но не слинкованы с ними. Поскольку w3c-libwww, это > > легко можно исправить прямо в Makefile.am, см. "info automake linking". > > Получившийся патч имеет смысл отправить upstream. > > `autoreconf -fisv` не прокатил. Вероятно требуется какая-то более старая > версия auto*. Придётся патчить Makefile.in. А этот w3c-libwww ещё жив? Там файлы Makefile.in 2002-го года... -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [devel] w3c-libwww-5.4.0-alt2: rebuild failed 2006-03-21 23:03 ` Dmitry V. Levin @ 2006-03-21 23:37 ` Dmitry V. Levin 2006-03-22 6:25 ` Alexey I. Froloff 1 sibling, 0 replies; 7+ messages in thread From: Dmitry V. Levin @ 2006-03-21 23:37 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 1187 bytes --] On Wed, Mar 22, 2006 at 02:03:26AM +0300, Dmitry V. Levin wrote: > On Wed, Mar 22, 2006 at 01:26:05AM +0300, Vladimir Lettiev wrote: > > Dmitry V. Levin пишет: > > >>On Wed, Mar 22, 2006 at 12:45:21AM +0300, Vladimir Lettiev wrote: > > >>>Пока видится только один выход: искать недостающие символы в объекниках > > >>>и линковать их к этим библиотекам. Скорее всего они при этом здорово > > >>>распухнут. > > >> > > >>Нет, надо сначала пройтись по библиотекам и посмотреть их ldd -r. > > > > > > Если вы это сделаете, то увидите, что одни библиотеки используют символы > > > из других библиотек, но не слинкованы с ними. Поскольку w3c-libwww, это > > > легко можно исправить прямо в Makefile.am, см. "info automake linking". > > > Получившийся патч имеет смысл отправить upstream. > > > > `autoreconf -fisv` не прокатил. Вероятно требуется какая-то более старая > > версия auto*. Придётся патчить Makefile.in. > > А этот w3c-libwww ещё жив? Там файлы Makefile.in 2002-го года... У w3c-libwww, оказывается, есть cvs, и в нём есть тэг candidate-5-4-1, а дата последнего измненения согласно ChangeLog в этом cvs 2006-03-14. Чудеса да и только. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [devel] w3c-libwww-5.4.0-alt2: rebuild failed 2006-03-21 23:03 ` Dmitry V. Levin 2006-03-21 23:37 ` Dmitry V. Levin @ 2006-03-22 6:25 ` Alexey I. Froloff 1 sibling, 0 replies; 7+ messages in thread From: Alexey I. Froloff @ 2006-03-22 6:25 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 339 bytes --] * Dmitry V. Levin <ldv@> [060322 02:03]: > А этот w3c-libwww ещё жив? Там файлы Makefile.in 2002-го года... К сожалению жив и wmweather+ им пользуется... -- Regards, Alexey I. Froloff AIF5-RIPN, AIF5-RIPE ------------------------------------------- Inform-Mobil, Ltd. System Administrator http://www.inform-mobil.ru/ [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 191 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-03-22 6:25 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2006-03-21 21:45 ` [devel] w3c-libwww-5.4.0-alt2: rebuild failed Vladimir Lettiev 2006-03-21 21:53 ` Dmitry V. Levin 2006-03-21 22:13 ` Dmitry V. Levin 2006-03-21 22:26 ` Vladimir Lettiev 2006-03-21 23:03 ` Dmitry V. Levin 2006-03-21 23:37 ` Dmitry V. Levin 2006-03-22 6:25 ` Alexey I. Froloff
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git