• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ppp source
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ppp source


  • Subject: Re: ppp source
  • From: Mo McRoberts <email@hidden>
  • Date: Mon, 6 Aug 2007 22:51:20 +0100


On 3-Aug-2007, at 21:24, Mike Gargano wrote:

Hi all,

I think I found a bug in the pptp kernel extension. I downloaded the source for the ppp package from opensource.apple.com for 10.4.9, but I'm having a hard time compiling a new PPTP NKE. I've never built any of these packages from scratch and could use some help. I tried building the PPTP NKE target and got a slew of errors regarding missing headers. Someone from another list told me that the missing header are private and that I need to get them from the XNU kernel project. I've got that now, but when I include those headers in my search path I still have problems with missing #defs and such. Any pointers or suggestions?


It's not at all obvious since the demise of OpenDarwin and the reshuffling that's followed (not least because macosforge.org hasn't been visibly updated since 2006), but you really want to be building Darwin components with darwinbuild. I don't know if it's still the case (I'm assuming it is), but darwinbuild certainly used to be the tool used by Apple themselves to build Mac OS X/Darwin components.

Either grab the current darwinbuild from:

http://trac.macosforge.org/projects/darwinbuild

Get it via Subversion (DON'T download the 0.7.2 release), or (if you're adverse to svn) you can get a snapshot of it from:

http://sourceforge.net/project/showfiles.php? group_id=192771&package_id=240714

Once you've downloaded and extracted it, instructions are in darwinbuild/www/index.html (ignore the old opendarwin.org URLs it mentions, the current snapshot from SVN has been updated to use macosforge.org)

*That said*, having just attempted to build ppp with darwinbuild whilst writing this e-mail, it failed miserably (xcodebuild bailed), but it did create a handy BuildRoot tree containing everything that ppp depends on (including the private headers that you need).

Hopefully that will help you some.

All the best,

Mo.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: ppp source
      • From: Mike Gargano <email@hidden>
References: 
 >ppp source (From: Mike Gargano <email@hidden>)

  • Prev by Date: Re: Detecting Client bandwidth
  • Next by Date: Re: Integrating an external UPS system?
  • Previous by thread: Re: ppp source
  • Next by thread: Re: ppp source
  • Index(es):
    • Date
    • Thread