From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 13 May 2005 10:49:17 +0400 From: Sergey Lebedev To: community@altlinux.ru Message-ID: <20050513064917.GC28720@vgg.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4.2.1i Subject: [Comm] =?koi8-r?b?8MXSxdPCz9LLwQ==?= pam X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: community@altlinux.ru List-Id: Mailing list for ALT Linux users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 May 2005 06:49:27 -0000 Archived-At: List-Archive: List-Post: День добрый. Чего-то я не пойму. Дистрибутив 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'ом?