[Buildroot] [buildroot 0003284]: configure cannot find libz and usage of __USE_GNU breaks build

bugs at busybox.net bugs at busybox.net
Thu May 8 05:17:07 PDT 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=3284 
====================================================================== 
Reported By:                rhunger
Assigned To:                buildroot
====================================================================== 
Project:                    buildroot
Issue ID:                   3284
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             05-08-2008 05:17 PDT
Last Modified:              05-08-2008 05:17 PDT
====================================================================== 
Summary:                    configure cannot find libz and usage of __USE_GNU
breaks build
Description: 
When selecting dropbear, configure is not able to find the libz in
staging_dir (Libz builds and installs ok). Defining LDFLAGS before running
configure solve this problem for me (see patch).

But than the compilation failed because of undefined structs in stdio.h.
This originates from the patch
"package/dropbear/dropbear-fix-missing-TIMEVAL_TO_TIMESPEC.patch" where
__USE_GNU is added. IMHO _GNU_SOURCE would be better. Anyway, the patch
seams unnecessary.
Dropbear works just fine without it.

====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-08-08 05:17  rhunger        New Issue                                    
05-08-08 05:17  rhunger        Status                   new => assigned     
05-08-08 05:17  rhunger        Assigned To               => buildroot       
05-08-08 05:17  rhunger        File Added: dropbear.patch                    
======================================================================



More information about the buildroot mailing list