Bugzilla will be upgraded to version 5.0 on December 2, 2018. The outage period for the upgrade will start at 0:00 UTC and have a duration of 12 hours
Bug 29384 - ip_masq compile fails for 2.2.17-14 with custom config
ip_masq compile fails for 2.2.17-14 with custom config
Status: CLOSED DUPLICATE of bug 21604
Product: Red Hat Linux
Classification: Retired
Component: kernel (Show other bugs)
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Michael K. Johnson
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2001-02-25 09:01 EST by Ned Ulbricht
Modified: 2007-04-18 12:31 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-02-25 09:01:14 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ned Ulbricht 2001-02-25 09:01:11 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.2.17-14 i486)

Using kernel-sources-2.2.17-14.i386.rpm, compile fails in ip_masq.c ->
in .config.

Reproducible: Didn't try
Steps to Reproduce:
1. make mrproper
2. make menuconfig
2a. Networking options  ---> 
2b. [*] IP: masquerading
2c. [ ] IP: masquerading special modules support (NEW) 
3. make dep
4. make bzImage

Actual Results:  ... lots of output ...
make[3]: Entering directory `/usr/src/linux-2.2.17/net/ipv4'
gcc -D__KERNEL__ -I/usr/src/linux-2.2.17/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce
-m486 -DCPU=486   -DEXPORT_SYMTAB -c ip_masq.c
ip_masq.c:578: `ip_masq_hash' undeclared here (not in a function)
ip_masq.c:578: initializer element for `__ksymtab_ip_masq_hash.value' is
not constant
ip_masq.c:579: `ip_masq_unhash' undeclared here (not in a function)
ip_masq.c:579: initializer element for `__ksymtab_ip_masq_unhash.value' is
not constant
ip_masq.c:518: warning: `masq_port_lock' defined but not used
make[3]: *** [ip_masq.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.2.17/net/ipv4'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.2.17/net/ipv4'
make[1]: *** [_subdir_ipv4] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.17/net'
make: *** [_dir_net] Error 2

Expected Results:  Successful compile

This configuration did not have a problem using

In 2.2.17-14, the following declarations are now in
extern int ip_masq_hash(struct ip_masq *);
extern int ip_masq_unhash(struct ip_masq *);

In both 2.2.17-14 and 2.2.16-3, "linux/net/ipv4/ip_masq.c" contains:
#include <net/ip_masq_mod.h>

But in 2.2.16-3,  "ip_masq.c" contains definitions:
static int ip_masq_hash(struct ip_masq *ms)
static int ip_masq_unhash(struct ip_masq *ms)
(not sure if prototypes were declared in some .h).
Comment 1 Ned Ulbricht 2001-02-26 04:56:51 EST

*** This bug has been marked as a duplicate of 21604 ***

Note You need to log in before you can comment on or make changes to this bug.