Solved

Trouble making ip_masq* modules in 2.0.30

Posted on 1997-05-24
2
282 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

Are You Using the Best Web Development Editor?

The worlds of web hosting and web development are constantly evolving. Every year we see design trends change, coding standards adapt and new frameworks/CMS created. With such a quick pace of change it’s easy to get lost trying to keep up.

See if your editor made the list.

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

630 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