Skip to contentSkip to conversation

make pktgen depends on procfs [2.6.0-test3]

PATCH New Daniele Bellucci 3 participants 4 messages Aug 18, 2003 – Aug 20, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make pktgen depends on procfs [2.6.0-test3]

IMHO pktgen should depends on proc fs to avoid the following compilation error:

net/core/pktgen.c: In function `create_proc_dir':
net/core/pktgen.c:1296: `proc_net' undeclared (first use in this function) net/core/pktgen.c:1296: (Each undeclared identifier is reported only once net/core/pktgen.c:1296: for each function it appears in.) make[2]: *** [net/core/pktgen.o] Error 1
make[1]: *** [net/core] Error 2
make: *** [net] Error 2

net/Kconfig +1 -0
diff -urN 1.0/net/Kconfig 1.1/net/Kconfig
@@ -661,6 +661,7 @@
 
 config NET_PKTGEN
 	tristate "Packet Generator (USE WITH CAUTION)"
+	depends on CONFIG_PROC_FS
 	---help---
 	  This module will inject preconfigured packets, at a configurable
 	  rate, out of a given interface.  It is used for network interface
Signature · 1 line
Daniele.
#1 lore raw

PATCH 1/1 make pktgen depends on procfs [2.6.0-test3]

Quoted 2 lines · Daniele Bellucci

IMHO pktgen should depends on proc fs to avoid the following compilation error:

Hello!
It should be changed to:

net/Kconfig +1 -0
diff -urN 1.0/net/Kconfig 1.1/net/Kconfig
@@ -661,6 +661,7 @@
 
 config NET_PKTGEN
 	tristate "Packet Generator (USE WITH CAUTION)"
+	depends on PROC_FS
 	---help---
 	  This module will inject preconfigured packets, at a configurable
 	  rate, out of a given interface.  It is used for network interface

Review

Quoted 1 line
(quoted diff) +1 -0
+	depends on CONFIG_PROC_FS

Cheers.

						--ro
#2 lore raw
Quoted 15 lines

Hello!
It should be changed to:

diff -urN 1.0/net/Kconfig 1.1/net/Kconfig

net/Kconfig +1 -0
@@ -661,6 +661,7 @@
 
 config NET_PKTGEN
 	tristate "Packet Generator (USE WITH CAUTION)"
+	depends on PROC_FS
 	---help---
 	  This module will inject preconfigured packets, at a configurable
 	  rate, out of a given interface.  It is used for network interface
Quoted 4 lines

Review

Quoted 1 line
(quoted diff) +1 -0
+	depends on CONFIG_PROC_FS

Cheers.

						--ro

Argh !%$@#! i've post the wrong version ;(

Signature · 1 line
Daniele.
#3 lore raw
In reply to Robert Olsson

net/Kconfig line 664

Quoted 8 lines · On Tue, 19 Aug 2003 15:54:33 +0200 Robert Olsson <[email protected]>…

diff -urN 1.0/net/Kconfig 1.1/net/Kconfig

net/Kconfig +1 -0
@@ -661,6 +661,7 @@
 
 config NET_PKTGEN
 	tristate "Packet Generator (USE WITH CAUTION)"
+	depends on PROC_FS

Applied, thanks.