On 1 March 2014 18:53, Albert <albert.te...@gmail.com> 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
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to