[BusyBox] last_patch17 and contine work with ash

Erik Andersen andersen at lineo.com
Mon Jul 2 10:05:33 UTC 2001


On Mon Jul 02, 2001 at 07:46:52PM +0400, Vladimir N. Oleynik wrote:
> 
> Subject: [BusyBox] #define -> static const int. Ash module
> Date: Sat, 30 Jun 2001 20:33:04 +0400
> From: "Vladimir N. Oleynik" <dzo at simtreas.ru>
> 
> I enable in Config.h BB_FEATURE_BUFFERS_GO_IN_BSS and
> can`t translate modules: syslogd.c and tr.c

I enabled BB_FEATURE_BUFFERS_GO_IN_BSS, tr, and syslogd and
it compiles just fine without your changes.  I don't see any problem.
Am I missing something?

[andersen at sage busybox]$ cvs status tr.c syslogd.c 
===================================================================
File: tr.c              Status: Up-to-date

   Working revision:    1.29
   Repository revision: 1.29    /var/cvs/busybox/tr.c,v
   [------snip------]

===================================================================
File: syslogd.c         Status: Up-to-date

   Working revision:    1.71
   Repository revision: 1.71    /var/cvs/busybox/syslogd.c,v
   [------snip------]

[andersen at sage busybox]$ cvs diff -c0 -u Config.h
Index: Config.h
===================================================================
RCS file: /var/cvs/busybox/Config.h,v
retrieving revision 1.86
diff -u -b -B -w -p -c -0 -u -r1.86 Config.h
cvs server: conflicting specifications of output style
cvs server: conflicting specifications of output style
--- Config.h    2001/06/26 01:19:32     1.86
+++ Config.h    2001/07/02 16:04:13
@@ -117 +117 @@
-//#define BB_TR
+#define BB_TR
@@ -156 +156 @@
-//#define BB_FEATURE_BUFFERS_GO_IN_BSS
+#define BB_FEATURE_BUFFERS_GO_IN_BSS
[andersen at sage busybox]$ rm tr.o syslogd.o busybox
[andersen at sage busybox]$ make
gcc -I- -Wall -Wshadow -Os -fomit-frame-pointer -D_GNU_SOURCE  -DBB_VER='"0.52pre"' -DBB_BT='"2001.07.02-16:01+0000"' -DUSE_SYSTEM_PWD_GRP  -I.  -c syslogd.c -o syslogd.o
gcc -I- -Wall -Wshadow -Os -fomit-frame-pointer -D_GNU_SOURCE  -DBB_VER='"0.52pre"' -DBB_BT='"2001.07.02-16:01+0000"' -DUSE_SYSTEM_PWD_GRP  -I.  -c tr.c -o tr.o
gcc -s -Wl,-warn-common -o busybox basename.o cat.o chgrp.o chmod.o chown.o chroot.o chvt.o clear.o cmdedit.o cp.o cut.o date.o dd.o df.o dirname.o dmesg.o du.o echo.o env.o find.o free.o grep.o gunzip.o gzip.o halt.o head.o id.o init.o kill.o klogd.o ln.o logger.o ls.o lsmod.o mkdir.o mknod.o mkswap.o more.o mount.o mv.o poweroff.o ps.o pwd.o reboot.o reset.o rm.o rmdir.o sed.o sh.o sleep.o sort.o swaponoff.o sync.o syslogd.o tail.o tar.o touch.o tr.o true_false.o tty.o umount.o uname.o uniq.o uptime.o wc.o which.o whoami.o xargs.o yes.o  busybox.o usage.o applets.o libbb.a  
strip --remove-section=.note --remove-section=.comment busybox
[andersen at sage busybox]$ gcc --version
2.95.4
[andersen at sage busybox]$ ld --version | head -n1
GNU ld 2.11.90.0.7


 -Erik

--
Erik B. Andersen   email:  andersen at lineo.com
--This message was written using 73% post-consumer electrons--





More information about the busybox mailing list