Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Oct 2005 20:20:56 +0200
From:      Oliver Lehmann <lehmann@ans-netz.de>
To:        Evren Yurtesen <yurtesen@ispro.net.tr>
Cc:        roam@freebsd.org, freebsd-ports@freebsd.org
Subject:   Re: courier-authlib-vchkpw port does not compile...
Message-ID:  <20051006202056.5861bdf6.lehmann@ans-netz.de>
In-Reply-To: <43441A77.2040300@ispro.net.tr>
References:  <43441A77.2040300@ispro.net.tr>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Evren,

when adding -fPIC at the mail/vpopmail Compile it works. I think this has
to be fixed in mail/vpopmail. Peter - can you fix that?

Full-quote:

Evren Yurtesen wrote:

> The courier-authlib-vchkpw port doesnt compile on AMD64
> Is there any solution to this? Last time I did what it suggested, it 
> compiled but didnt work properly!
> 
> Evren
> 
> 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
> Compiling authpwdenumerate.c
> Compiling authsaslfrombase64.c
> Compiling authsasltobase64.c
> Compiling authsyschangepwd.c
> Compiling authsyscommon.c
> Compiling cramlib.c
> Compiling checkpassword.c
> Compiling cryptpassword.c
> Compiling checkpasswordmd5.c
> Compiling checkpasswordsha1.c
> Compiling authdaemon.c
> Compiling authdaemonlib.c
> Compiling preauthdaemon.c
> Compiling authmoduser2.c
> Compiling authmoduser3.c
> Compiling debug.c
> Compiling authoption.c
> Linking libcourierauth.la
> copying selected object files to avoid basename conflicts...
> Linking libcourierauthcommon.la
> Linking libauthvchkpw.la
> /usr/bin/ld: /usr/local/vpopmail/lib/libvpopmail.a(vpopmail.o): 
> relocation R_X86_64_32 can not be used when making a shared object; 
> recompile with -fPIC
> /usr/local/vpopmail/lib/libvpopmail.a: could not read symbols: Bad value
> gmake[2]: *** [libauthvchkpw.la] Error 1
> gmake[2]: Leaving directory 
> `/usr/ports/mail/courier-authlib-vchkpw/work/courier-authlib-0.57'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory 
> `/usr/ports/mail/courier-authlib-vchkpw/work/courier-authlib-0.57'
> gmake: *** [all] Error 2
> *** Error code 2
> 
> Stop in /usr/ports/mail/courier-authlib-vchkpw.
> *** Error code 1
> 
> Stop in /usr/ports/mail/courier-authlib-vchkpw.
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
> 
> 


-- 
 Oliver Lehmann
  http://www.pofo.de/
  http://wishlist.ans-netz.de/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051006202056.5861bdf6.lehmann>