Solved

PPP 2.3.4 compile problems

Posted on 1998-05-12
6
237 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
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
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 100 total points
ID: 1636343
not so bad ;-))
0
 
LVL 1

Author Comment

by:Q010797
ID: 1636344
working lovely :)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

689 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