Nmap Development mailing list archives

Re: no rule to make nse_bit.h


From: Daniel Miller <bonsaiviking () gmail com>
Date: Fri, 10 Mar 2017 13:03:44 -0600

Robin,

Probably not. One of the effects of 'make distclean' is removing the
Makefile itself, so the user would have to re-run ./configure. The INSTALL
directions work for users who download the tarball. Only users who "svn up"
or "git pull" in-place will have this problem.

Dan

On Fri, Mar 10, 2017 at 3:56 AM, Robin Wood <robin@digi.ninja> wrote:

That fixed it. Is it worth adding the make distclean to the start of the
install instructions in INSTALL?

Robin

On Thu, 9 Mar 2017 at 03:05 Daniel Miller <bonsaiviking () gmail com> wrote:

Robin,

nse_bit.h was removed in r35945 back in July as part of the Lua 5.3
upgrade. Lua 5.3 has bitwise operators, so the bit library was unnecessary.
After a change like this, it's necessary to regenerate your makefile.dep,
which you can do by deleting it or by running `make distclean`. This goes
for any time you get a message like "No rule to make target 'example.h',
needed by 'something.o'"

Dan

On Wed, Mar 8, 2017 at 3:45 PM, Robin Wood <robin@digi.ninja> wrote:

Hi
I just pulled the latest source from Github, the configure went OK but
trying to build I got this error:

g++ -c -I./liblinear -I./liblua -I./libdnet-stripped/include  -I./nbase
-I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"
https://nmap.org\"; -DNMAP_PLATFORM=\"x86_64-unknown-linux-gnu\"
-DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -g -O2 -Wall
-fno-strict-aliasing   xml.cc -o xml.o
make: *** No rule to make target 'nse_bit.h', needed by 'nse_main.o'.
Stop.

I'm running on Debian 8 and have just done a full package update before
this build.

Robin

_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/



_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: