Solved

Kernel won't compile RedHat 5.1 & pppd 2.3.4

Posted on 1998-11-01
3
261 Views
Last Modified: 2010-03-18
I have a runing Redhat 5.1 I need some of the features
               of pppd 2.3.4 (connect to NT server). I cannot get the
               kernel to compile. I get the following errors. I've seen this
               on the web but cannot find answer
               make[3]: Entering directory
               `/usr/src/linux-2.0.34/drivers/net'
               gcc -D__KERNEL__ -I/usr/src/linux-2.0.34/include -Wall
               -Wstrict-prototypes -O2 -fomit-frame-pointer
               -fno-strength-reduce -pipe -m486 -malign-loops=2
               -malign-jumps=2 -malign-functions=2 -DCPU=586
               -DMODVERSIONS -DEXPORT_SYMTAB -c ppp.cppp.c:
               In function `ppp_dev_xmit':ppp.c:3104: too few
               arguments to function `dev_kfree_skb'
               ppp.c:3115: too few arguments to function
               `dev_kfree_skb'
               ppp.c:3128: too few arguments to function
               `dev_kfree_skb'
               ppp.c:3169: too few arguments to function
               `dev_kfree_skb'ppp.c:3177: too few arguments to
               function `dev_kfree_skb'
               ppp.c:3182: too few arguments to function
               `dev_kfree_skb'
               make[3]: *** [ppp.o] Error 1make[3]: Leaving directory
               `/usr/src/linux-2.0.34/drivers/net'make[2]: *** [first_rule]
               Error 2make[2]: Leaving directory
               `/usr/src/linux-2.0.34/drivers/net'
               make[1]: *** [sub_dirs] Error 2
               make[1]: Leaving directory
               `/usr/src/linux-2.0.34/drivers'make: *** [linuxsubdirs] Error
               2
0
Comment
Question by:dpdr
[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
3 Comments
 
LVL 19

Expert Comment

by:xterm
ID: 1587610
Why are you doing this?  The default kernel that comes with
5.1 already has modular ppp support.

If you do feel you need to recompile (for whatever reason) at
least go get the latest kernel source from ftp.kernel.org
(although it'd probably be kind of a pain in the butt to split
that 7mb file into a bunch of floppies since you have no net
support....)
0
 
LVL 7

Accepted Solution

by:
HalldorG earned 200 total points
ID: 1587611
Check the ppp.c code
it sayes

#if LINUX_VERSION_CODE < VERSION(2,1,86)
#define FREE_SKB(skb)   dev_kfree_skb(skb)
#else
#define FREE_SKB(skb)   dev_kfree_skb(skb, FREE_WRITE)
#endif            

Change the line LINUX_VERSION_CODE < VERSION(2,1,86)

to LINUX_VERSION_CODE < VERSION(2.0.30)


and you should be in business

the ppp.c is located in

/usr/src/linux-2.0.34/drivers/net

on your computer


                     
0
 

Author Comment

by:dpdr
ID: 1587612
that is what I was looking for
Thanks
0

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Only Allow Access to an HTTPS webpage via Squid Proxy 7 364
linux  centos   virtualization network quetion 6 83
Linux SSH Error 9 158
Issue to mail 11 110
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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

740 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