Oops...my fault. A couple of functions were prototyped with 'INLINE' instead of 'inline' in db.h. You can edit src/db.h by hand to fix this, or I'll be releasing a new version with this fix (and autoconf support! yay!) in a few days. -mike On Tue, 16 Jan 2001, Olivier Kaloudoff wrote: > > Hi, > > I just tested your tarball (thank's for this > work), and here is what I get : > > [root@ge pam_sql-0.7.0]# vi config.mk > > [root@ge pam_sql-0.7.0]# make > gcc -g -O -DUSE_POSTGRES -DHAVE_INLINE -I./src -c src/acct.c -o > src/acct.o > In file included from src/acct.c:23: > src/db.h:33: syntax error before `void' > src/db.h:36: syntax error before `int' > src/db.h:37: syntax error before `void' > make: *** [src/acct.o] Error 1 > > [root@ge pam_sql-0.7.0]# type gcc > gcc is /usr/bin/gcc > > [root@ge pam_sql-0.7.0]# rpm -qf /usr/bin/gcc > egcs-1.1.2-27 > > [root@ge pam_sql-0.7.0]# type make > make is hashed (/usr/bin/make) > > [root@ge pam_sql-0.7.0]# rpm -qf /usr/bin/make > make-3.77-6 > > > Did I use the wrong versions for make or egcs ? > > Kalou > > On Fri, 12 Jan 2001, Mike Glover wrote: > > > > > I've just finished work on my pam_sql module. You can find > > the tarball at: > > > > http://devel.duluoz.net/pam_sql-0.7.0.tar.gz > > > > or browse the code online at: > > > > http://devel.duluoz.net/pam_sql/ > > > > > > Currently, there's only code to connect to a PostgreSQL database, > > but I've designed the code to simplify adding new databases. The > > module supports authentication and account management (expiration) > > interfaces. I'm using the module to check web cookies, hence I > > didn't need password encryption, hence there is none. > > > > Comments eagerly awaited. > > > > -mike > > > > > > > > _______________________________________________ > > Pam-list@redhat.com > https://listman.redhat.com/mailman/listinfo/pam-list > -- GnuPG key available at http://devel.duluoz.net/pubkey.asc Key ID = 1024D/9A256AE5 1999-11-13 Mike Glover <mpg4@duluoz.net> Key fingerprint = EF6E 8BCB 4810 E98C F0FD 4596 367A 32B7 9A25 6AE5