From owner-freebsd-ports@FreeBSD.ORG Thu Oct 6 18:20:54 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5833C16A420 for ; Thu, 6 Oct 2005 18:20:54 +0000 (GMT) (envelope-from lehmann@ans-netz.de) Received: from avocado.salatschuessel.net (avocado.salatschuessel.net [83.136.81.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3914F43D46 for ; Thu, 6 Oct 2005 18:20:52 +0000 (GMT) (envelope-from lehmann@ans-netz.de) Received: (qmail 11159 invoked by uid 89); 6 Oct 2005 18:20:35 -0000 Received: from unknown (HELO kartoffel.salatschuessel.net) (83.136.81.185) by avocado.salatschuessel.net with SMTP; 6 Oct 2005 18:20:35 -0000 Date: Thu, 6 Oct 2005 20:20:56 +0200 From: Oliver Lehmann To: Evren Yurtesen Message-Id: <20051006202056.5861bdf6.lehmann@ans-netz.de> In-Reply-To: <43441A77.2040300@ispro.net.tr> References: <43441A77.2040300@ispro.net.tr> X-Mailer: Sylpheed version 2.0.2 (GTK+ 2.6.10; amd64-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: roam@freebsd.org, freebsd-ports@freebsd.org Subject: Re: courier-authlib-vchkpw port does not compile... X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2005 18:20:54 -0000 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/