ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Lebedev <linux@vlink.ru>
To: community@altlinux.ru
Subject: [Comm] Пересборка pam
Date: Fri, 13 May 2005 10:49:17 +0400
Message-ID: <20050513064917.GC28720@vgg.ru> (raw)

День добрый.

Чего-то я не пойму.

Дистрибутив 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'
make: *** [libpam] Error 2
make: Leaving directory `/home/barabashka/RPM/BUILD/Linux-PAM-0.75'
ошибка: Неверный код возврата из /home/barabashka/tmp/rpm-tmp.5971 (%build)


Ошибки сборки пакетов:
    Неверный код возврата из /home/barabashka/tmp/rpm-tmp.5971 (%build)

Пробовал  gcc3.2, gcc2.96 все едино. В чем может быть проблема и 
как собрать пакет с debug'ом?




             reply	other threads:[~2005-05-13  6:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-13  6:49 Sergey Lebedev [this message]
2005-05-13 13:15 ` php-coder
2005-05-13 21:26 ` Dmitry V. Levin
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=20050513064917.GC28720@vgg.ru \
    --to=linux@vlink.ru \
    --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