From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux general discussion list <community@altlinux.ru>
Subject: Re: [Comm] Пересборка pam
Date: Sat, 14 May 2005 01:26:49 +0400
Message-ID: <20050513212649.GA5037@basalt.office.altlinux.org> (raw)
In-Reply-To: <20050513064917.GC28720@vgg.ru>
[-- Attachment #1: Type: text/plain, Size: 1836 bytes --]
Hi,
On Fri, May 13, 2005 at 10:49:17AM +0400, Sergey Lebedev wrote:
> Дистрибутив ALM 2.4 без update'ов, ядро 2.4.26-std-up-alt6.
>
> Понадобилось пересобрать pam-0.75-alt27.src.rpm с --enable-debug
> и --enable-libdebug, в spece сделал изменения:
>
> %configure \
> --prefix=/ \
> --exec-prefix=/ \
> --libdir=/%_lib \
> --sbindir=/sbin \
> --enable-static-libpam \
> --disable-read-both-confs \
> --enable-debug \
> --enable-libdebug \
> --enable-fakeroot=$RPM_BUILD_ROOT \
> --enable-suplementedir=%helperdir
>
> Начинаю компилировать и в итоге получаю следующую ошибку
>
> gcc -pipe -Wall -O2 -march=i586 -mcpu=i686 -fPIC -DPIC -D_GNU_SOURCE -I/home/barabashka/RPM/BUILD/Linux-PAM-0.75/include -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Dlinux -I./include -I/home/barabashka/RPM/BUILD/Linux-PAM-0.75/libpam/include -I/home/barabashka/RPM/BUILD/Linux-PAM-0.75 -I/home/barabashka/RPM/BUILD/Linux-PAM-0.75/libpamc/include -DPAM_DYNAMIC -D"DEFAULT_MODULE_PATH=\"/lib/security/\"" -DLIBPAM_VERSION_MAJOR=0 -DLIBPAM_VERSION_MINOR=75 -c pam_handlers.c -o dynamic/pam_handlers.o
> pam_handlers.c: In function `_pam_load_conf_file':
> pam_handlers.c:295: `filename' undeclared (first use in this function)
> pam_handlers.c:295: (Each undeclared identifier is reported only once
> pam_handlers.c:295: for each function it appears in.)
> make[1]: *** [dynamic/pam_handlers.o] Error 1
> make[1]: Leaving directory `/home/barabashka/RPM/BUILD/Linux-PAM-0.75/libpam'
Придётся вам покопаться в исходном коде, я _так_ Linux-PAM собирать не
пробовал, надобности не было. Скорее всего, какой-то из патчей "забыл"
скорректировать одно из отладочных сообщений.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-05-13 21:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-13 6:49 Sergey Lebedev
2005-05-13 13:15 ` php-coder
2005-05-13 21:26 ` Dmitry V. Levin [this message]
2005-05-14 14:22 ` Sergey Lebedev
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=20050513212649.GA5037@basalt.office.altlinux.org \
--to=ldv@altlinux.org \
--cc=community@altlinux.ru \
/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 Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git