BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001010 [buildroot] Architecture Specific major always 08-27-06 15:57 02-12-07 05:42
Reporter mboutte View Status public  
Assigned To buildroot
Priority normal Resolution fixed  
Status closed   Product Version 0.9.27
Summary 0001010: Build-root make error - missing shadow.h
Description I am new to build-root so forgive my possible lack of knowledge. I am attempting a new run of build-root for an x86 host to powerpc target. As a first attempt I left most of the defaults as-is, but used fairly new gcc 4.1.1 headers and a linux 2.6 type system. The initial make menuconfig went OK, and the svn checkout seemed to work fine during the make process too, except that after about 15 minutes of work the compilation stops with an error --
"/home/mike/projects/software/snip875/build-tools/uclibc/buildroot/build_powerpc
/busybox/include/shadow_.h:23:20: error: shadow.h: No such file or directory"

I googled your site and see other mentions of this error, but nothing I try seems to resolve it, including older gcc, linux 2.4, enabling or disableing shadow password support from the make config in the busybox directory. I also tried a make clean during this. I'm lost and have not more ideas now.

Note that svn checked out the new vresion 0.9.28.

Mike
Additional Information Just for grins I copied shadow_.h to shadow.h, and it still failed, but with another error type.

The board is my own design using an MPC875 with fec ethernet and scc implemented hdlc support. The existing uClibc 0.9.27 was created natively on a powerpc and I am trying to get a full cross implementation working. The boot-loader is U-Boot and the Linux 2.6.15 kernel was developed using denx.com ELDK version 4.
Attached Files

- Relationships

- Notes
(0001596)
vapier
08-28-06 11:19

your uClibc is configured without shadow support ... that means you need to either enable shadow support in uClibc or disable everything in busybox that requries shadow
 
(0001597)
mboutte
08-28-06 14:38

Vapier,
Not to belabor this issue, but I had tried modifying the busybox configuration by going to the busybox folder and running "make menuconfig" to no avail. On more testing I saw when I went back to busybox configuration after attempting a new build, that the configuration had reverted to that before my changes. A more careful read of your docs showed copying the new busybox configuration back to the package/busybox/busybox.config file. When I did that the build worked. So, for me the problem was that I assumed that using make menuconfig on busybox actually modified the configuration that build-root would use. Again, this is my first attempt at using this incredible tool, and I was unaware of that requirement.
 
(0002105)
bernhardf
02-04-07 09:06

This was a bug in busybox that was fixed in the 1.4.x series.
 

- Issue History
Date Modified Username Field Change
08-27-06 15:57 mboutte New Issue
08-27-06 15:57 mboutte Status new => assigned
08-27-06 15:57 mboutte Assigned To  => uClibc
08-28-06 11:19 vapier Note Added: 0001596
08-28-06 11:19 vapier Status assigned => closed
08-28-06 11:19 vapier Resolution open => no change required
08-28-06 14:38 mboutte Status closed => feedback
08-28-06 14:38 mboutte Resolution no change required => reopened
08-28-06 14:38 mboutte Note Added: 0001597
02-04-07 09:06 bernhardf Status feedback => closed
02-04-07 09:06 bernhardf Note Added: 0002105
02-04-07 09:06 bernhardf Resolution reopened => fixed
02-12-07 05:42 vapier Status closed => assigned
02-12-07 05:42 vapier Assigned To uClibc => buildroot


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker