?
Solved

PPP 2.3.4 compile problems

Posted on 1998-05-12
6
Medium Priority
?
240 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
Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

 
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

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month11 days, 14 hours left to enroll

752 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