Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180204130955.GA16837@openwall.com>
Date: Sun, 4 Feb 2018 14:09:55 +0100
From: Solar Designer <solar@...nwall.com>
To: lkrg-users@...ts.openwall.com
Subject: Re: How to compile?

On Sun, Feb 04, 2018 at 02:01:10PM +0100, Solar Designer wrote:
> On Sat, Feb 03, 2018 at 08:39:08PM +0000, Kamil Kapturkiewicz wrote:
> > mkdir -p "output"
> > mv /p_lkrg.ko "output"
> 
> Makefile uses $(PWD), and the above suggests that it's not defined.
> 
> Try:
> 
> make PWD=.

This fails because $(PWD) is then passed into sub-makes, which may
change the current directory.

> or:
> 
> make PWD=`pwd`

This works for me, tested with:

unset PWD # to invoke the problem reported by Kamil
make clean PWD=`pwd` && make -j8 PWD=`pwd`

> Adam will probably want to fix the Makefile to remove the dependency on
> PWD being previously defined.

Alexander

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.