Build failure in jabber

Stu Tomlinson stu at nosnilmot.com
Fri Jun 8 21:57:47 EDT 2007


iconv.h is part of glibc, you'll need to first port libxml2 to your
target, in such a way that it doesn't depend on iconv.h

Regards,


Stu.

On Fri, 2007-06-08 at 14:10 -0700, Bill Fassler wrote:
> Thanks Mark - iconv.h resides in /usr/include also.  I am perplexed on
> why the compiler couldn't locate it, so I had to hack it with a soft
> link in the pidgin directory to get it to work, but I don't like that
> fix.
> 
> Mark Doliner <mark at kingant.net> wrote:
>         Here's the relevant message, for easier access:
>         
>         make[5]: Entering directory
>         `/home/project/elf_flat/uClinux-dist/pidgin-2.0.0/libpurple/protocols/jabber'
>         if /bin/sh ../../../libtool --silent --tag=CC --mode=compile
>         bfin-uclinux-gcc
>         -Wl,-elf2flt -DHAVE_CONFIG_H -I. -I. -I../../..
>         -I../../../libpurple
>         -I../../../libpurple -Wall -Waggregate-return -Wcast-align
>         -Wdeclaration-after-statement -Wendif-labels
>         -Werror-implicit-function-declaration -Wextra
>         -Wno-sign-compare
>         -Wno-unused-parameter -Winit-self -Wmissing-declarations
>         -Wmissing-noreturn
>         -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wundef
>         -Wp,-D_FORTIFY_SOURCE=2 -pthread -I/opt/gnome/include/glib-2.0
>         -I/opt/gnome/lib/glib-2.0/include -I/usr/include/libxml2 -g -g
>         -O2 -MT
>         auth.lo -MD -MP -MF ".deps/auth.Tpo" -c -o auth.lo auth.c; \
>         then mv -f ".deps/auth.Tpo" ".deps/auth.Plo"; else rm -f
>         ".deps/auth.Tpo";
>         exit 1; fi
>         In file included
>         from /usr/include/libxml2/libxml/parser.h:796,
>         from jabber.h:25,
>         from auth.h:25,
>         from auth.c:33:
>         /usr/include/libxml2/libxml/encoding.h:28:19: error: iconv.h:
>         No such file or
>         directory
>         In file included
>         from /usr/include/libxml2/libxml/parser.h:796,
>         from jabber.h:25,
>         from auth.h:25,
>         from auth.c:33:
>         /usr/include/libxml2/libxml/encoding.h:136: error: expected
>         specifier-qualifier-list before ‘iconv_t’
>         make[5]: *** [auth.lo] Error 1
>         
>         Do you have an iconv.h in your include path? I could be wrong,
>         but it looks
>         like /usr/include/libxml2/libxml/encoding.h is trying to use
>         something from
>         iconv.h that hasn't been defined. For me this file lives
>         at /usr/include/iconv.h
>         
>         -Mark
> 
> 
> 
> 
> ______________________________________________________________________
> Boardwalk for $500? In 2007? Ha! 
> Play Monopoly Here and Now (it's updated for today's economy) at
> Yahoo! Games.
> _______________________________________________
> Devel mailing list
> Devel at pidgin.im
> http://pidgin.im/cgi-bin/mailman/listinfo/devel




More information about the Devel mailing list