Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Oct 2005 08:05:07 GMT
From:      "Jukka A. Ukkonen" <jau@iki.fi>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/87831: hyperestraier does not compile with libiconv-1.9.2_1
Message-ID:  <200510220805.j9M857w1045913@www.freebsd.org>
Resent-Message-ID: <200510220810.j9M8AGG0096108@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         87831
>Category:       ports
>Synopsis:       hyperestraier does not compile with libiconv-1.9.2_1
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 22 08:10:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Jukka A. Ukkonen
>Release:        4.11-STABLE
>Organization:
private citizen
>Environment:
FreeBSD mjolnir 4.11-STABLE FreeBSD 4.11-STABLE #0: Wed Sep 21 07:56:19 EET DST 2005     jau@mjolnir:/home/src/sys/compile/Mjolnir  i386

>Description:
              When running make for the port it ends like this...

LD_RUN_PATH=/lib:/usr/lib:/home/jau/lib:/usr/local/lib:/usr/local/lib cc -Wall -ansi -pedantic -fPIC -fsigned-char -O -pipe  -D_THREAD_SAFE -o dpmgr dpmgr.o -L. -L/home/jau/lib -L/usr/local/lib -lqdbm -lz -pthread -lc
./libqdbm.so: undefined reference to `libiconv_open'
./libqdbm.so: undefined reference to `libiconv_close'
./libqdbm.so: undefined reference to `pow'
./libqdbm.so: undefined reference to `libiconv'
*** Error code 1

Stop in /opt/ports/databases/qdbm/work/qdbm-1.8.33.
*** Error code 1

Stop in /opt/ports/databases/qdbm.
*** Error code 1

Stop in /opt/ports/textproc/hyperestraier.

>How-To-Repeat:
              Try make with libiconv-1.9.2_1 installed on FreeBSD-4.11-STABLE.
(In fact any FreeBSD version should produce the same results.)

>Fix:
              The correct names to refer in code would be iconv_open, icon_close,
etc.
The missing pow() simply lacks -lm during the linking phase.

>Release-Note:
>Audit-Trail:
>Unformatted:



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