Correction.... Was Re: Build breakage with 0.99.4.0

Gary L. Greene, Jr. greeneg at tolharadys.net
Fri Jan 26 01:28:04 UTC 2007


On Thursday 25 January 2007 17:54, Gary L. Greene, Jr. wrote:
> On Thursday 25 January 2007 17:46, Gary L. Greene, Jr. wrote:
> > 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_
> >ti mestamp.c:126: undefined reference to `pam_syslog'
> > /home/INSTALLROOT/RPM/BUILD/Linux-PAM-0.99.7.1/modules/pam_timestamp/pam_
> >ti mestamp.c:132: undefined reference to `pam_syslog'
> > /home/INSTALLROOT/RPM/BUILD/Linux-PAM-0.99.7.1/modules/pam_timestamp/pam_
> >ti mestamp.c:102: undefined reference to `pam_syslog'
> > /home/INSTALLROOT/RPM/BUILD/Linux-PAM-0.99.7.1/modules/pam_timestamp/pam_
> >ti mestamp.c:108: undefined reference to `pam_syslog'
> > /home/INSTALLROOT/RPM/BUILD/Linux-PAM-0.99.7.1/modules/pam_timestamp/pam_
> >ti mestamp.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.
>
> My bad, I had the wrong version in the subject. I'm actually running into
> issues with 0.99.7.1.

Some more info about this, in case people were wondering, AltimatOS is on 
autoconf 2.61 and automake 1.10, GCC 4.1.2, GlibC 2.5, and binutils 2.17.

-- 
Gary L. Greene, Jr.
Sent from: uriel.tolharadys.net
 20:26:12 up 4 days,  3:44,  7 users,  load average: 0.54, 0.16, 0.17
=========================================================================
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/d13ae78d/attachment.sig>


More information about the Pam-list mailing list