ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Сборка пакета, где есть библиотека и бинарник
@ 2006-03-14 13:18 Alex Yustasov
  2006-03-14 13:18 ` Genix
  0 siblings, 1 reply; 7+ messages in thread
From: Alex Yustasov @ 2006-03-14 13:18 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- 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 --]

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

end of thread, other threads:[~2006-03-23 23:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-14 13:18 [devel] Сборка пакета, где есть библиотека и бинарник Alex Yustasov
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

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