diff options
author | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-03-03 14:19:15 +0000 |
---|---|---|
committer | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-03-03 14:19:15 +0000 |
commit | be3741206fe09ff9fe0e192bbdbe77f7aafd9fa6 (patch) | |
tree | a394ea9c1e7f9c270fd2272019c950fe6a476a25 | |
parent | dd9ecd0113ec1240c7f3755bdaa73a5f8e463967 (diff) | |
download | busybox-w32-be3741206fe09ff9fe0e192bbdbe77f7aafd9fa6.tar.gz busybox-w32-be3741206fe09ff9fe0e192bbdbe77f7aafd9fa6.tar.bz2 busybox-w32-be3741206fe09ff9fe0e192bbdbe77f7aafd9fa6.zip |
- 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,
git-svn-id: svn://busybox.net/trunk/busybox@14435 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -317,7 +317,9 @@ ifneq ($(bin-obj-y)$(bin-mobj-y),) | |||
317 | endif | 317 | endif |
318 | ifdef applets.a | 318 | ifdef applets.a |
319 | applets.a: $(applets.a) | 319 | applets.a: $(applets.a) |
320 | $(Q)-rm -f $(@) | ||
320 | $(do_ar) | 321 | $(do_ar) |
322 | |||
321 | bin-obj.a=applets.a | 323 | bin-obj.a=applets.a |
322 | endif | 324 | endif |
323 | 325 | ||