[quake3-commits] r1243 - trunk

Adam Mercer ramercer at gmail.com
Mon Dec 31 07:35:08 EST 2007


On 30 Dec 2007 22:47:36 -0500,  <DONOTREPLY at icculus.org> wrote:
> Author: tjw
> Date: 2007-12-30 22:47:36 -0500 (Sun, 30 Dec 2007)
> New Revision: 1243
>
> Modified:
>    trunk/Makefile
>    trunk/README
>    trunk/make-macosx-ub.sh
> Log:
> * Improved Mac OS X build support.
> * Dropped support for Mac OS X 10.2 to simplify things.  If anyone still
>   needs this version supported let me know.

Following this commit I am no longer able to build ioq3 on Intel
Leopard, I get the following error:

[ram at skymoo ioquake3]$ ./make-macosx-ub.sh
WARNING: detected unknown MacOSX SDK (MacOSX10.5.sdk)
Using /Developer/SDKs/MacOSX10.3.9.sdk for PowerPC
Using /Developer/SDKs/MacOSX10.4u.sdk for Intel

Building ioquake3 in build/release-darwin-ppc:
  PLATFORM: darwin
  ARCH: ppc
  COMPILE_PLATFORM: darwin
  COMPILE_ARCH: i386
  CC: gcc-4.0

  CFLAGS:
    -MMD
    -arch
    ppc
    -DSMP
    -DMAC_OS_X_VERSION_MIN_REQUIRED=1020
    -nostdinc
    -F/Developer/SDKs/MacOSX10.3.9.sdk/System/Library/Frameworks
    -I/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/gcc/powerpc-apple-darwin7/4.0.1/include
    -isystem
    /Developer/SDKs/MacOSX10.3.9.sdk/usr/include
    -fno-strict-aliasing
    -DMACOS_X
    -fno-common
    -pipe
    -DUSE_OPENAL
    -DUSE_OPENAL_DLOPEN
    -DUSE_CURL
    -DUSE_CURL_DLOPEN
    -D_THREAD_SAFE=1
    -Icode/SDL12/include
    -DUSE_LOCAL_HEADERS
    -DSVN_VERSION="1.35_SVN1243"
    -DNDEBUG
    -faltivec
    -O3
    -ffast-math
    -falign-loops=16

  Output:
    build/release-darwin-ppc/ioq3ded.ppc
    build/release-darwin-ppc/ioquake3.ppc
    build/release-darwin-ppc/ioquake3-smp.ppc
    build/release-darwin-ppc/baseq3/cgameppc.dylib
    build/release-darwin-ppc/baseq3/qagameppc.dylib
    build/release-darwin-ppc/baseq3/uippc.dylib
    build/release-darwin-ppc/missionpack/cgameppc.dylib
    build/release-darwin-ppc/missionpack/qagameppc.dylib
    build/release-darwin-ppc/missionpack/uippc.dylib

DED_CC code/server/sv_bot.c
In file included from code/server/../qcommon/q_shared.h:102,
                 from code/server/server.h:24,
                 from code/server/sv_bot.c:24:
/Developer/SDKs/MacOSX10.3.9.sdk/usr/include/stdarg.h:5:2: error:
#error "This header only supports __MWERKS__."
code/server/sv_bot.c: In function 'BotImport_Print':
code/server/sv_bot.c:139: error: 'va_list' undeclared (first use in
this function)
code/server/sv_bot.c:139: error: (Each undeclared identifier is
reported only once
code/server/sv_bot.c:139: error: for each function it appears in.)
code/server/sv_bot.c:139: error: syntax error before 'ap'
code/server/sv_bot.c:141: error: 'ap' undeclared (first use in this function)
make[2]: *** [build/release-darwin-ppc/ded/sv_bot.o] Error 1
make[1]: *** [targets] Error 2
make: *** [release] Error 2
[ram at skymoo ioquake3]$

reverting back to r1242 results in a successful build.

Cheers

Adam



More information about the quake3 mailing list