An upgrade from 3.81-r2 causes the following error when trying to compile linux kernel sources: linux-2.6.25.20 # make bzImage Makefile:1523: *** mixed implicit and normal rules. Stop. # The lines in the Makefile around are: 1507 %.s: %.c prepare scripts FORCE 1508 $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@) 1509 %.i: %.c prepare scripts FORCE 1510 $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@) 1511 %.o: %.c prepare scripts FORCE 1512 $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@) 1513 %.lst: %.c prepare scripts FORCE 1514 $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@) 1515 %.s: %.S prepare scripts FORCE 1516 $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@) 1517 %.o: %.S prepare scripts FORCE 1518 $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@) 1519 %.symtypes: %.c prepare scripts FORCE 1520 $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@) 1521 1522 # Modules 1523 / %/: prepare scripts FORCE 1524 $(cmd_crmodverdir) 1525 $(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) \ 1526 $(build)=$(build-dir) 1527 %.ko: prepare scripts FORCE 1528 $(cmd_crmodverdir) 1529 $(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) \ 1530 $(build)=$(build-dir) $(@:.ko=.o) 1531 $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost
That's correct behavior and old Linux sources, like 2.6.25 and 2.6.26 are broken. Not much we can do about that.
Have opened https://bugzilla.kernel.org/show_bug.cgi?id=21642 , let's hope it gets fixed by upstream. Thanks.
(In reply to comment #2) > Have opened https://bugzilla.kernel.org/show_bug.cgi?id=21642 , let's hope it > gets fixed by upstream. Thanks. > well, according to http://www.kernel.org/ the 2.6.27 branch seems to be still maintained, perhaps it works out of box? or is likely to be fixed. I think trying to get 2.6.25 or 2.6.26 fixed is a lost cause
The make issue does not happen for me with 2.6.27.54. :( Unfortunately, I have to go backwards to find out when the serial modem support got broken. With the move from OSS to ALSA support something got screwed in slmodem, and it is not used by many users anymore. It is enough to be restrained by udev on my installation that I have to use kernel above 2.6.25. :((