[Buildroot] [buildroot 0003754]: dnsmasq fails to link on i686 platforms

bugs at busybox.net bugs at busybox.net
Wed Jun 18 13:06:42 UTC 2008


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=3754 
====================================================================== 
Reported By:                KHAksnes
Assigned To:                buildroot
====================================================================== 
Project:                    buildroot
Issue ID:                   3754
Category:                   Architecture Specific
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             06-14-2008 17:01 PDT
Last Modified:              06-18-2008 06:06 PDT
====================================================================== 
Summary:                    dnsmasq fails to link on i686 platforms
Description: 
dnsmask insists on loading libdbus-1.so from /lib instead of
build_i686/staging_dir/usr/lib ending with linking failure as expected.
I am using svn version 22342 of buildroot.
====================================================================== 

---------------------------------------------------------------------- 
 jacmet - 06-15-08 13:40  
---------------------------------------------------------------------- 
I cannot reproduce it on ppc, please provide more details 

---------------------------------------------------------------------- 
 KHAksnes - 06-15-08 14:07  
---------------------------------------------------------------------- 
A compile log ( after doing rm -rf build_i686/dnsmasq* )
are uploaded 

---------------------------------------------------------------------- 
 jacmet - 06-18-08 06:06  
---------------------------------------------------------------------- 
>From the log:

make[1]: Entering directory
`/media/EkstraDisk/buildroot/build_i686/dnsmasq-2.41'
cd src && /usr/bin/make \
 DBUS_MINOR=" `echo -DNO_IPV6 | ../bld/pkg-wrapper pkg-config --modversion
dbus-1 | nawk -F . -- '{ if ($(NF-1)) print \"-DDBUS_MINOR=\"$(NF-1) }'`" 
\
 DBUS_CFLAGS="`echo -DNO_IPV6 | ../bld/pkg-wrapper pkg-config --cflags
dbus-1`"  \
 DBUS_LIBS="  `echo -DNO_IPV6 | ../bld/pkg-wrapper pkg-config --libs
dbus-1`"  \
 SUNOS_LIBS=" `if uname | grep SunOS 2>&1 >/dev/null; then echo -lsocket
-lnsl -lposix4; fi `" \
 SUNOS_VER="  `if uname | grep SunOS 2>&1 >/dev/null; then uname -r | nawk
-F . -- '{ print \"-DSUNOS_VER=\"$2 }'; fi`" \
 -f ../bld/Makefile dnsmasq 
/bin/sh: line 1: nawk: command not found

Don't you have nawk installed? On my system, nawk is a link to gawk.

Seems like we don't currently check for awk in dependencies.sh, will fix 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-14-08 17:01  KHAksnes       New Issue                                    
06-14-08 17:01  KHAksnes       Status                   new => assigned     
06-14-08 17:01  KHAksnes       Assigned To               => buildroot       
06-15-08 13:40  jacmet         Note Added: 0008264                          
06-15-08 14:07  KHAksnes       Note Added: 0008274                          
06-15-08 14:08  KHAksnes       File Added: compilelog                       
06-18-08 06:06  jacmet         Note Added: 0008384                          
======================================================================




More information about the buildroot mailing list