Solved

PPP 2.3.4 compile problems

Posted on 1998-05-12
6
231 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
  • 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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
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

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

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

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

11 Experts available now in Live!

Get 1:1 Help Now