ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] Линковка библиотеки
@ 2008-02-08  3:57 Alexey Borovskoy
  2008-02-08  5:16 ` Alexey Novikov
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Borovskoy @ 2008-02-08  3:57 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Добрый день.

есть такое:

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


Чо делать?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-02-08  5:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-08  3:57 [sisyphus] Линковка библиотеки Alexey Borovskoy
2008-02-08  5:16 ` Alexey Novikov

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git