[BusyBox 0000316]: CONFIG_ symbol collision with linux 2.4 kernel autoconf.h

bugs at busybox.net bugs at busybox.net
Wed Oct 26 11:34:32 UTC 2005


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=316 
====================================================================== 
Reported By:                mleslie
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   316
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             06-28-2005 15:38 PDT
Last Modified:              10-26-2005 04:34 PDT
====================================================================== 
Summary:                    CONFIG_ symbol collision with linux 2.4 kernel
autoconf.h
Description: 
The following config symbols collide with the uClinux 2.4.29-uc1 kernel
autoconf.h:

    CONFIG_SYSCTL
    CONFIG_TR
    CONFIG_WATCHDOG

For example, if you enable watchdog support in the kernel but not the
busybox applet, busybox applets.c will be made to include the call to
watchdog_main (CONFIG_WATCHDOG having been defined the kernel autoconf.h)
but the watchdog applet itself will not have been compiled. Compilation
fails.
====================================================================== 

---------------------------------------------------------------------- 
 karn - 10-26-05 04:34  
---------------------------------------------------------------------- 
I recommend putting a unique suffix on all of the CONFIG_ tags used
internally in busybox to avoid not only these collisions, but future ones
as well.

I just spent an hour figuring out why the watchdog command wasn't
appearing in the binary even though I had configured it. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-28-05 15:38  mleslie        New Issue                                    
06-28-05 15:51  mleslie        Issue Monitored: mleslie                     
10-26-05 04:34  karn           Note Added: 0000643                          
======================================================================




More information about the busybox-cvs mailing list