[BusyBox] svn- co or update

Thomas Fröhlich bornland at gmx.at
Mon Aug 1 12:08:59 UTC 2005


I didn't understand the following problems after checkout or update:

in networking/ifconfig.c

if (ENABLE_FEATURE_CLEAN_UP) close(sockfd);
---> error: `ENABLE_FEATURE_CLEAN_UP' undeclared

in other files are this codelines...
#ifdef CONFIG_FEATURE_CLEAN_UP
xxx
#endif

What is now the right code?

///////////
other problem:
shell/ash.c:11849: error: parse error before "BB_VER"

but it is in include/bb_config.h defined...I don't see the problem! :(
if i include "config.h" it will be work, what is the difference between 
include/bb_config.h and  include/config.h, beside

in config.h
#define CONFIG_FEATURE_BUFFERS_USE_MALLOC 1
#undef CONFIG_FEATURE_BUFFERS_GO_ON_STACK

and in bb_config.h
#define CONFIG_FEATURE_BUFFERS_USE_MALLOC 1
#define ENABLE_FEATURE_BUFFERS_USE_MALLOC 1
#define ENABLE_FEATURE_BUFFERS_GO_ON_STACK 0

thx & regards
Thomas



More information about the busybox mailing list