help-libidn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libidn fails when builddir!=srcdir and wchar.h is unavailable


From: Simon Josefsson
Subject: Re: libidn fails when builddir!=srcdir and wchar.h is unavailable
Date: Tue, 19 Feb 2008 19:04:19 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux)

Mike Frysinger <address@hidden> writes:

> On Tuesday 19 February 2008, Simon Josefsson wrote:
>> Hi again Mike.  I have now applied a workaround to avoid including
>> wchar.h in idn-int.h.  If you can confirm that today's snapshot work for
>> you then I will release v1.5.
>>
>> http://daily.josefsson.org/libidn/libidn-20080219.tar.gz
>
> while it did compile w/out any wchar.h errors, it failed to link :(

Ok, at least some progress.  Thanks for testing.

> bfin-linux-uclibc-gcc -pipe -Wall -g -O2 -mcpu=bf537-0.2 -mcpu=bf537-0.2 -o 
> .libs/idn 
> idn.o idn_cmd.o  ../lib/.libs/libidn.so ../gl/.libs/libgnu.a
> idn.o: In function `main':
...
> ../../libidn-1.5/src/idn.c:449: undefined reference to `_idna_to_unicode_8z4z'
> ../../libidn-1.5/src/idn.c:456: undefined reference to `_idna_strerror'

That is strange, all those symbols should be defined in libidn.  What
does 'bfin-linux-uclibc-nm lib/.libs/libidn.so' show?

Is your toolchain easy to install?  I'm familiar with uclibc/uclinux, so
if you are using some simple toolchain from somewhere, please give me
the URL and I'll build the package locally and try to debug it.
Otherwise we'll have to debug via email which is slower...

/Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]