wiszmaster
5th April 2005, 04:38 AM
I'm trying to get courier-authlib for courier-imap installed ..... what a PAIN INTHE ASS!
now that i recompiled vpopmail with CFLAGS=-fPIC ..... i get the following error ...
Compiling authvchkpw.c
authvchkpw.c: In function `auth_vchkpw_changepass':
authvchkpw.c:142: warning: passing arg 1 of `parse_email' discards qualifiers from pointer target type
Compiling authvchkpwlib.c
Compiling preauthvchkpw.c
preauthvchkpw.c: In function `auth_vchkpw_pre':
preauthvchkpw.c:67: warning: passing arg 1 of `parse_email' discards qualifiers from pointer target type
preauthvchkpw.c:141: warning: passing arg 3 of `vset_lastauth' discards qualifiers from pointer target type
Linking libauthvchkpw.la
/usr/bin/ld: /home/vpopmail/lib/libvpopmail.a(cdb_seek.o): relocation R_X86_64_PC32 against `read@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libauthvchkpw.la] Error 1
make[2]: Leaving directory `/downloads/qmailrocks/courier-authlib-0.55'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/downloads/qmailrocks/courier-authlib-0.55'
make: *** [all] Error 2
[root@swfl courier-authlib-0.55]#
can ANYBODY help me here?! please?
now that i recompiled vpopmail with CFLAGS=-fPIC ..... i get the following error ...
Compiling authvchkpw.c
authvchkpw.c: In function `auth_vchkpw_changepass':
authvchkpw.c:142: warning: passing arg 1 of `parse_email' discards qualifiers from pointer target type
Compiling authvchkpwlib.c
Compiling preauthvchkpw.c
preauthvchkpw.c: In function `auth_vchkpw_pre':
preauthvchkpw.c:67: warning: passing arg 1 of `parse_email' discards qualifiers from pointer target type
preauthvchkpw.c:141: warning: passing arg 3 of `vset_lastauth' discards qualifiers from pointer target type
Linking libauthvchkpw.la
/usr/bin/ld: /home/vpopmail/lib/libvpopmail.a(cdb_seek.o): relocation R_X86_64_PC32 against `read@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libauthvchkpw.la] Error 1
make[2]: Leaving directory `/downloads/qmailrocks/courier-authlib-0.55'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/downloads/qmailrocks/courier-authlib-0.55'
make: *** [all] Error 2
[root@swfl courier-authlib-0.55]#
can ANYBODY help me here?! please?