[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

PPP 2.3.4 compile problems

Posted on 1998-05-12
6
Medium Priority
?
241 Views
Last Modified: 2010-04-22
Heya all..

after make kernel for pppd
i try to remake my 2.0.33 kernel.. and here's the error I get...

ppp.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 1
make[3]: Leaving directory `/usr/src/linux-2.0.33/drivers/net'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.0.33/drivers/net'
make[1]: *** [sub_dirs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.0.33/drivers'
make: *** [linuxsubdirs] Error 2

Need this fixed.. but how?

Thanks
Andrew
q@qonline.com.au
0
Comment
Question by:Q010797
[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
  • 3
6 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1636339
Could you please post:

 grep -C dev_kfree_skb /usr/src/linux/{driver/net/ppp.c,include/linux/skbuff.h}
0
 
LVL 1

Author Comment

by:Q010797
ID: 1636340
entering:
grep -C dev_kfree_skb /usr/src/linux/{drivers/net/ppp.c,include/linux/skbuff.h}

gave me:
/usr/src/linux/drivers/net/ppp.c- */
/usr/src/linux/drivers/net/ppp.c-#if LINUX_VERSION_CODE < VERSION(2,1,86)
/usr/src/linux/drivers/net/ppp.c:#define FREE_SKB(skb)  dev_kfree_skb(skb)
/usr/src/linux/drivers/net/ppp.c-#else
/usr/src/linux/drivers/net/ppp.c:#define FREE_SKB(skb)  dev_kfree_skb(skb, FREE_
WRITE)
/usr/src/linux/drivers/net/ppp.c-#endif
/usr/src/linux/drivers/net/ppp.c-
--
/usr/src/linux/include/linux/skbuff.h-extern void                       skb_devi
ce_lock(struct sk_buff *skb);
/usr/src/linux/include/linux/skbuff.h-extern void                       skb_devi
ce_unlock(struct sk_buff *skb);
/usr/src/linux/include/linux/skbuff.h:extern void                       dev_kfre
e_skb(struct sk_buff *skb, int mode);
/usr/src/linux/include/linux/skbuff.h-extern int                        skb_devi
ce_locked(struct sk_buff *skb);
/usr/src/linux/include/linux/skbuff.h-extern unsigned char *            skb_put(
struct sk_buff *skb, int len);
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1636341
Hm, you have a strange  ppp.c

Please comment out the ifdefs about  FREE_SKB, use
  #define FREE_SKB(skb)  dev_kfree_skb(skb, FREE_WRITE)
instead.
Tell me what happens.
0
Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

 
LVL 1

Author Comment

by:Q010797
ID: 1636342
I assume it's fixed... when I type make zlilo now there are no errors...

offer same comment as answer and you can have the points
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 400 total points
ID: 1636343
not so bad ;-))
0
 
LVL 1

Author Comment

by:Q010797
ID: 1636344
working lovely :)
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Suggested Courses

650 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