Solved

Trouble making ip_masq* modules in 2.0.30

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

New My Cloud Pro Series - organize everything!

With space to keep virtually everything, the My Cloud Pro Series offers your team the network storage to edit, save and share production files from anywhere with an internet connection. Compatible with both Mac and PC, you're able to protect your content regardless of OS.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Linux DNS problems 23 353
LDAP setup? 9 83
Linux alternative boot CD? 28 102
client doesn't know where IPA server is... I guess some special DNS record needed? 2 88
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…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

896 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now