1991kv / netmap-ipfw

Automatically exported from code.google.com/p/netmap-ipfw
0 stars 0 forks source link

Compile error in Linux #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. git clone https://code.google.com/p/netmap-ipfw/  
2. make NETMAP_INC=/home/user/netmap-ipfw/sys/
3.

What is the expected output? What do you see instead?
Successful compile.  Instead error:
*make: *** No rule to make target `pkt-gen.o', needed by `pkt-gen'.  Stop.*

What version of the product are you using? On what operating system?

o netmap-ipfw (14 Feb 2014); 

o Linux networklat 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 
2014 x86_64 x86_64 x86_64 GNU/Linux

Please provide any additional information below.

Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-32-generic x86_64)

user@networklat:~/netmap-ipfw$ ll
total 60
drwxrwxr-x  7 user user 4096 Mar 25 13:53 ./
drwxr-xr-x 22 user user 4096 Mar 26 09:49 ../
-rw-rw-r--  1 user user  100 Feb 19 14:23 BSDmakefile
drwxrwxr-x  3 user user 4096 Feb 19 14:23 extra/
drwxrwxr-x  8 user user 4096 Mar 18 09:28 .git/
-rw-r--r--  1 root root 1123 Mar 18 12:18 GNUmakefile
-rw-------  1 root root 1193 Mar 18 12:52 GNUmakefile.save
drwxrwxr-x  2 user user 4096 Mar 25 13:39 ipfw/
-rw-rw-r--  1 user user  804 Feb 19 14:23 Makefile
-rw-rw-r--  1 user user  592 Feb 19 14:23 Makefile.inc
-rw-rw-r--  1 user user 5378 Feb 19 14:23 Makefile.kipfw
drwxrwxr-x  3 user user 4096 Mar 18 09:55 objs/
-rw-rw-r--  1 user user 2392 Feb 19 14:23 README
drwxrwxr-x  6 user user 4096 Feb 19 14:23 sys/
user@networklat:~/netmap-ipfw$ ll ipfw
total 544
drwxrwxr-x 2 user user   4096 Mar 25 13:39 ./
drwxrwxr-x 7 user user   4096 Mar 25 13:53 ../
-rw-rw-r-- 1 user user   3325 Feb 19 14:23 altq.c
-rw-rw-r-- 1 user user   4304 Mar 18 09:55 altq.o
-rw-rw-r-- 1 user user  35542 Feb 19 14:23 dummynet.c
-rw-rw-r-- 1 user user  30472 Mar 18 09:55 dummynet.o
-rw-rw-r-- 1 user user   1904 Mar 18 09:55 expand_number.o
-rw-rw-r-- 1 user user   8808 Mar 18 09:55 glue.o
-rw-rw-r-- 1 user user   3992 Mar 18 09:55 humanize_number.o
-rwxrwxr-x 1 user user 113133 Mar 18 09:55 ipfw*
-rw-rw-r-- 1 user user 105330 Feb 19 14:23 ipfw2.c
-rw-rw-r-- 1 user user   7101 Feb 19 14:23 ipfw2.h
-rw-rw-r-- 1 user user 108144 Mar 18 09:55 ipfw2.o
-rw-rw-r-- 1 user user  13285 Feb 19 14:23 ipv6.c
-rw-rw-r-- 1 user user  10600 Mar 18 09:55 ipv6.o
-rw-rw-r-- 1 user user  15902 Feb 19 14:23 main.c
-rw-rw-r-- 1 user user  18120 Mar 18 09:55 main.o
-rw-rw-r-- 1 user user   1319 Feb 19 14:23 Makefile
-rw-rw-r-- 1 user user  23721 Feb 19 14:23 nat.c
-rw-rw-r-- 1 user user    534 Mar 19 13:58 net-config.sh
-rw-rw-r-- 1 user user   1244 Mar 18 18:59 netmap_conf.c
-rw-rw-r-- 1 user user   1293 Mar 18 15:00 netmap_test.sh
user@networklat:~/netmap-ipfw$
user@networklat:~/netmap-ipfw$
user@networklat:~/netmap-ipfw$
user@networklat:~/netmap-ipfw$ make NETMAP_INC=/home/user/netmap-ipfw/sys/
make: *** No rule to make target `pkt-gen.o', needed by `pkt-gen'.  Stop.
user@networklat:~/netmap-ipfw$
user@networklat:~/netmap-ipfw$
user@networklat:~/netmap-ipfw$
user@networklat:~/netmap-ipfw$ sudo find . -type f -exec grep -li "pkt-gen.o" 
{} \;
[sudo] password for user:
./GNUmakefile.save
./GNUmakefile
user@networklat:~/netmap-ipfw$

Original issue reported on code.google.com by avit...@gmail.com on 26 Mar 2015 at 5:56