[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vile] Solaris build error when using ncurses

From: Thomas Dickey
Subject: Re: [vile] Solaris build error when using ncurses
Date: Wed, 15 Mar 2006 18:27:16 -0500 (EST)

On Wed, 15 Mar 2006, Chris Green wrote:

This is on Solaris 2.6.  If I ./configure with --with-ncurses and then
compile I get undefined symbols from the iconv library:-

   Undefined                       first referenced
    symbol                             in file
   libiconv                            tcap.o
   libiconv_open                       tcap.o
   libiconv_close                      tcap.o
   ld: fatal: Symbol referencing errors. No output written to vile
   collect2: ld returned 1 exit status
   *** Error code 1
   make: Fatal error: Command failed for target `vile'

Taking the --with-ncurses out stops the above error even though
../configure still says "checking for iconv... yes".

google suggests that the problem may be that the configure script
is finding a different iconv.h than the one in /usr/include -- I'm
not sure which one (a quick check on the systems I can see right now
doesn't show an example which would do this).  The -I options in CPPFLAGS
or CFLAGS would give a clue.

I can fix the compile errors by adding "-liconv" to the LIBS line in
the makefile. So it's not a big problem but it looks like there's
soething amiss in the configure setup.  I tried adding --with-iconv
but that didn't seem to make any difference at all.

Chris Green (address@hidden)

   "Never ascribe to malice that which can be explained by incompetence."

vile mailing list

Thomas E. Dickey

reply via email to

[Prev in Thread] Current Thread [Next in Thread]