ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Пересборка pam
@ 2005-05-13  6:49 Sergey Lebedev
  2005-05-13 13:15 ` php-coder
  2005-05-13 21:26 ` Dmitry V. Levin
  0 siblings, 2 replies; 4+ messages in thread
From: Sergey Lebedev @ 2005-05-13  6:49 UTC (permalink / raw)
  To: community

День добрый.

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

Дистрибутив 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'ом?




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

end of thread, other threads:[~2005-05-14 14:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-13  6:49 [Comm] Пересборка pam Sergey Lebedev
2005-05-13 13:15 ` php-coder
2005-05-13 21:26 ` Dmitry V. Levin
2005-05-14 14:22   ` Sergey Lebedev

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