[Buildroot] [autobuild.buildroot.net] Build results for 2014-08-26

Jörg Krause jkrause at posteo.de
Wed Aug 27 11:22:05 UTC 2014


On 08/27/2014 01:09 PM, Vicente Olivert Riera wrote:
> On 08/27/2014 11:02 AM, Jörg Krause wrote:
>>
>> On 08/27/2014 08:30 AM, Thomas Petazzoni wrote:
>>> Build statistics for 2014-08-26
>>> ===============================
>>>
>>>
>>>        bfin | libshairplay-139d5ef5556451... | NOK |
>>> http://autobuild.buildroot.net/results/7b13728386da6179608a1c7607565bd9bc357d86/ 
>>>
>>>
>>
>> This is a problem with missing or not finding libdl. This is what my
>> libshairplay/config.log shows:
>>
>> configure:11508:
>> /home/joerg/Freescale/buildroot/output/host/usr/bin/bfin-uclinux-gcc -o
>> conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
>> -D_FILE_OFFSET_BITS=64  -pipe -Os   -Wl,-elf2flt -static
>> -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
>> -elf2flt -static conftest.c -ldl   >&5
>> /home/joerg/Freescale/buildroot/output/host/opt/ext-toolchain/bfin-uclinux/bfin-uclinux/bin/ld.real: 
>>
>> cannot find -ldl
>> _______________________________________________
>> buildroot mailing list
>> buildroot at busybox.net
>> http://lists.busybox.net/mailman/listinfo/buildroot
>
> Could be something related with this?:
>
> (static linking is broken with -ldl)
>
> http://lists.uclibc.org/pipermail/uclibc/2010-September/044300.html
>

Don't think so. In 
libshairplay-139d5ef55564514c31f02dd82cef91236c9ff523/src/lib/dnssd.c 
the macro USE_LIBDL is defined:

#define USE_LIBDL (defined(HAVE_LIBDL) && !defined(__APPLE__))

#if defined(WIN32) || USE_LIBDL
[..]
#else
# include <dns_sd.h>
# define DNSSD_STDCALL
#endif

In this build HAVE_LIBDL is not defined and so is USE_LIBDL not defined. 
Finally, there is no header file dns_sd.h, which breaks the build process.

I guess, the problem is that configure does not find libdl.




More information about the buildroot mailing list