[Doxygen-users] Fwd: `make` fails (probably) because of libiconv
Brought to you by:
dimitri
From: Giuseppe Crino' <gi...@gm...> - 2014-03-04 20:16:42
|
On 1 March 2014 18:53, Albert <alb...@gm...> wrote: > Hi Guseppe, > > I see a similar question on stack exchange ( > http://stackoverflow.com/questions/21997908/doxygen-build-failing-with-undefined-reference-to-libiconv-close-libiconv > ). > > I tried it on a RHEL system and there the iconv is coming from glibc (by > head version 2.2.5), on cygwin the -liconv is explicitly added to the link > line (in the configuration step in src/doxygen.pro.in). > > Albert > You're suggesting me to modify src/doxygen.pro.in, right? I tried, with no results ... I copied doxygen.pro.in into doxygen.pro.in.old, edited doxygen.pro.in and here's to output of diff $ diff src/doxygen.pro.in src/doxygen.pro.in.old 21c21 < unix:LIBS += -L../lib -ldoxygen -ldoxycfg -lqtools -lmd5 -liconv -lpthread %%SQLITE3_LIBS%% %%LIBCLANG_LIBS%% --- > unix:LIBS += -L../lib -ldoxygen -ldoxycfg -lqtools -lmd5 -lpthread %%SQLITE3_LIBS%% %%LIBCLANG_LIBS%% It is curious, as happens also following Dimitri's suggestion, that the output of make does not change. Indeed make[2]: Entering directory `/home/giuscri/doxygen-1.8.6/src' g++ -o ../bin/doxygen ../objects/main.o -L../lib -ldoxygen -ldoxycfg -lqtools -lmd5 -lpthread ../lib/libdoxycfg.a(portable_c.o): In function `portable_iconv_open': portable_c.c:(.text+0x1): undefined reference to `libiconv_open' ../lib/libdoxycfg.a(portable_c.o): In function `portable_iconv': portable_c.c:(.text+0x11): undefined reference to `libiconv' ../lib/libdoxycfg.a(portable_c.o): In function `portable_iconv_close': portable_c.c:(.text+0x21): undefined reference to `libiconv_close' collect2: error: ld returned 1 exit status ... -- **Guerilla Open Access Movement** > http://archive.org/stream/GuerillaOpenAccessManifesto/Goamjuly2008_djvu.txt |