From: Alexey Tourbin <at@altlinux.ru> To: ALT Devel discussion list <devel@lists.altlinux.org> Subject: Re: [devel] нужна помощь (похоже, --as-needed) Date: Sun, 18 Jun 2006 14:41:52 +0400 Message-ID: <20060618104152.GB631@localhost.localdomain> (raw) In-Reply-To: <20060618085935.GA14856@tacit.myxomop.com> [-- Attachment #1: Type: text/plain, Size: 5435 bytes --] On Sun, Jun 18, 2006 at 12:59:35PM +0400, Kirill Maslinsky wrote: > Всем привет! > > Я тут взялся за сборку одного замшелого, но лингвистически интересного > проекта -- emdros -- и, естественно, тут же натолкнулся на проблемы > при сборке, скорее всего вызванные линковкой с --as-needed. > > Поскольку я в этом совсем профан, может быть, кто подскажет? > > Диагностика такая: > > ---------------- > g++ -pipe -Wall -O2 -march=pentium3 -mtune=pentium4 -g -Wall -pipe -Wall -O2 -march=pentium3 -mtune=pentium4 -o .libs/mql mql.o -L/usr/lib/ ../MQL/.libs/libmql.so /home/gc/RPM/BUILD/emdros-1.2.0.pre206/EMdF/.libs/libemdf.so ../pcre/.libs/libpcre_emdros.so ../EMdF/.libs/libemdf.so -lmysqlclient -Wl,--rpath -Wl,/usr/local/lib/emdros > ../MQL/.libs/libmql.so: undefined reference to `pcre_fullinfo' > ../MQL/.libs/libmql.so: undefined reference to `pcre_compile' > ../MQL/.libs/libmql.so: undefined reference to `pcre_study' > ../MQL/.libs/libmql.so: undefined reference to `pcre_free' > ../MQL/.libs/libmql.so: undefined reference to `pcre_exec' > collect2: ld returned 1 exit status > make[2]: *** [mql] Error 1 > make[2]: Leaving directory `/home/gc/RPM/BUILD/emdros-1.2.0.pre206/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/gc/RPM/BUILD/emdros-1.2.0.pre206/src' > make: *** [all-recursive] Error 1 > make: Leaving directory `/home/gc/RPM/BUILD/emdros-1.2.0.pre206' > ошибка: Неверный код возврата из /home/gc/tmp/rpm-tmp.69536 (%build) У меня раньше не собирается: /bin/sh ../libtool --tag=CXX --mode=link g++ -g -Wall -L/usr/lib -o libmql.la -rpath /usr/local/lib/emdros -version-info 3:0:0 mql_yylex. lo mql_parser.lo mql_lexer.lo mql_get_query.lo emdros_environment.lo mql_database_statements.lo mql_enumeration_statements.lo mql_error.lo mql_execute.lo mql_execution_environment.lo mql_features_statements.lo mql_helper_classes.lo mql_meta_statements.lo mql_monads_statements.lo mql_object.lo mql_object_statements.lo mql_object_type_statements.lo mql_query.lo mql_R.lo mql_result.lo mql_segment_statements.lo mql_select_statements.lo mql_sheaf.lo mql_statement.lo mql_symboltable.lo mql_utility.lo ../EMdF/libemdf.la g++ -shared -nostdlib /usr/lib/gcc/i586-alt-linux/4.1.1/../../../crti.o /usr/lib/gcc/i586-alt-linux/4.1.1/crtbeginS.o .libs/mql_yylex.o .libs/mql_parser.o .libs/mql_lexer.o .libs/mql_get_query.o .libs/emdros_environment.o .libs/mql_database_statements.o .libs/mql_enumeration_statements.o .libs/mql_error.o .libs/mql_execute.o .libs/mql_execution_environment.o .libs/mql_features_statements.o .libs/mql_helper_classes.o .libs/mql_meta_statements.o .libs/mql_monads_statements.o .libs/mql_object.o .libs/mql_object_statements.o .libs/mql_object_type_statements.o .libs/mql_query.o .libs/mql_R.o .libs/mql_result.o .libs/mql_segment_statements.o .libs/mql_select_statements.o .libs/mql_sheaf.o .libs/mql_statement.o .libs/mql_symboltable.o .libs/mql_utility.o -Wl,--rpath -Wl,/home/at/RPM/BUILD/emdros-1.2.0.pre206/EMdF/.libs -Wl,--rpath -Wl,/usr/local/lib/emdros -L/usr/lib ../EMdF/.libs/libemdf.so -L/usr/lib/gcc/i586-alt-linux/4.1.1 -L/usr/lib/gcc/i586-alt-linux/4.1.1/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i586-alt-linux/4.1.1/crtendS.o /usr/lib/gcc/i586-alt-linux/4.1.1/../../../crtn.o -Wl,-soname -Wl,libmql.so.3 -o .libs/libmql.so.3.0.0 .libs/mql_parser.o:(.data+0x0): multiple definition of `_ZN11SmartVectorIT_T0_E10no_elementE' .libs/mql_yylex.o:(.data+0x0): first defined here .libs/mql_lexer.o:(.data+0x0): multiple definition of `_ZN11SmartVectorIT_T0_E10no_elementE' .libs/mql_yylex.o:(.data+0x0): first defined here .libs/mql_get_query.o:(.data+0x0): multiple definition of `_ZN11SmartVectorIT_T0_E10no_elementE' .libs/mql_yylex.o:(.data+0x0): first defined here .libs/emdros_environment.o:(.data+0x0): multiple definition of `_ZN11SmartVectorIT_T0_E10no_elementE' .libs/mql_yylex.o:(.data+0x0): first defined here .libs/mql_database_statements.o:(.data+0x0): multiple definition of `_ZN11SmartVectorIT_T0_E10no_elementE' .libs/mql_yylex.o:(.data+0x0): first defined here .libs/mql_enumeration_statements.o:(.data+0x0): multiple definition of `_ZN11SmartVectorIT_T0_E10no_elementE' .libs/mql_yylex.o:(.data+0x0): first defined here .libs/mql_execute.o:(.data+0x0): multiple definition of `_ZN11SmartVectorIT_T0_E10no_elementE' .libs/mql_yylex.o:(.data+0x0): first defined here .libs/mql_execution_environment.o:(.data+0x0): multiple definition of `_ZN11SmartVectorIT_T0_E10no_elementE' .libs/mql_yylex.o:(.data+0x0): first defined here .libs/mql_features_statements.o:(.data+0x0): multiple definition of `_ZN11SmartVectorIT_T0_E10no_elementE' .libs/mql_yylex.o:(.data+0x0): first defined here .libs/mql_helper_classes.o:(.data+0x0): multiple definition of `_ZN11SmartVectorIT_T0_E10no_elementE' .libs/mql_yylex.o:(.data+0x0): first defined here .libs/mql_meta_statements.o:(.data+0x0): multiple definition of `_ZN11SmartVectorIT_T0_E10no_elementE' .libs/mql_yylex.o:(.data+0x0): first defined here .libs/mql_monads_statements.o:(.data+0x0): multiple definition of `_ZN11SmartVectorIT_T0_E10no_elementE' > Или, наоборот, здесь? > > ==MQL/Makefile.am== > > pkglib_LTLIBRARIES = libmql.la > > > # > # libmql.la > # > libmql_la_SOURCES = $(mqllib_src) > > libmql_la_LIBADD = @EMDFDEPS@ Вот здесь попробуй добавить -lpcre. libmql_la_LIBADD = @EMDFDEPS@ -lpcre [-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]
next prev parent reply other threads:[~2006-06-18 10:41 UTC|newest] Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-06-18 8:59 Kirill Maslinsky 2006-06-18 10:41 ` Sergey Vlasov 2006-06-18 11:06 ` Alexey Tourbin 2006-06-18 10:41 ` Alexey Tourbin [this message] 2006-06-18 11:24 ` Alexey Tourbin 2006-06-18 11:39 ` Alexey Tourbin 2006-06-18 11:51 ` Alexey Tourbin 2006-06-18 11:55 ` Alexey Tourbin 2006-06-18 13:42 ` Kirill Maslinsky 2006-06-18 13:53 ` Alexey Tourbin 2006-06-18 14:08 ` Kirill Maslinsky 2006-06-18 15:31 ` Alexey Tourbin 2006-06-18 19:36 ` Alexey Tourbin 2006-06-18 20:02 ` Kirill Maslinsky 2006-06-18 22:13 ` Alexey Tourbin 2006-06-19 9:54 ` Kirill Maslinsky 2006-06-19 11:38 ` Alexey Tourbin 2006-07-08 20:34 ` Alexey Tourbin 2006-07-08 22:08 ` Kirill Maslinsky 2006-07-08 22:45 ` Alexey Tourbin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20060618104152.GB631@localhost.localdomain \ --to=at@altlinux.ru \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
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