• 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: Carbon app converting from Xcode 1.5 to Xcode 2.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Carbon app converting from Xcode 1.5 to Xcode 2.1


  • Subject: RE: Carbon app converting from Xcode 1.5 to Xcode 2.1
  • From: "Carl Smith" <email@hidden>
  • Date: Thu, 6 Oct 2005 18:21:06 -0400
  • Thread-topic: RE: Carbon app converting from Xcode 1.5 to Xcode 2.1

Justin-

 

You hit the nail on the head.

 

I was not including <sys/socket.h> implicitly. I guess somehow in Xcode 1.5 I was getting included free. So adding the #include <sys/socket.h> fixed my problem on my NKE.

 

Also my last email might have been a little confusing. Too much coding and too many long hours on my part. But actually I am working with two parts here. The NKE and the User app.

 

I got the NKE to compile but I am still having troubles with my user app.

 

As stated in my first message, I just straight copied the project over from my 10.3 machine to my 10.4 machine. Loaded the project in Xcode, and tried to compile. That is where I keep getting errors such as an example, the first error comes from types.h file with an error “error: ‘__darwin_intptr_t’ does not name a type”, from within my .pch file. The only line in my .pch file is “#include <Carbon/Carbon.h>”.

 

Again am I missing something basic here? Is there some documentation that relates taking applications developed in Xcode 1.5 and compiling them in Xcode 2.1? I thought seeing as how this was a user type application that there should be no problems with the cross over.

 

Thanks for everyone's help

Carl

 

-----Original Message-----
 Behalf Of Justin C. Walker
Sent:
Tuesday, October 04, 2005 9:43 PM
To: xcode-users List
Subject: Re: Carbon app converting from Xcode 1.5 to Xcode 2.1

 

I don't know that this will help, but a comment and a simple question:

 

On Oct 4, 2005, at 16:24 , Carl Smith wrote:

> Also I set my gcc to 3.3. I still need to develop my NKE for 10.4 

> but first I thought I would get it to compile on Xcode 2.1 for 

> backwards compatibility with my 10.3 needs.

 

I'm not sure you can do that (make it backwards compatible) without 

specifying the "deployment target"; in addition, you do need to worry 

about the KPI changes if you run on 10.4.

> Now I have only 8 errors. These errors are relating to the struct 

> sockaddr. Basically all the errors are “… field ‘ifru_addr’ has 

> incomplete type”, relating to anything defined as a struct sockaddr 

> in the if.h file. The if.h file is called from the dlil.h file from 

> the MacOSX10.3.9.sdk folder.

The simple question is: do you include <sys/socket.h>?  (I have to 

ask :-} That's where struct sockaddr is defined).  You probably have 

to worry a bit about what sequence of #defines is required (I have 

not mucked much with this since the advent of 10.4).

 

Regards,

 

Justin

 

--

Justin C. Walker, Curmudgeon-At-Large

Institute for General Semantics

--------

"Weaseling out of things is what separates us from the animals.

  Well, except the weasel."

       - Homer J Simpson

--------

 

 

 

 

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

This email sent to email@hidden

  • Prev by Date: Can Xcode save backup copies of files?
  • Next by Date: Re: How to disable 'warning: converting to 'int' from 'float'' warning?
  • Previous by thread: Re: Carbon app converting from Xcode 1.5 to Xcode 2.1
  • Next by thread: Elementary Question -- CORRECTED ANSWER
  • Index(es):
    • Date
    • Thread