Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Mar 2006 14:04:12 +0100
From:      "ml@sd2i.com" <ml@sd2i.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: wzdftpd compile error
Message-ID:  <440D84CC.3090009@sd2i.com>
In-Reply-To: <20060307094141.GA2142@pentarou.parodius.com>
References:  <440D4669.4030005@sd2i.com> <20060307094141.GA2142@pentarou.parodius.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Jeremy Chadwick a écrit :
> On Tue, Mar 07, 2006 at 09:38:01AM +0100, ml@sd2i.com wrote:
>> I have the error on 4.11 and 5.4, ports tree updated today, anyone can 
>> help me to complete the install ?
>> {snip} 
>> # portversion -v libiconv
>> libiconv-1.9.2_2            =  up-to-date with port
>> {snip} 
>>
>> *** Warning: Linking the executable wzdftpd against the loadable module
>> *** libwzd_core.so is not portable!
>> cc -O -pipe -pthread -o .libs/wzdftpd -D_THREAD_SAFE wzd_main.o 
>> wzd_ServerThread.o wzd_init_lex.o  -L/usr/local/lib -lcrypt 
>> ../libwzd-core/.libs/libwzd_core.so -Wl,--rpath -Wl,/usr/local/lib
>> ../libwzd-core/.libs/libwzd_core.so: undefined reference to `libiconv_open'
>> ../libwzd-core/.libs/libwzd_core.so: undefined reference to `libiconv_close'
>> ../libwzd-core/.libs/libwzd_core.so: undefined reference to `libiconv'
>> gmake[2]: *** [wzdftpd] Error 1
>> rm wzd_init_lex.c
>> gmake[2]: Leaving directory 
>> `/usr/ports/ftp/wzdftpd/work/wzdftpd-0.6.1/wzdftpd'
>> gmake[1]: *** [all-recursive] Error 1
>> gmake[1]: Leaving directory `/usr/ports/ftp/wzdftpd/work/wzdftpd-0.6.1'
>> gmake: *** [all] Error 2
>> *** Error code 2
> 
> Looks like -liconv is missing from the gcc flags (which are passed
> to ld).
> 

Do you know if there's a way to add it from portinstall (-m arg ?) or do 
i need to alter the sources after a make patch ?

By the way thanks for the tip.

Regards.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?440D84CC.3090009>