"multiple target patterns" error while building under cygwin
Mike Frysinger
vapier at gentoo.org
Sat Jul 28 05:12:55 UTC 2007
On Friday 27 July 2007, Bernhard Fischer wrote:
> On Fri, Jul 27, 2007 at 01:04:00PM -0400, Crane, Matthew wrote:
> >Hi,
> >
> >Thanks for your response. I think my build error is the result of the
> >dos2unix + unix2dos patch. My cygwin system was installed with Unix
> >text mode, and I've tried to explicitly set the locale, but fixdep
> >always seems to output the Dos text.
> >
> >I instead used the dos2unix/unix2dos patch to fix the fixdep output,
> >which I think ending up causing the error below. Not sure how though,
> >or how to fix it. Thanks,
> >
> >Matt
> >
> >
> >.applets.o.cmd looks like this:
> >
> >cmd_applets/applets.o := <snip>
> >
> >deps_applets/applets.o := \
> > applets/applets.c \
> > $(wildcard include/config/static.h) \
> > $(wildcard include/config/show/usage.h) \
> ><snip>
> >
> >line 410: applets/applets.o: $(deps_applets/applets.o)
> >
> >$(deps_applets/applets.o):
> ><eof>
> >
> >I had already patched the make process so that it runs fixdep through
> >unix2dos, dos2unix similar to this patch I found online:
> >
> >define rule_cc_o_c
> > $(call echo-cmd,checksrc) $(cmd_checksrc) \
> > $(call echo-cmd,cc_o_c) $(cmd_cc_o_c); \
> >+ dos2unix $(depfile); \
> > $(cmd_modversions) \
> >- scripts/basic/fixdep $(depfile) $@ '$(call make-cmd,cc_o_c)' > \
> >
> >+ scripts/basic/fixdep $(depfile) $@ '$(call make-cmd,cc_o_c)' |
> >unix2dos > \
> > $(dot-target).tmp; \
> > rm -f $(depfile); \
> > mv -f $(dot-target).tmp $(dot-target).cmd
> >
> >It proceeded to build, but failed with the above error. Maybe related,
> >not sure. I'm looking forward to the day when cygwin support is
> >completely transparent in buildroot, soon I'm sure.
>
> This doesn't really sounds like a buildroot issue to me but rather a
> busybox issue, fwiw.
>
> Perhaps somebody else is aware of what's going on with busybox on
> cygwin.
my guess is their make is too old to support | properly, we've hit this many
times before
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://lists.busybox.net/pipermail/busybox/attachments/20070728/9d18421d/attachment-0002.pgp
More information about the busybox
mailing list