"multiple target patterns" error while building under cygwin
Bernhard Fischer
rep.dot.nop at gmail.com
Fri Jul 27 18:05:40 UTC 2007
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.
More information about the busybox
mailing list