Skip to contentSkip to conversation

: zlib problems

Buildroot bugs at busybox.net 1 participant 1 message Apr 28, 2007

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
http://busybox.net/bugs/view.php?id=1323
======================================================================

Reported By:                asquared
Assigned To:                buildroot
====================================================================== 
Project:                    buildroot
Issue ID:                   1323
Category:                   Architecture Specific
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             04-23-2007 17:18 PDT
Last Modified:              04-27-2007 20:39 PDT

======================================================================
Summary: zlib problems
Description:
Many packages are failing to compile because they are unable to find the zlib headers. This appears to happen regardless of whether or not installation of zlib headers is enabled in 'make menuconfig'. Zlib headers have been installed on the development system, and this does not solve the problem. This has been reproduced with both default and customized configurations of buildroot.
======================================================================

----------------------------------------------------------------------
asquared - 04-23-07 17:20
----------------------------------------------------------------------
It appears that I have filed this bug under the architecture-specific category, so I probably should add that this occurs when targeting x86.

----------------------------------------------------------------------
asquared - 04-24-07 05:33
----------------------------------------------------------------------
Bug only appears to occur when zlib has been selected for installation. 'make defconfig; make' succeeds.

----------------------------------------------------------------------
rordway - 04-27-07 20:39
----------------------------------------------------------------------
The problem looks to be a missing symlink in build_<arch>/staging_dir/usr.

When the build fails, cd to build_<arch>/staging_dir/usr and run:

ln -s ../include include

This fixed the problem for me.

I have not tested it, but I expect that this patch will fix the problem.

Issue History
Date Modified Username Field Change
======================================================================

04-23-07 17:18  asquared       New Issue                                    
04-23-07 17:18  asquared       Status                   new => assigned     
04-23-07 17:18  asquared       Assigned To               => buildroot       
04-23-07 17:20  asquared       Note Added: 0002328                          
04-24-07 05:33  asquared       Note Added: 0002329                          
04-27-07 20:39  rordway        Note Added: 0002333                          

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