No problem.

On Thu, 3 Nov 2005, Matt Whitfield wrote:

Thanks Justin,

That did it!  Funny it seemed to be a dependency when I did a 'make clean'
so I thought it would have installed it.

Much appreciated!

Matt

-----Original Message-----
From: Justin Piszcz [mailto:[EMAIL PROTECTED]
Sent: November 3, 2005 11:53 AM
To: Matt Whitfield
Cc: [email protected]
Subject: Re: Compile problem - FreeBSD & lftp-3.3.3 - syntax error

You need the libiconv headers/package installed.

On Thu, 3 Nov 2005, Matt Whitfield wrote:

Hi,

I'm having trouble compiling lftp-3.3.3 from ports on FreeBSD 4.3 (I
know update the bloody OS, but barring that...).  I've compiled
without gnutls, openssl and nls, but it still seems to error out.

Please help.

----make output snip----
cc -DHAVE_CONFIG_H  -I/usr/local/include -I. -I. -I/usr/local/include
-DRL_LIBRARY_VERSION='"4.3"' -O -pipe -DREADLINE_LIBRARY -c ./tilde.c
rm -f libreadline.a ar cr libreadline.a readline.o vi_mode.o funmap.o
keymaps.o parens.o search.o  rltty.o complete.o bind.o isearch.o
display.o signals.o  util.o kill.o undo.o macro.o input.o callback.o
terminal.o  text.o nls.o misc.o compat.o xmalloc.o history.o
histexpand.o histfile.o histsearch.o shell.o mbutil.o tilde.o test -n
"ranlib" && ranlib libreadline.a rm -f libhistory.a ar cr libhistory.a
history.o histexpand.o histfile.o histsearch.o shell.o mbutil.o
xmalloc.o test -n "ranlib" && ranlib libhistory.a Making all in lib
source='filemode.c' object='filemode.o' libtool=no  DEPDIR=.deps
depmode=gcc /bin/sh ../depcomp  cc -DHAVE_CONFIG_H -I. -I.
-I../include -I../include -I/usr/local/include  -O -pipe  -Wall -c
filemode.c In file included from ../include/post-config.h:158,
                from ../include/config.h:622,
                from filemode.c:19:
../include/trio.h:191: warning: `vfscanf' redefined
/usr/include/stdio.h:326: warning: this is the location of the
previous definition source='mbswidth.c' object='mbswidth.o' libtool=no
DEPDIR=.deps depmode=gcc /bin/sh ../depcomp  cc -DHAVE_CONFIG_H -I.
-I. -I../include -I../include -I/usr/local/include  -O -pipe  -Wall -c
mbswidth.c In file included from ../include/post-config.h:158,
                from ../include/config.h:622,
                from mbswidth.c:21:
../include/trio.h:191: warning: `vfscanf' redefined
/usr/include/stdio.h:326: warning: this is the location of the
previous definition source='human.c' object='human.o' libtool=no
DEPDIR=.deps depmode=gcc /bin/sh ../depcomp  cc -DHAVE_CONFIG_H -I.
-I. -I../include -I../include -I/usr/local/include  -O -pipe  -Wall -c
human.c In file included from ../include/post-config.h:158,
                from ../include/config.h:622,
                from human.c:23:
../include/trio.h:191: warning: `vfscanf' redefined
/usr/include/stdio.h:326: warning: this is the location of the
previous definition
human.c: In function `human_readable_inexact':
human.c:137: warning: `power' might be used uninitialized in this
function source='xstrtol.c' object='xstrtol.o' libtool=no
DEPDIR=.deps depmode=gcc /bin/sh ../depcomp  cc -DHAVE_CONFIG_H -I.
-I. -I../include -I../include -I/usr/local/include  -O -pipe  -Wall -c
xstrtol.c In file included from ../include/post-config.h:158,
                from ../include/config.h:622,
                from xstrtol.c:21:
../include/trio.h:191: warning: `vfscanf' redefined
/usr/include/stdio.h:326: warning: this is the location of the
previous definition source='xstrtoul.c' object='xstrtoul.o' libtool=no
DEPDIR=.deps depmode=gcc /bin/sh ../depcomp  cc -DHAVE_CONFIG_H -I.
-I. -I../include -I../include -I/usr/local/include  -O -pipe  -Wall -c
xstrtoul.c In file included from ../include/post-config.h:158,
                from ../include/config.h:622,
                from xstrtol.c:21,
                from xstrtoul.c:4:
