[Buildroot] Analysis of build failures
Guillaume GARDET - Oliséo
guillaume.gardet at oliseo.fr
Thu Aug 6 13:53:44 UTC 2015
Le 29/07/2015 10:03, Thomas Petazzoni a écrit :
> Hello,
>
> Clayton, Guillaume, Samuel, Gwenhael, Gustavo, Brendan, Paul, Bernd,
> Angelo, Maxime, Simon: see below, there are some questions for you.
> Thanks!
>
> On Wed, 29 Jul 2015 08:30:17 +0200 (CEST), Thomas Petazzoni wrote:
snip...
>> arm | c-icap-0.3.5 | NOK | http://autobuild.buildroot.net/results/cb623460de30dd7c4ef3275fe13220c1ca0642a5/
> c_icap-service.o: In function `load_c_service':
> service.c:(.text+0x710): undefined reference to `ci_module_load'
> service.c:(.text+0x720): undefined reference to `ci_module_sym'
> service.c:(.text+0x774): undefined reference to `ci_module_unload'
>
> Unknown, already happened yesterday. Guillaume, can you have a look?
This is because HAVE_DLFCN_H is not set because dlfcn.h is not provided by the toolchain. But ./os/unix/dlib.c uses dlopen and dlclose functions.
Apparently, this is missing on uClibc when it is configured as a static-only C library.
What would be the best way to fix it? Maybe a "depends on !BR2_STATIC_LIBS" ?
Guillaume
More information about the buildroot
mailing list