Date: Tue, 7 Mar 2006 01:41:41 -0800 From: Jeremy Chadwick <jdc@parodius.com> To: freebsd-ports@freebsd.org Subject: Re: wzdftpd compile error Message-ID: <20060307094141.GA2142@pentarou.parodius.com> In-Reply-To: <440D4669.4030005@sd2i.com> References: <440D4669.4030005@sd2i.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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). -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060307094141.GA2142>