Build breakage with 0.99.4.0

Gary L. Greene, Jr. greeneg at tolharadys.net
Thu Jan 25 22:46:18 UTC 2007


The following occurs while trying to build version 0.99.7.1:

i586-altimatos-linux-gnu-gcc -I../../libpam/include -I../../libpamc/include \
-fPIE -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer \
-march=i586 -mtune=pentiumpro -fasynchronous-unwind-tables -fPIC \
-I/usr/include/db4 -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual \
-Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type \
-Wstrict-prototypes -Wwrite-strings -Winline -Wshadow -pie -Wl,--as-needed \
-Wl,-O1 -o pam_timestamp_check pam_timestamp_check-pam_timestamp_check.o 
pam_timestamp_check-hmacsha1.o pam_timestamp_check-sha1.o
pam_timestamp_check-pam_timestamp_check.o: In function `check_dir_perms':
/home/INSTALLROOT/RPM/BUILD/Linux-PAM-0.99.7.1/modules/pam_timestamp/pam_timestamp.c:126: 
undefined reference to `pam_syslog'
/home/INSTALLROOT/RPM/BUILD/Linux-PAM-0.99.7.1/modules/pam_timestamp/pam_timestamp.c:132: 
undefined reference to `pam_syslog'
/home/INSTALLROOT/RPM/BUILD/Linux-PAM-0.99.7.1/modules/pam_timestamp/pam_timestamp.c:102: 
undefined reference to `pam_syslog'
/home/INSTALLROOT/RPM/BUILD/Linux-PAM-0.99.7.1/modules/pam_timestamp/pam_timestamp.c:108: 
undefined reference to `pam_syslog'
/home/INSTALLROOT/RPM/BUILD/Linux-PAM-0.99.7.1/modules/pam_timestamp/pam_timestamp.c:120: 
undefined reference to `pam_syslog'
collect2: ld returned 1 exit status
make[3]: *** [pam_timestamp_check] Error 1
make[3]: Leaving directory 
`/home/INSTALLROOT/RPM/BUILD/Linux-PAM-0.99.7.1/modules/pam_timestamp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/INSTALLROOT/RPM/BUILD/Linux-PAM-0.99.7.1/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/INSTALLROOT/RPM/BUILD/Linux-PAM-0.99.7.1'
make: *** [all] Error 2

My compilation setup follows:
CONFIGURE_TOP=.
CFLAGS='-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions \
-fomit-frame-pointer -march=i586 -mtune=pentiumpro \
-fasynchronous-unwind-tables -fPIC -I/usr/include/db4'
export CFLAGS
CXXFLAGS='-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions \
-fomit-frame-pointer -march=i586 -mtune=pentiumpro -fasynchronous-unwind-tables'
export CXXFLAGS
FFLAGS='-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions \
-fomit-frame-pointer -march=i586 -mtune=pentiumpro -fasynchronous-unwind-tables'
export FFLAGS
cputoolize -c .
libtoolize --copy --force
CONFIGURE_XPATH='--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib'
./configure \ 
i586-altimatos-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr \
--bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share \
--includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib \
--localstatedir=/var/lib --sharedstatedir=/usr/com --mandir=/usr/share/man \
--infodir=/usr/share/info --x-includes=/usr/X11R6/include \
--x-libraries=/usr/X11R6/lib --sbindir=/sbin --libdir=/lib \
--includedir=/usr/include/security --docdir=/usr/share/doc/pam-0.99.7.1

If there is anything else that will help pinpoint the issue, please let me 
know. Thanks.

-- 
Gary L. Greene, Jr.
Sent from: uriel.tolharadys.net
 15:19:25 up 3 days, 22:38,  7 users,  load average: 0.04, 0.06, 0.04
=========================================================================
Developer and Project Lead for the AltimatOS open source project
Volunteer Developer for the KDE open source project
 See www.tolharadys.net and www.kde.org for more information
=========================================================================

Please avoid sending me Word or PowerPoint attachments.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/pam-list/attachments/20070125/a89e8433/attachment.sig>


More information about the Pam-list mailing list