From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 X-Yandex-Spam: 1 X-Yandex-Front: smtp4 X-Yandex-TimeMark: 1202447780 X-MsgDayCount: 1 X-Comment: RFC 2476 MSA function at smtp4.yandex.ru logged sender identity as: shader Date: Fri, 8 Feb 2008 08:16:18 +0300 From: Alexey Novikov To: ALT Linux Sisyphus discussions Message-ID: <20080208051618.GA21282@localhost.localdomain> References: <3f60a830802071957v222abb17n12e00f4cee831049@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3f60a830802071957v222abb17n12e00f4cee831049@mail.gmail.com> Subject: Re: [sisyphus] =?koi8-r?b?7MnOy8/Xy8EgwsnCzMnP1MXLyQ==?= X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: ALT Linux Sisyphus discussions List-Id: ALT Linux Sisyphus discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Feb 2008 05:16:26 -0000 Archived-At: List-Archive: List-Post: On Fri, Feb 08, 2008 at 03:57:36PM +1200, Alexey Borovskoy wrote: > Добрый день. > > есть такое: > > SUBDIRS = ruleset > AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src/include > -I$(top_srcdir)/libmissing @defined@ > > noinst_HEADERS = pcre-mod.h rule-object.h rule-regex.h value-container.h > > pcre_la_SOURCES = pcre-mod.c rule-object.c rule-regex.c value-container.c > pcre_la_LDFLAGS = -module -avoid-version > pcredir = $(log_plugin_dir) > pcre_LTLIBRARIES = pcre.la > > Дает unresolved symbols. > > Добавляю это: > > pcre_la_LIBADD = -llibprelude -llibpcre > > Взрывается так: > > i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. > -I../../src/include -I../../libmissing -I/usr/include/pcre -pipe -Wall > -O2 -march=i586 -mtune=i686 -Wstrict-prototypes -Wmissing-prototypes > -Wmissing-declarations -Wbad-function-cast -Wcast-qual -Wcast-align > -Wnested-externs -Wunused -Wformat -Wformat-security -c debug.c -fPIC > -DPIC -o .libs/debug.o > /bin/sh ../../libtool --tag=CC --mode=link i586-alt-linux-gcc -pipe > -Wall -O2 -march=i586 -mtune=i686 -Wstrict-prototypes > -Wmissing-prototypes -Wmissing-declarations -Wbad-function-cast > -Wcast-qual -Wcast-align -Wnested-externs -Wunused -Wformat > -Wformat-security -o debug.la -rpath /usr/lib/prelude-lml -module > -avoid-version debug.lo -llibprelude > i586-alt-linux-gcc -shared .libs/debug.o -llibprelude -march=i586 > -mtune=i686 -Wl,-soname -Wl,debug.so -o .libs/debug.so > /usr/bin/ld: cannot find -llibprelude > collect2: ld returned 1 exit status > make[3]: *** [debug.la] Error 1 > > > Чо делать? Похоже что надо было pcre_la_LIBADD = -lprelude -lpcre Только не понятно зачем Вы libpcre линкуете с ней же... -- WBR, Alexey Novikov XMPP: alex-novikov@jabber.ru, shader@ya.ru