Solved

Trouble making ip_masq* modules in 2.0.30

Posted on 1997-05-24
2
281 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

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

Suggested Solutions

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…
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…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…
Suggested Courses

751 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