Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jul 2006 23:03:15 +0300
From:      Luchezar Petkov <luchezar.petkov@gmail.com>
To:        FreeBSD-Questions <freebsd-questions@freebsd.org>
Subject:   libiconv problems
Message-ID:  <20060721200315.GA69268@lilly.evo.bg>

next in thread | raw e-mail | index | archive | help
Hi, list.

I have installed the latest libiconv (converters/libiconv), but, I can't
compile Zsh and gcc-ooo because of "undefined references" of it.
See:

.././..//gcc-3.4.1/libiberty/fibheap.c: In function `fibheap_union':
.././..//gcc-3.4.1/libiberty/fibheap.c:166: warning: implicit
declaration of function `free'
.././..//gcc-3.4.1/libiberty/fibheap.c: In function
`fibheap_delete_node':
.././..//gcc-3.4.1/libiberty/fibheap.c:285: error: `LONG_MIN' undeclared
(first use in this function)
 .././..//gcc-3.4.1/libiberty/fibheap.c:285: error: (Each undeclared
identifier is reported only once
 .././..//gcc-3.4.1/libiberty/fibheap.c:285: error: for each function
it appears in.)
.././..//gcc-3.4.1/libiberty/fibheap.c: In function
`fibheap_consolidate':
.././..//gcc-3.4.1/libiberty/fibheap.c:395: warning: implicit
declaration of function `memset'
gmake[1]: *** [fibheap.o] Error 1
gmake[1]: Leaving directory
`/usr/ports/lang/gcc-ooo/work/build/libiberty'
gmake: *** [all-libiberty] Error 2
*** Error code 2

Stop in /usr/ports/lang/gcc-ooo.

---

cc  -s  -o zsh main.o  `cat stamp-modobjs`   -liconv -ltinfo -lm  -lc
/usr/bin/ld: cannot find -liconv
*** Error code 1
Stop in /usr/ports/shells/zsh/work/zsh-4.3.2/Src.
*** Error code 1

Stop in /usr/ports/shells/zsh/work/zsh-4.3.2.
*** Error code 1

Stop in /usr/ports/shells/zsh

--

Any ideas?
Thank you.




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