• 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: Mike Gargano <email@hidden>
  • Date: Mon, 6 Aug 2007 10:55:18 -0400

you want errors?  you got 'em :) (included below of course)

as I've described on some of the other lists, I was under the impression that the stuff you download from opensource.apple.com was the same code used in the corresponding distribution.  This project, however, still has a pbproj file, so I don't know if it just hasn't been touched in so long that I shouldn't even expect it to compile.

Any help is appreciated.  Thanks in advance.
-Mike

CompileC "build/ppp.build/Deployment/PPTP (Kernel Extension).build/Objects-normal/ppc/pptp_domain.o" /Users/mrg/Documents/ppp/ppp-233.0.6/Drivers/PPTP/PPTP-extension/pptp_domain.c normal ppc c com.apple.compilers.gcc.4_0
    cd /Users/mrg/Documents/ppp/ppp-233.0.6
    /usr/bin/gcc-4.0 -x c -arch ppc -pipe -Wno-trigraphs -fasm-blocks -g -Os -Wno-pointer-sign -fmessage-length=0 -mtune=G4 -mmacosx-version-min=10.4 -I/Users/mrg/Documents/ppp/ppp-233.0.6/build/ppp.build/Deployment/PPTP\ (Kernel\ Extension).build/PPTP.hmap -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/mrg/Documents/ppp/ppp-233.0.6/build/Deployment -I/Users/mrg/Documents/ppp/ppp-233.0.6/build/Deployment/include -I/System/Library/Frameworks/Kernel.framework/PrivateHeaders -I/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Kernel.framework/Headers -I/Users/mrg/Documents/ppp/ppp-233.0.6/build/ppp.build/Deployment/PPTP\ (Kernel\ Extension).build/DerivedSources -fno-common -nostdinc -fno-builtin -finline -fno-keep-inline-functions -force_cpusubtype_ALL -fno-exceptions -msoft-float -static -mlong-branch -DKERNEL -DKERNEL_PRIVATE -DDRIVER_PRIVATE -DAPPLE -DNeXT -isysroot /Developer/SDKs/MacOSX10.4u.sdk -c /Users/mrg/Documents/ppp/ppp-233.0.6/Drivers/PPTP/PPTP-extension/pptp_domain.c -o /Users/mrg/Documents/ppp/ppp-233.0.6/build/ppp.build/Deployment/PPTP\ (Kernel\ Extension).build/Objects-normal/ppc/pptp_domain.o
In file included from /Users/mrg/Documents/ppp/ppp-233.0.6/Drivers/PPTP/PPTP-extension/pptp_domain.c:47:
/Users/mrg/Documents/ppp/ppp-233.0.6/Drivers/PPTP/PPTP-extension/pptp_proto.h:30: warning: 'struct domain' declared inside parameter list
/Users/mrg/Documents/ppp/ppp-233.0.6/Drivers/PPTP/PPTP-extension/pptp_proto.h:30: warning: its scope is only this definition or declaration, which is probably not what you want
/Users/mrg/Documents/ppp/ppp-233.0.6/Drivers/PPTP/PPTP-extension/pptp_proto.h:31: warning: 'struct domain' declared inside parameter list
/Users/mrg/Documents/ppp/ppp-233.0.6/Drivers/PPTP/PPTP-extension/pptp_domain.c: In function 'pptp_domain_init':
/Users/mrg/Documents/ppp/ppp-233.0.6/Drivers/PPTP/PPTP-extension/pptp_domain.c:123: warning: passing argument 1 of 'pptp_add' from incompatible pointer type
/Users/mrg/Documents/ppp/ppp-233.0.6/Drivers/PPTP/PPTP-extension/pptp_domain.c: In function 'pptp_domain_terminate':
/Users/mrg/Documents/ppp/ppp-233.0.6/Drivers/PPTP/PPTP-extension/pptp_domain.c:187: warning: passing argument 1 of 'pptp_remove' from incompatible pointer type

CompileC "build/ppp.build/Deployment/PPTP (Kernel Extension).build/Objects-normal/ppc/pptp_ip.o" /Users/mrg/Documents/ppp/ppp-233.0.6/Drivers/PPTP/PPTP-extension/pptp_ip.c normal ppc c com.apple.compilers.gcc.4_0
    cd /Users/mrg/Documents/ppp/ppp-233.0.6
    /usr/bin/gcc-4.0 -x c -arch ppc -pipe -Wno-trigraphs -fasm-blocks -g -Os -Wno-pointer-sign -fmessage-length=0 -mtune=G4 -mmacosx-version-min=10.4 -I/Users/mrg/Documents/ppp/ppp-233.0.6/build/ppp.build/Deployment/PPTP\ (Kernel\ Extension).build/PPTP.hmap -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/mrg/Documents/ppp/ppp-233.0.6/build/Deployment -I/Users/mrg/Documents/ppp/ppp-233.0.6/build/Deployment/include -I/System/Library/Frameworks/Kernel.framework/PrivateHeaders -I/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Kernel.framework/Headers -I/Users/mrg/Documents/ppp/ppp-233.0.6/build/ppp.build/Deployment/PPTP\ (Kernel\ Extension).build/DerivedSources -fno-common -nostdinc -fno-builtin -finline -fno-keep-inline-functions -force_cpusubtype_ALL -fno-exceptions -msoft-float -static -mlong-branch -DKERNEL -DKERNEL_PRIVATE -DDRIVER_PRIVATE -DAPPLE -DNeXT -isysroot /Developer/SDKs/MacOSX10.4u.sdk -c /Users/mrg/Documents/ppp/ppp-233.0.6/Drivers/PPTP/PPTP-extension/pptp_ip.c -o /Users/mrg/Documents/ppp/ppp-233.0.6/build/ppp.build/Deployment/PPTP\ (Kernel\ Extension).build/Objects-normal/ppc/pptp_ip.o
