Making all in authlib
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c authexit.c
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c chain.c
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c changeuidgid.c
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c checkpassword.c
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c cryptpassword.c
cryptpassword.c: In function `authcryptpasswd':
cryptpassword.c:89: warning: implicit declaration of function `malloc'
cryptpassword.c:89: warning: assignment makes pointer from integer without a cast
This ain't cool.
I added a "#include <stdlib.h>"
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c authstaticlistsearch.c
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c copyargv.c
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c success.c
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c checkpasswordmd5.c
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c checkpasswordsha1.c
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c authsasl.c
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c authsaslcram.c
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c authsasllogin.c
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c authsaslplain.c
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c authsaslfrombase64.c
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c authsasltobase64.c
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c authsaslclient.c
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c authsaslclientcram.c
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c authsaslclientcrammd5.c
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c authsaslclientcramsha1.c
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c authsaslclientlogin.c
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c authsaslclientplain.c
echo '#define AUTHCHANGEPWDIR "/usr/lib/courier/libexec/authlib/changepwd"'
>authchangepwdir.h
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c authsyschangepwd.c
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c cramlib.c
/bin/sh ./mkmodulelist.sh authdaemon_info >authstaticlist.c
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c authstaticlist.c
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c authuserdb.c
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c preauthuserdb.c
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c preauthuserdbcommon.c
echo '#define SBINDIR "/usr/lib/courier/sbin"' >sbindir.h
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c authuserdbpwd.c
rm -f libauth-authuserdb.a
ar cru libauth-authuserdb.a authuserdb.o preauthuserdb.o preauthuserdbcommon.o
authuserdbpwd.o
ranlib libauth-authuserdb.a
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c authpwd.c
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c preauthpwd.c
rm -f libauth-authpwd.a
ar cru libauth-authpwd.a authpwd.o preauthpwd.o
ranlib libauth-authpwd.a
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c authcram.c
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c preauthcram.c
rm -f libauth-authcram.a
ar cru libauth-authcram.a authcram.o preauthcram.o preauthuserdbcommon.o
ranlib libauth-authcram.a
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c authcustom.c
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c preauthcustom.c
rm -f libauth-authcustom.a
ar cru libauth-authcustom.a authcustom.o preauthcustom.o
ranlib libauth-authcustom.a
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c authdaemon.c
echo "#define AUTHDAEMONRC \"/usr/lib/courier/etc/authdaemonrc\"" >authdaemonrc.h
echo "#define AUTHDAEMONVAR \"/usr/lib/courier/var/authdaemon\"" >>authdaemonrc.h
echo "#define AUTHDAEMONPID AUTHDAEMONVAR \"/pid\"" >>authdaemonrc.h
echo "#define AUTHDAEMONSOCK AUTHDAEMONVAR \"/socket\"" >>authdaemonrc.h
echo "#define AUTHDAEMONLOCK AUTHDAEMONVAR \"/lock\"" >>authdaemonrc.h
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c authdaemonlib.c
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c preauthdaemon.c
rm -f libauth-authdaemon.a
ar cru libauth-authdaemon.a authdaemon.o authdaemonlib.o preauthdaemon.o
ranlib libauth-authdaemon.a
rm -rf libauth-modules.dir
mkdir libauth-modules.dir
cd libauth-modules.dir ; for f in libauth-authuserdb.a libauth-authpwd.a
libauth-authcram.a libauth-authcustom.a libauth-authdaemon.a "" ; do \
test ! -f ../$f || ar x ../$f ; done
ls libauth-modules.dir/* >libauth-modules 2>/dev/null
rm -f libauth.a
ar cru libauth.a authexit.o chain.o changeuidgid.o checkpassword.o cryptpassword.o
authstaticlistsearch.o copyargv.o success.o checkpasswordmd5.o checkpasswordsha1.o
authsasl.o authsaslcram.o authsasllogin.o authsaslplain.o authsaslfrombase64.o
authsasltobase64.o authsaslcram.o authsaslclient.o authsaslclientcram.o
authsaslclientcrammd5.o authsaslclientcramsha1.o authsaslclientlogin.o
authsaslclientplain.o authsyschangepwd.o cramlib.o authstaticlist.o `cat
libauth-modules`
ar: libauth-modules.dir/__.SYMDEF: No such file or directory
ar: SORTED: No such file or directory
make[1]: *** [libauth.a] Error 1
make: *** [all-recursive] Error 1
=============
The contents of the file libauth-modules, which is cat-ed into the compile command
line is:
libauth-modules.dir/__.SYMDEF SORTED
libauth-modules.dir/authcram.o
libauth-modules.dir/authcustom.o
libauth-modules.dir/authdaemon.o
libauth-modules.dir/authdaemonlib.o
libauth-modules.dir/authpwd.o
libauth-modules.dir/authuserdb.o
libauth-modules.dir/authuserdbpwd.o
libauth-modules.dir/preauthcram.o
libauth-modules.dir/preauthcustom.o
libauth-modules.dir/preauthdaemon.o
libauth-modules.dir/preauthpwd.o
libauth-modules.dir/preauthuserdb.o
libauth-modules.dir/preauthuserdbcommon.o
So I got rid of the first line.
But then it griped:
/usr/bin/ld: warning table of contents of library: libauth.a not sorted slower link
editing will result (use the ranlib(1) -s option)
So I tried it :
[osxmen:courier/courier-0.38.0/authlib] igor% ranlib -s libauth.a
ranlib: same symbol defined in more than one member in: libauth.a (table of contents
will not be sorted)
ranlib: file: libauth.a(authsaslcram.o) defines symbol: _authsasl_cram
ranlib: file: libauth.a(authsaslcram.o) defines symbol: _authsasl_cram
So I left it unsorted
--
------------------------------------------------------------------------
Dan White
------------------------------------------------------------------------
"Sometimes I think the surest sign that intelligent life exists
elsewhere in the universe is that none of it has tried to contact us."
Calvin (Bill Watterson)
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users