• 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: build failures in 10.4
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: build failures in 10.4


  • Subject: Re: build failures in 10.4
  • From: Chris Espinosa <email@hidden>
  • Date: Mon, 2 May 2005 11:53:01 -0700

 May 1, 2005, at 12:24 PM, D. Walsh wrote:

I'm trying to build a project in terminal using the standard "./ configure" and it always fails, I thought it may be the version I'm trying to build so I tried building a version that build properly under 10.3.8 however it refuses to build citing the same failure.

using however, building under 10.3.8 renders no problems with the same source code.

Here's the error messages during build

In file included from /SourceCache/clamav-0.84/libclamav/zziplib/ zzip.h:21,
from zziplib/zzip-dir.c:18:
/SourceCache/clamav-0.84/libclamav/zziplib/zziplib.h:91: error: parse error before "zzip_ssize_t"
/SourceCache/clamav-0.84/libclamav/zziplib/zziplib.h:91: warning: data definition has no type or storage class
/SourceCache/clamav-0.84/libclamav/zziplib/zziplib.h:194: error: parse error before "zzip_file_read"
/SourceCache/clamav-0.84/libclamav/zziplib/zziplib.h:194: warning: data definition has no type or storage class
/SourceCache/clamav-0.84/libclamav/zziplib/zziplib.h:201: error: parse error before "zzip_read"
/SourceCache/clamav-0.84/libclamav/zziplib/zziplib.h:201: warning: data definition has no type or storage class

Remember that the default compiler in Tiger is gcc 4.0. It may be catching problems that gcc3.3. did not catch, or have other subtle behavorial changes. First try


sudo gcc_select 3.3

then try again.

Also remember that Tiger system headers have changed significantly from Panther. If you really want to have the same build behavior on an upgraded machine, you should build against a specific system SDK, rather than building against the headers in the installed operating system.

Chris
_______________________________________________
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


References: 
 >build failures in 10.4 (From: "D. Walsh" <email@hidden>)

  • Prev by Date: Re: XCode 2 availability
  • Next by Date: Re: General advice for compatibility testing
  • Previous by thread: Re: build failures in 10.4
  • Next by thread: Re: XCode 2 availability
  • Index(es):
    • Date
    • Thread