In file included from /Users/mrg/Documents/ppp/ppp-233.0.6/Drivers/PPTP/PPTP-extension/pptp_ip.c:36:
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Kernel.framework/Headers/netinet/in_var.h:69: error: 'IFNAMSIZ' undeclared here (not in a function)
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Kernel.framework/Headers/netinet/in_var.h:83: error: field 'link_data' has incomplete type
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Kernel.framework/Headers/netinet/in_var.h:94: error: field 'link_data' has incomplete type
In file included from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Kernel.framework/Headers/netinet/in_var.h:117,
                 from /Users/mrg/Documents/ppp/ppp-233.0.6/Drivers/PPTP/PPTP-extension/pptp_ip.c:36:
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Kernel.framework/Headers/netinet6/in6_var.h:330: error: field 'link_data' has incomplete type
/Users/mrg/Documents/ppp/ppp-233.0.6/Drivers/PPTP/PPTP-extension/pptp_ip.c: In function 'pptp_ip_init':
/Users/mrg/Documents/ppp/ppp-233.0.6/Drivers/PPTP/PPTP-extension/pptp_ip.c:72: error: invalid application of 'sizeof' to incomplete type 'struct protosw' 
/Users/mrg/Documents/ppp/ppp-233.0.6/Drivers/PPTP/PPTP-extension/pptp_ip.c:73: error: invalid use of undefined type 'struct protosw'
/Users/mrg/Documents/ppp/ppp-233.0.6/Drivers/PPTP/PPTP-extension/pptp_ip.c:74: error: invalid use of undefined type 'struct protosw'
/Users/mrg/Documents/ppp/ppp-233.0.6/Drivers/PPTP/PPTP-extension/pptp_ip.c:74: error: 'PR_PROTOLOCK' undeclared (first use in this function)
/Users/mrg/Documents/ppp/ppp-233.0.6/Drivers/PPTP/PPTP-extension/pptp_ip.c:74: error: (Each undeclared identifier is reported only once
/Users/mrg/Documents/ppp/ppp-233.0.6/Drivers/PPTP/PPTP-extension/pptp_ip.c:74: error: for each function it appears in.)
/Users/mrg/Documents/ppp/ppp-233.0.6/Drivers/PPTP/PPTP-extension/pptp_ip.c:77: error: 'ip_protox' undeclared (first use in this function)
/Users/mrg/Documents/ppp/ppp-233.0.6/Drivers/PPTP/PPTP-extension/pptp_ip.c: In function 'pptp_ip_dispose':
/Users/mrg/Documents/ppp/ppp-233.0.6/Drivers/PPTP/PPTP-extension/pptp_ip.c:92: error: 'ip_protox' undeclared (first use in this function)
/Users/mrg/Documents/ppp/ppp-233.0.6/Drivers/PPTP/PPTP-extension/pptp_ip.c: In function 'pptp_ip_input':
/Users/mrg/Documents/ppp/ppp-233.0.6/Drivers/PPTP/PPTP-extension/pptp_ip.c:149: error: dereferencing pointer to incomplete type
/Users/mrg/Documents/ppp/ppp-233.0.6/Drivers/PPTP/PPTP-extension/pptp_ip.c:149: error: 'PR_PROTOLOCK' undeclared (first use in this function)
/Users/mrg/Documents/ppp/ppp-233.0.6/Drivers/PPTP/PPTP-extension/pptp_ip.c:151: error: dereferencing pointer to incomplete type
/Users/mrg/Documents/ppp/ppp-233.0.6/Drivers/PPTP/PPTP-extension/pptp_ip.c:154: error: dereferencing pointer to incomplete type
/Users/mrg/Documents/ppp/ppp-233.0.6/Drivers/PPTP/PPTP-extension/pptp_ip.c: In function 'pptp_ip_output':
/Users/mrg/Documents/ppp/ppp-233.0.6/Drivers/PPTP/PPTP-extension/pptp_ip.c:162: error: storage size of 'ro' isn't known
/Users/mrg/Documents/ppp/ppp-233.0.6/Drivers/PPTP/PPTP-extension/pptp_ip.c:190: warning: implicit declaration of function 'ip_output'
/Users/mrg/Documents/ppp/ppp-233.0.6/Drivers/PPTP/PPTP-extension/pptp_ip.c:162: warning: unused variable 'ro'


On Aug 6, 2007, at 10:35 AM, Mustapha Abiola wrote:

It would be wise, to attempt to show the headers that you include, in your search path, along with the compilation errors you may be receiving. With this, I'm certain that someone would assist, without this, however, it would be pretty hard to do so.

On 8/3/07, Mike Gargano <email@hidden> 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?

Thanks.
-Mike


Best regards.
--
Mustapha "Draichis" Abiola
email@hidden

"I know that fewer people are won over by the written word than by the spoken word and that every great movement on this earth owes its growth to great speakers and not to great writers."

 _______________________________________________
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: Terry Lambert <email@hidden>
References: 
 >ppp source (From: Mike Gargano <email@hidden>)
 >Re: ppp source (From: "Mustapha Abiola" <email@hidden>)

  • Prev by Date: Re: ppp source
  • Next by Date: Detecting Client bandwidth
  • Previous by thread: Re: ppp source
  • Next by thread: Re: ppp source
  • Index(es):
    • Date
    • Thread