From: "Хихин Руслан" <hihin@yandex.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: [sisyphus] Вопросы при построении share библиотек.
Date: Sat, 10 Mar 2007 10:17:30 +0300
Message-ID: <200703101017.36003@ruslandh> (raw)
[-- Attachment #1: Type: text/plain, Size: 1232 bytes --]
Здравствуйте !
При построении библиотеки libaletv.so из пакета xdtv возникли некоторые
вопросы :
1 Не могу до еонца понять соотношение цифр в ключе
libtool -version-info
-version-info CURRENT[:REVISION[:AGE]]
specify library version info [each variable defaults
to 0]
Какой их физический смысл и соотношение.
В пакете lib3ds нашёл такое соотношение :
LIB3DS_MAJOR_VERSION=1
LIB3DS_MINOR_VERSION=2
LIB3DS_MICRO_VERSION=0
LIB3DS_INTERFACE_AGE=0
LIB3DS_BINARY_AGE=0
LIB3DS_VERSION=$LIB3DS_MAJOR_VERSION.$LIB3DS_MINOR_VERSION.
$LIB3DS_MICRO_VERSION
# libtool versioning
LT_RELEASE=$LIB3DS_MAJOR_VERSION.$LIB3DS_MINOR_VERSION
LT_CURRENT=`expr $LIB3DS_MICRO_VERSION - $LIB3DS_INTERFACE_AGE`
LT_REVISION=$LIB3DS_INTERFACE_AGE
LT_AGE=`expr $LIB3DS_BINARY_AGE - $LIB3DS_INTERFACE_AGE`
2 Нашёл странное определение переменных :
В libalevt переменые debug и subtit_fd определены как extern int, как я
понимаю с тем, что-бы в прорамме, слинкованной с этой библиотекой
можно было задать режим работы (c отладочной информацией и/или с
субтитрами). Правильно-ли я сделаю, если просто определю эти переменные
как :
int debug=0, subtit_fd=0
или надо что-то менять кардинально ?
--
С уважением Хихин Руслан
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next reply other threads:[~2007-03-10 7:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-10 7:17 Хихин Руслан [this message]
2007-03-10 8:59 ` Хихин Руслан
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=200703101017.36003@ruslandh \
--to=hihin@yandex.ru \
--cc=sisyphus@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 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