bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #33034] "Makefile:23: *** mixed implicit and normal rules. Stop." f


From: anonymous
Subject: [bug #33034] "Makefile:23: *** mixed implicit and normal rules. Stop." for Linux kernel out of source builds
Date: Sat, 09 Apr 2011 10:42:25 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.16) Gecko/20110319 SUSE/3.6.16-0.2.1 Firefox/3.6.16

URL:
  <http://savannah.gnu.org/bugs/?33034>

                 Summary: "Makefile:23: *** mixed implicit and normal rules.
Stop." for Linux kernel out of source builds
                 Project: make
            Submitted by: None
            Submitted on: Sa 09 Apr 2011 10:42:24 UTC
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 3.82
        Operating System: POSIX-Based
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

A build of Linux kernel out of source got this error, if target name was give
on command line. It gots this error:

Makefile:23: *** mixed implicit and normal rules.  Stop.

The relevant lines in Makefile:
16: all := $(filter-out all Makefile,$(MAKECMDGOALS))
23: $(all) %/: all

Full example:
cd /tmp
wget
http://www.kernel.org/pub/linux/kernel/v2.6/longterm/v2.6.33/linux-2.6.33.9.tar.bz2
tar xjf linux-2.6.33.9.tar.bz2
mkdir linux-2.6.33.9-build
cd linux-2.6.33.9
make O=../linux-2.6.33.9-build defconfig
cd ../linux-2.6.33.9-build
make vmlinux

If replacing the command "make vmlinux" with "make", then it works. But it is
no workaround, because I need to call "make modules_install" later.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sa 09 Apr 2011 10:42:25 UTC  Name: Makefile  Size: 523B   By: None
Linux kernel Makefile from make defconfig in build directory
<http://savannah.gnu.org/bugs/download.php?file_id=23155>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?33034>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]