[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    [BusyBox] trouble compiling busybox on loop mounted (chrooted) slink
From:       Erich Titl <erich.titl () think ! ch>
Date:       2004-10-29 9:40:36
Message-ID: 5.1.1.6.0.20041029113956.038849e0 () luna ! think ! ch
[Download RAW message or body]

Hi 

I am trying to compile busybox 1.00 for an embedded system still relying on glibc \
2.0.7. Unfortunately make config already fails with   

luna:/src/busybox-1.00# make config
make -C scripts/config conf
make[1]: Entering directory `/src/busybox-1.00/scripts/config'
cp ../../scripts/config/zconf.tab.h_shipped zconf.tab.h
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I. -c \
../../scripts/config/conf.c -o conf.o In file included from \
../../scripts/config/lkc.h:9,  from ../../scripts/config/conf.c:14:
../../scripts/config/expr.h:170: parse error before `expr_depends_symbol'
../../scripts/config/expr.h:170: warning: data definition has no type or storage \
class In file included from ../../scripts/config/lkc.h:21,
                 from ../../scripts/config/conf.c:14:
../../scripts/config/lkc_proto.h:10: parse error before `menu_is_visible'
../../scripts/config/lkc_proto.h:10: warning: data definition has no type or storage \
                class
../../scripts/config/lkc_proto.h:24: parse error before `sym_tristate_within_range'
../../scripts/config/lkc_proto.h:24: warning: data definition has no type or storage \
                class
../../scripts/config/lkc_proto.h:25: parse error before `sym_set_tristate_value'
../../scripts/config/lkc_proto.h:25: warning: data definition has no type or storage \
                class
../../scripts/config/lkc_proto.h:27: parse error before `sym_string_valid'
../../scripts/config/lkc_proto.h:27: warning: data definition has no type or storage \
                class
../../scripts/config/lkc_proto.h:28: parse error before `sym_string_within_range'
../../scripts/config/lkc_proto.h:28: warning: data definition has no type or storage \
                class
../../scripts/config/lkc_proto.h:29: parse error before `sym_set_string_value'
../../scripts/config/lkc_proto.h:29: warning: data definition has no type or storage \
                class
../../scripts/config/lkc_proto.h:30: parse error before `sym_is_changable'
../../scripts/config/lkc_proto.h:30: warning: data definition has no type or storage \
class In file included from ../../scripts/config/conf.c:14:
../../scripts/config/lkc.h:84: parse error before `sym_set_choice_value'
../../scripts/config/lkc.h:85: warning: return-type defaults to `int'
../../scripts/config/lkc.h:89: parse error before `sym_is_choice'
../../scripts/config/lkc.h:90: warning: return-type defaults to `int'
../../scripts/config/lkc.h:94: parse error before `sym_is_choice_value'
../../scripts/config/lkc.h:95: warning: return-type defaults to `int'
../../scripts/config/lkc.h:99: parse error before `sym_is_optional'
../../scripts/config/lkc.h:100: warning: return-type defaults to `int'
../../scripts/config/lkc.h:104: parse error before `sym_has_value'
../../scripts/config/lkc.h:105: warning: return-type defaults to `int'
../../scripts/config/conf.c: In function `conf_choice':
../../scripts/config/conf.c:274: `_Bool' undeclared (first use this function)
../../scripts/config/conf.c:274: (Each undeclared identifier is reported only once
../../scripts/config/conf.c:274: for each function it appears in.)
../../scripts/config/conf.c:274: parse error before `is_new'
../../scripts/config/conf.c:278: `is_new' undeclared (first use this function)
make[1]: *** [conf.o] Error 1
make[1]: Leaving directory `/src/busybox-1.00/scripts/config'
make: *** [scripts/config/conf] Error 2

if I prprepare a valid configuration using another environment I get the following \
error when running make dep

luna:/src/busybox-1.00# make dep
#
# using defaults found in .config
#
/src/busybox-1.00/scripts/config/conf: error in loading shared libraries
> undefined symbol: __ctype_b_loc
make: *** [include/config.h] Error 127

Is busybox-1.00 supposed to compile under this environment at all?

Thanks
Erich Titl

THINK 
Püntenstrasse 39 
8143 Stallikon 
mailto:erich.titl@think.ch 
PGP Fingerprint: BC9A 25BC 3954 3BC8 C024 8D8A B7D4 FF9D 05B8 0A16


_______________________________________________
busybox mailing list
busybox@mail.busybox.net
http://codepoet.org/mailman/listinfo/busybox


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic