Solved

Trouble making ip_masq* modules in 2.0.30

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

746 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