svn commit: trunk/busybox

aldot at busybox.net aldot at busybox.net
Fri Mar 3 14:19:17 UTC 2006


Author: aldot
Date: 2006-03-03 06:19:15 -0800 (Fri, 03 Mar 2006)
New Revision: 14435

Log:
- ar cruP doesn't replace ('r') but unconditionally _adds_ all objects.
landley, that one broke your tar-testing (see below).

To see the issue i was talking about in the comment to rev. 14431, remove the
'P' from ARFLAGS in Rules.mak, then recompile.

You will see undefined references to these symbols:
iplink_main
iproute_main
iptunnel_main
login_main
run_parts_main


These are due to the fact that these applets (named e.g. login.o) clash with
libbb/login.o, for example. So ar sees that we're going to add login.o
(the applet!) and does so. Later on, we add libbb/login.o (just the basename
is used, so login.o). and this libbb/login.o *replaces* the login.o (the
applet!).

I therefor want (you) to rename abovementioned files from libbb to have
a prefix bb_ (e.g. svn mv libbb/login.c libbb/bb_login.c) to avoid these
clashed.

ok?
TIA,


Modified:
   trunk/busybox/Makefile


Changeset:
Modified: trunk/busybox/Makefile
===================================================================
--- trunk/busybox/Makefile	2006-03-03 12:58:44 UTC (rev 14434)
+++ trunk/busybox/Makefile	2006-03-03 14:19:15 UTC (rev 14435)
@@ -317,7 +317,9 @@
 endif
 ifdef applets.a
 applets.a: $(applets.a)
+	$(Q)-rm -f $(@)
 	$(do_ar)
+
 bin-obj.a=applets.a
 endif
 




More information about the busybox-cvs mailing list