From: Alex Yustasov <yust@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: [devel] Сборка пакета, где есть библиотека и бинарник
Date: Tue, 14 Mar 2006 15:18:22 +0200
Message-ID: <20060314131822.GA1876@yust.work> (raw)
[-- Attachment #1: Type: text/plain, Size: 1861 bytes --]
Здравствуйте.
Что-то я наверное пропустил. После обновления не могу собрать
пакет, в котором собираются библиотеки и бинарники. В конце они раскла-
дываются по пакетам, но до этого дело не доходит. При сборке
бинарника ругается
gcc -Wdeclaration-after-statement -m32 -march=i686 -Wall -O3 -I ../../../tools/libxc \
-L../../../tools/libxc -lxenctrl -DXENO -o cpuperf-xen cpuperf.c
/tmp/.private/alex/ccEDYBJW.o: In function `xen_init':cpuperf.c:(.text+0x8): undefined reference to `xc_interface_open'
/tmp/.private/alex/ccEDYBJW.o: In function `dom0_wrmsr':cpuperf.c:(.text+0x8b): undefined reference to `xc_msr_write'
/tmp/.private/alex/ccEDYBJW.o: In function `dom0_rdmsr':cpuperf.c:(.text+0xbd): undefined reference to `xc_msr_read'
/tmp/.private/alex/ccEDYBJW.o: In function `main':cpuperf.c:(.text+0x1aa): undefined reference to `xc_interface_open'
:cpuperf.c:(.text+0x2f1): undefined reference to `xc_msr_write'
:cpuperf.c:(.text+0x31f): undefined reference to `xc_msr_write'
:cpuperf.c:(.text+0x636): undefined reference to `xc_msr_write'
:cpuperf.c:(.text+0x66b): undefined reference to `xc_msr_write'
:cpuperf.c:(.text+0x725): undefined reference to `xc_msr_read'
collect2: ld returned 1 exit status
Хотя все эти undefined находятся в libxenctrl, которая собралась чуть раньше
и она выглядит, кажется, нормально.
libxenctrl.so.3.0.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
U abort@@GLIBC_2.0
...
00004420 T xc_interface_close
00004390 T xc_interface_open
00006430 T xc_make_page_below_4G
00004e30 T xc_map_foreign_batch
00004f00 T xc_map_foreign_range
000060e0 T xc_map_memcpy
00005650 T xc_memory_op
00005300 T xc_mmuext_op
00004ae0 T xc_msr_read
00004c70 T xc_msr_write
Или чтобы все находилось, нужно что-то с библиотекой сделать?
--
Alex Yustasov
[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]
next reply other threads:[~2006-03-14 13:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-14 13:18 Alex Yustasov [this message]
2006-03-14 13:18 ` Genix
2006-03-14 13:34 ` Alex Yustasov
2006-03-14 14:02 ` Genix
2006-03-23 19:50 ` Alex Yustasov
2006-03-23 20:37 ` Genix
2006-03-23 23:07 ` Dmitry V. Levin
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=20060314131822.GA1876@yust.work \
--to=yust@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