[ovs-dev] Bug#659685: Bug#659685: Bug#659685: fails to build the kernel module
blp at nicira.com
Mon Feb 13 17:35:15 PST 2012
On Tue, Feb 14, 2012 at 09:31:18AM +0900, Simon Horman wrote:
> On Mon, Feb 13, 2012 at 10:10:18AM -0800, Ben Pfaff wrote:
> > On Tue, Feb 14, 2012 at 01:54:28AM +0800, Thomas Goirand wrote:
> > > On 02/14/2012 01:22 AM, Ben Pfaff wrote:
> > > > Would it be possible for you to provide your make.log?
> > >
> > > I've attached it to this mail.
> > Here's the root of the problem:
> > checking for Linux build directory... /usr/src/linux-headers-3.1.0-1-686-pae
> > checking for Linux source directory... configure: error: cannot find source directory (please use --with-linux-source)
> > I see that this was already fixed on master with the following commit:
> > Subject: [PATCH] debian: Look in /lib/modules instead of /usr/src for DKMS kernel sources.
> > DKMS packages usually look in /lib/modules for kernel sources, since that
> > is the "standard" location, but our packages was looking directly in
> > /usr/src. This fixes the problem.
> > Reported-by: Alban Browaeys <prahal at yahoo.com>
> > Tested-by: Alban Browaeys <prahal at yahoo.com>
> > Signed-off-by: Ben Pfaff <blp at nicira.com>
> > ---
> > Somehow this bug fix did not make it to branches for 1.3 or 1.4. I've
> > now cherry-picked it to both branches, so the next Debian upload
> > should incorporate the fix.
> > I see that we should really be using "&&' instead of ";" in the make
> > rule. I sent out a patch.
> Thanks Ben, I plan to make make a fresh upload for this.
It might be wise to hold off for:
or to plan to make another new upload after it hits.
More information about the dev