[BusyBox 0002994]: SIOCBRADDBR (and a few others) undeclared

bugs at busybox.net bugs at busybox.net
Sun Apr 20 19:08:13 UTC 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=2994 
====================================================================== 
Reported By:                thorstenhirsch
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   2994
Category:                   Networking Support
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             04-20-2008 12:08 PDT
Last Modified:              04-20-2008 12:08 PDT
====================================================================== 
Summary:                    SIOCBRADDBR (and a few others) undeclared
Description: 
compiling busybox 1.10.1 fails with the following error:

networking/brctl.c: In function `brctl_main':
networking/brctl.c:136: error: `SIOCBRADDBR' undeclared (fir              
                                      st use in this function)
networking/brctl.c:136: error: (Each undeclared identifier i              
                                      s reported only once
networking/brctl.c:136: error: for each function it appears               
                                      in.)
networking/brctl.c:136: error: `SIOCBRDELBR' undeclared (fir              
                                      st use in this function)
networking/brctl.c:150: error: `SIOCBRADDIF' undeclared (fir              
                                      st use in this function)
networking/brctl.c:150: error: `SIOCBRDELIF' undeclared (fir              
                                      st use in this function)
make[1]: *** [networking/brctl.o] Error 1
make: *** [networking] Error 2

My linkstation's sockios.h (kernel 2.4.20) has none of the 4 definitions,
but my desktop computer (2.6.x) has. So I think you should put the code of
brctl.c into #ifdef or something like that.
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-20-08 12:08  thorstenhirsch New Issue                                    
04-20-08 12:08  thorstenhirsch Status                   new => assigned     
04-20-08 12:08  thorstenhirsch Assigned To               => BusyBox         
======================================================================




More information about the busybox-cvs mailing list