../include/trio.h:191: warning: `vfscanf' redefined
/usr/include/stdio.h:326: warning: this is the location of the
previous definition source='modechange.c' object='modechange.o'
libtool=no  DEPDIR=.deps depmode=gcc /bin/sh ../depcomp  cc
-DHAVE_CONFIG_H -I. -I. -I../include
-I../include   -I/usr/local/include  -O -pipe  -Wall -c modechange.c
In file included from ../include/post-config.h:158,
                from ../include/config.h:622,
                from modechange.c:28:
../include/trio.h:191: warning: `vfscanf' redefined
/usr/include/stdio.h:326: warning: this is the location of the
previous definition source='trio.c' object='trio.o' libtool=no
DEPDIR=.deps depmode=gcc /bin/sh ../depcomp  cc -DHAVE_CONFIG_H -I.
-I. -I../include -I../include -I/usr/local/include  -O -pipe  -Wall -c
trio.c In file included from trio.c:47:
../include/trio.h:191: warning: `vfscanf' redefined
/usr/include/stdio.h:326: warning: this is the location of the
previous definition
trio.c:77: warning: `isblank' redefined
/usr/include/ctype.h:117: warning: this is the location of the
previous definition
trio.c: In function `trio_printfv':
trio.c:3597: warning: `dummy' might be used uninitialized in this
function
trio.c: In function `trio_fprintfv':
trio.c:3671: warning: `dummy' might be used uninitialized in this
function
trio.c: In function `trio_dprintfv':
trio.c:3744: warning: `dummy' might be used uninitialized in this
function
trio.c: In function `trio_cprintfv':
trio.c:3803: warning: `dummy' might be used uninitialized in this
function
trio.c: In function `trio_sprintfv':
trio.c:3887: warning: `dummy' might be used uninitialized in this
function
trio.c: In function `trio_snprintfv':
trio.c:3980: warning: `dummy' might be used uninitialized in this
function
trio.c: In function `trio_printv_ref':
trio.c:4865: warning: `dummy' might be used uninitialized in this
function
trio.c: In function `trio_scanfv':
trio.c:6520: warning: `dummy' might be used uninitialized in this
function
trio.c: In function `trio_fscanfv':
trio.c:6575: warning: `dummy' might be used uninitialized in this
function
trio.c: In function `trio_dscanfv':
trio.c:6629: warning: `dummy' might be used uninitialized in this
function
trio.c: In function `trio_cscanfv':
trio.c:6690: warning: `dummy' might be used uninitialized in this
function
trio.c: In function `trio_sscanfv':
trio.c:6747: warning: `dummy' might be used uninitialized in this
function source='trionan.c' object='trionan.o' libtool=no
DEPDIR=.deps depmode=gcc /bin/sh ../depcomp  cc -DHAVE_CONFIG_H -I.
-I. -I../include -I../include -I/usr/local/include  -O -pipe  -Wall -c
trionan.c source='triostr.c' object='triostr.o' libtool=no
DEPDIR=.deps depmode=gcc /bin/sh ../depcomp  cc -DHAVE_CONFIG_H -I.
-I. -I../include -I../include -I/usr/local/include  -O -pipe  -Wall -c
triostr.c source='fnmatch.c' object='fnmatch.o' libtool=no
DEPDIR=.deps depmode=gcc /bin/sh ../depcomp  cc -DHAVE_CONFIG_H -I.
-I. -I../include -I../include -I/usr/local/include  -O -pipe  -Wall -c
fnmatch.c In file included from ../include/post-config.h:158,
                from ../include/config.h:622,
                from fnmatch.c:20:
../include/trio.h:191: warning: `vfscanf' redefined
/usr/include/stdio.h:326: warning: this is the location of the
previous definition source='memmem.c' object='memmem.o' libtool=no
DEPDIR=.deps depmode=gcc /bin/sh ../depcomp  cc -DHAVE_CONFIG_H -I.
-I. -I../include -I../include -I/usr/local/include  -O -pipe  -Wall -c
memmem.c source='getopt.c' object='getopt.o' libtool=no  DEPDIR=.deps
depmode=gcc /bin/sh ../depcomp  cc -DHAVE_CONFIG_H -I. -I.
-I../include -I../include -I/usr/local/include  -O -pipe  -Wall -c
getopt.c In file included from ../include/post-config.h:158,
                from ../include/config.h:622,
                from getopt.c:31:
../include/trio.h:191: warning: `vfscanf' redefined
/usr/include/stdio.h:326: warning: this is the location of the
previous definition source='getopt1.c' object='getopt1.o' libtool=no
DEPDIR=.deps depmode=gcc /bin/sh ../depcomp  cc -DHAVE_CONFIG_H -I.
-I. -I../include -I../include -I/usr/local/include  -O -pipe  -Wall -c
getopt1.c In file included from ../include/post-config.h:158,
                from ../include/config.h:622,
                from getopt1.c:22:
../include/trio.h:191: warning: `vfscanf' redefined
/usr/include/stdio.h:326: warning: this is the location of the
previous definition rm -f liblib.a ar cru liblib.a filemode.o
mbswidth.o  human.o xstrtol.o xstrtoul.o modechange.o trio.o trionan.o
triostr.o fnmatch.o memmem.o getopt.o getopt1.o ranlib liblib.a Making
all in doc Making all in src source='PollVec.cc' object='PollVec.lo'
libtool=yes  DEPDIR=.deps depmode=gcc /bin/sh ../depcomp  /bin/sh
../libtool --silent --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H  -I.
-I. -I../include -I../include
-I/usr/local/include   -O -pipe  -Wall -Wwrite-strings
-Woverloaded-virtual
-fno-exceptions -fno-rtti -fno-implement-inlines -Winline -c -o
PollVec.lo PollVec.cc In file included from
../include/post-config.h:158,
                from ../include/config.h:622,
                from PollVec.cc:21:
../include/trio.h:191: warning: `vfscanf' redefined
/usr/include/stdio.h:326: warning: this is the location of the
previous definition source='SMTask.cc' object='SMTask.lo' libtool=yes
DEPDIR=.deps depmode=gcc /bin/sh ../depcomp  /bin/sh ../libtool
--silent --tag=CXX --mode=compile c++
-DHAVE_CONFIG_H  -I. -I. -I../include -I../include    -I/usr/local/include
-O -pipe  -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions
-fno-rtti -fno-implement-inlines -Winline -c -o SMTask.lo SMTask.cc In
file included from ../include/post-config.h:158,
                from ../include/config.h:622,
                from SMTask.cc:23:
../include/trio.h:191: warning: `vfscanf' redefined
/usr/include/stdio.h:326: warning: this is the location of the
previous definition source='ProcWait.cc' object='ProcWait.lo'
libtool=yes  DEPDIR=.deps depmode=gcc /bin/sh ../depcomp  /bin/sh
../libtool --silent --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H  -I.
-I. -I../include -I../include
-I/usr/local/include   -O -pipe  -Wall -Wwrite-strings
-Woverloaded-virtual
-fno-exceptions -fno-rtti -fno-implement-inlines -Winline -c -o
ProcWait.lo ProcWait.cc In file included from
../include/post-config.h:158,
                from ../include/config.h:622,
                from ProcWait.cc:23:
../include/trio.h:191: warning: `vfscanf' redefined
/usr/include/stdio.h:326: warning: this is the location of the
previous definition source='GetPass.cc' object='GetPass.lo'
libtool=yes  DEPDIR=.deps depmode=gcc /bin/sh ../depcomp  /bin/sh
../libtool --silent --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H  -I.
-I. -I../include -I../include
-I/usr/local/include   -O -pipe  -Wall -Wwrite-strings
-Woverloaded-virtual
-fno-exceptions -fno-rtti -fno-implement-inlines -Winline -c -o
GetPass.lo GetPass.cc In file included from
../include/post-config.h:158,
                from ../include/config.h:622,
                from GetPass.cc:21:
../include/trio.h:191: warning: `vfscanf' redefined
/usr/include/stdio.h:326: warning: this is the location of the
previous definition source='ConnectionSlot.cc'
object='ConnectionSlot.lo' libtool=yes DEPDIR=.deps depmode=gcc
/bin/sh ../depcomp  /bin/sh ../libtool --silent --tag=CXX
--mode=compile c++ -DHAVE_CONFIG_H  -I. -I. -I../include
-I../include    -I/usr/local/include   -O -pipe  -Wall -Wwrite-strings
-Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines
-Winline -c -o ConnectionSlot.lo ConnectionSlot.cc In file included
from ../include/post-config.h:158,
                from ../include/config.h:622,
                from ConnectionSlot.cc:23:
../include/trio.h:191: warning: `vfscanf' redefined
/usr/include/stdio.h:326: warning: this is the location of the
previous definition In file included from FileAccess.h:460,
                from ConnectionSlot.cc:24:
buffer.h:34: iconv.h: No such file or directory In file included from
ConnectionSlot.cc:24:
FileAccess.h: In method `FileAccess::Path::Path(const FileAccess::Path
&)':
FileAccess.h:104: warning: can't inline call to `void
FileAccess::Path::Set(const FileAccess::Path &)'
FileAccess.h:98: warning: called from here In file included from
FileAccess.h:460,
                from ConnectionSlot.cc:24:
buffer.h: At top level:
buffer.h:134: syntax error before `;'
buffer.h: In method
`DirectedBuffer::DirectedBuffer(DirectedBuffer::dir_t)':
buffer.h:140: `backend_translate' undeclared (first use this function)
buffer.h:140: (Each undeclared identifier is reported only once
buffer.h:140: for each function it appears in.)
*** Error code 1

Stop in /usr/ports/ftp/lftp/work/lftp-3.3.3/src.
*** Error code 1

Stop in /usr/ports/ftp/lftp/work/lftp-3.3.3.
*** Error code 1

Stop in /usr/ports/ftp/lftp.
---snip---

Thanks,

Matt Whitfield   -- lftp<deletethis>at<deleteme>whitfield.ca

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.12.7/159 - Release Date:
02/11/2005



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.12.7/159 - Release Date: 02/11/2005


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.12.7/159 - Release Date: 02/11/2005


Reply via email to