Solved

Trouble making ip_masq* modules in 2.0.30

Posted on 1997-05-24
2
278 Views
Last Modified: 2010-03-17
Hello all,
      I recently patched my 2.0.27 with .28, .29. and .30 patches.
After that, I am unable to get 'make modules' to succeed.  During the
troubleshooting process, I re-created my source tree and re-applied
the patches.  I've attached the pertinent section of the 'make
modules' output below.  Any suggestions would be appreciated.  Thank
you.

      Michael Graber

-----------------telnet.log-------------------

make[1]: Leaving directory `/usr/src/linux-2.0.27/mm'
make[1]: Entering directory `/usr/src/linux-2.0.27/fs'
rm -f $TOPDIR/modules/FS_MODULES
echo  binfmt_aout.o >> $TOPDIR/modules/FS_MODULES
echo fs/
fs/
cd $TOPDIR/modules; for i in  binfmt_aout.o; do \
    ln -sf ../fs//$i .; done
make[1]: Leaving directory `/usr/src/linux-2.0.27/fs'
make[1]: Entering directory `/usr/src/linux-2.0.27/net'
set -e; for i in ipv4; do make -C $i modules; done
make[2]: Entering directory `/usr/src/linux-2.0.27/net/ipv4'
gcc -D__KERNEL__ -I/usr/src/linux-2.0.27/include -Wall
-Wstrict-prototypes -O2 -
fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486
-DMODULE -DMODVER
SIONS -include /usr/src/linux-2.0.27/include/linux/modversions.h  -c
-o ip_masq_
quake.o ip_masq_quake.c
ip_masq_quake.c:51: parse error before `/'
ip_masq_quake.c:51: warning: no semicolon at end of struct or union
ip_masq_quake.c:54: warning: data definition has no type or storage
class
ip_masq_quake.c: In function `masq_quake_in':
ip_masq_quake.c:92: `qh' undeclared (first use this function)
ip_masq_quake.c:92: (Each undeclared identifier is reported only once
ip_masq_quake.c:92: for each function it appears in.)
ip_masq_quake.c:92: warning: statement with no effect
ip_masq_quake.c:93: parse error before `udp_port'
ip_masq_quake.c:98: `priv' undeclared (first use this function)
ip_masq_quake.c:111: parse error before `)'
ip_masq_quake.c:117: `code' undeclared (first use this function)
ip_masq_quake.c:134: `data' undeclared (first use this function)
ip_masq_quake.c:157: `udp_port' undeclared (first use this function)
ip_masq_quake.c: In function `masq_quake_out':
ip_masq_quake.c:178: `qh' undeclared (first use this function)
ip_masq_quake.c:178: warning: statement with no effect
ip_masq_quake.c:179: parse error before `udp_port'
ip_masq_quake.c:185: `priv' undeclared (first use this function)
ip_masq_quake.c:198: parse error before `)'
ip_masq_quake.c:207: `code' undeclared (first use this function)
ip_masq_quake.c:224: `data' undeclared (first use this function)
ip_masq_quake.c:251: `udp_port' undeclared (first use this function)
ip_masq_quake.c:253: `n_ms' undeclared (first use this function)
make[2]: *** [ip_masq_quake.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.0.27/net/ipv4'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.0.27/net'
make: *** [modules] Error 2
mglinux:/usr/src/linux# exit
logout
0
Comment
Question by:mpgraber
2 Comments
 
LVL 2

Accepted Solution

by:
df020797 earned 70 total points
ID: 1584737
Upgrade your modules module. Its should be a module 2.X.X that shopudl work for you. It can be found for an exampel at ftp://sunsite.unc.edu
0
 
LVL 1

Author Comment

by:mpgraber
ID: 1584738
I am using modules 2.x.x.  These are the only modules that do not compile.  ppp.o, bsd_comp.o, and slhc.o do just fine.
0

Featured Post

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question