[yocto] issue building iputils with uclibc.

Paul Eggleton paul.eggleton at linux.intel.com
Tue Mar 20 09:23:16 PDT 2012


On Tuesday 20 March 2012 15:49:10 John Toomey wrote:
> I'm having problems compiling iputils with uclibc -
> 
> | ping6.o: In function `niquery_option_subject_name_handler':
> /tmp/work/i586-poky-linux-uclibc/iputils-s20101006-r2/iputils-s20101006/ping
> 6.c:428: undefined reference to `dn_comp'
> 
> | collect2: ld returned 1 exit status
> | make: *** [ping6] Error 1
> | make: *** Waiting for unfinished jobs....
> | make[1]: Leaving directory
> 
> `/tmp/work/i586-poky-linux-uclibc/iputils-s20101006-r2/iputils-s20101006/doc
> '
> | ERROR: oe_runmake failed
> 
> NOTE: package iputils-s20101006-r2: task do_compile: Failed
> ERROR: Task 4 (/poky/meta/recipes-extended/iputils/iputils_s20101006.bb,
> do_compile) failed with exit code '1'
> 
> It works fine with eglibc. I posted this question before but didnt
> really get a good answer - can anyone help point me in the right direction?

IIRC the thread ended with Khem asking if UCLIBC_HAS_RESOLVER_SUPPORT='y' was 
in the uclibc configuration, the implication being that dn_comp is unavailable 
unless that is true. I'm not too familiar with how uclibc is configured and 
with only a brief glance at the recipe I can see the config seems to be 
automatically generated but I can't see exactly how additional options (beyond 
what gets added from DISTRO_FEATURES) would be added.

Khem, could you help out here?

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list