Urban Terror Forums: Compiling on a mac - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Compiling on a mac Rate Topic: -----

#1 User is offline   roygbiv Icon

  • Account: roygbiv
  • Joined: 07-July 13
  • Posts: 19

Posted 13 July 2013 - 10:14 PM

I've tried compiling on a mac numerous times and get similar errors, here is the log if anyone can help:

$ make

Building Quake3-UrT in build/release-darwin-i386:
PLATFORM: darwin
ARCH: i386
COMPILE_PLATFORM: darwin
COMPILE_ARCH: i386
CC: /usr/bin/gcc

CFLAGS:
-arch
i386
-DSMP
-mmacosx-version-min=10.5
-DMAC_OS_X_VERSION_MIN_REQUIRED=1050
-nostdinc
-F/Developer/SDKs/MacOSX10.6.8.sdk/System/Library/Frameworks
-I/Developer/SDKs/MacOSX10.6.8.sdk/usr/lib/gcc/i686-apple-darwin10/4.2.1/include
-isystem
/Developer/SDKs/MacOSX10.6.8.sdk/usr/include
-mstackrealign
-fno-strict-aliasing
-DMACOS_X
-fno-common
-pipe
-DUSE_CURL=1
-DUSE_CURL_DLOPEN=1
-DUSE_SDL_VIDEO=1
-DUSE_SDL_SOUND=1
-D_THREAD_SAFE=1
-Icode/SDL12/include
-DUSE_AUTH=1
-DUSE_DEMO_FORMAT_42=1
-DUSE_LOCAL_HEADERS=1
-MMD
-DNDEBUG
-O2
-O2
-msse
-mfpmath=sse
-O2
-msse
-msse2

Output:
build/release-darwin-i386/Quake3-UrT.i386

CC code/client/cl_cgame.c
In file included from code/client/client.h:24,
from code/client/cl_cgame.c:24:
code/client/../qcommon/q_shared.h:98:20: warning: assert.h: No such file or directory
code/client/../qcommon/q_shared.h:99:18: warning: math.h: No such file or directory
code/client/../qcommon/q_shared.h:100:19: warning: stdio.h: No such file or directory
code/client/../qcommon/q_shared.h:101:20: warning: stdarg.h: No such file or directory
code/client/../qcommon/q_shared.h:102:20: warning: string.h: No such file or directory
code/client/../qcommon/q_shared.h:103:20: warning: stdlib.h: No such file or directory
code/client/../qcommon/q_shared.h:104:18: warning: time.h: No such file or directory
code/client/../qcommon/q_shared.h:105:19: warning: ctype.h: No such file or directory
code/client/../qcommon/q_shared.h:106:20: warning: limits.h: No such file or directory
code/client/../qcommon/q_shared.h:118:24: warning: stdint.h: No such file or directory
In file included from code/client/client.h:24,
from code/client/cl_cgame.c:24:
code/client/../qcommon/q_shared.h: In function ‘VectorLength’:
code/client/../qcommon/q_shared.h:488: warning: incompatible implicit declaration of built-in function ‘sqrt’
In file included from code/client/client.h:25,
from code/client/cl_cgame.c:24:
code/client/../qcommon/qcommon.h: At top level:
code/client/../qcommon/qcommon.h:323: error: expected declaration specifiers or ‘...’ before ‘intptr_t’
code/client/../qcommon/qcommon.h:331: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘VM_Call’
code/client/../qcommon/qcommon.h:335: error: expected ‘)’ before ‘intValue’
code/client/../qcommon/qcommon.h:336: error: expected declaration specifiers or ‘...’ before ‘intptr_t’
code/client/../qcommon/qcommon.h:339: error: expected ‘)’ before ‘x’
code/client/../qcommon/qcommon.h:987: error: expected declaration specifiers or ‘...’ before ‘intptr_t’
code/client/../qcommon/qcommon.h:988: error: expected declaration specifiers or ‘...’ before ‘intptr_t’
In file included from code/client/cl_curl.h:41,
from code/client/client.h:34,
from code/client/cl_cgame.c:24:
code/client/../libcurl/curl/curl.h:40:24: warning: sys/types.h: No such file or directory
In file included from code/client/cl_curl.h:41,
from code/client/client.h:34,
from code/client/cl_cgame.c:24:
code/client/../libcurl/curl/curl.h:101: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘curl_off_t’
code/client/../libcurl/curl/curl.h:174: error: expected declaration specifiers or ‘...’ before ‘*’ token
code/client/../libcurl/curl/curl.h:175: error: expected declaration specifiers or ‘...’ before ‘size_t’
code/client/../libcurl/curl/curl.h:176: error: expected declaration specifiers or ‘...’ before ‘size_t’
code/client/../libcurl/curl/curl.h:177: error: ‘size_t’ declared as function returning a function
code/client/../libcurl/curl/curl.h:185: error: ‘curl_read_callback’ declared as function returning a function
code/client/../libcurl/curl/curl.h:1171: error: ‘curl_formget_callback’ declared as function returning a function
code/client/../libcurl/curl/curl.h:1336: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘curl_getdate’
In file included from code/client/../libcurl/curl/curl.h:1561,
from code/client/cl_curl.h:41,
from code/client/client.h:34,
from code/client/cl_cgame.c:24:
code/client/../libcurl/curl/multi.h:63:24: warning: sys/socket.h: No such file or directory
code/client/../libcurl/curl/multi.h:65:22: warning: sys/time.h: No such file or directory
In file included from code/client/../libcurl/curl/curl.h:1561,
from code/client/cl_curl.h:41,
from code/client/client.h:34,
from code/client/cl_cgame.c:24:
code/client/../libcurl/curl/multi.h:172: error: expected declaration specifiers or ‘...’ before ‘fd_set’
code/client/../libcurl/curl/multi.h:173: error: expected declaration specifiers or ‘...’ before ‘fd_set’
code/client/../libcurl/curl/multi.h:174: error: expected declaration specifiers or ‘...’ before ‘fd_set’
In file included from code/client/client.h:34,
from code/client/cl_cgame.c:24:
code/client/cl_curl.h:64: error: expected declaration specifiers or ‘...’ before ‘fd_set’
code/client/cl_curl.h:65: error: expected declaration specifiers or ‘...’ before ‘fd_set’
code/client/cl_curl.h:66: error: expected declaration specifiers or ‘...’ before ‘fd_set’
code/client/cl_cgame.c: In function ‘CL_GetSnapshot’:
code/client/cl_cgame.c:148: warning: incompatible implicit declaration of built-in function ‘memcpy’
code/client/cl_cgame.c: In function ‘CL_ConfigstringModified’:
code/client/cl_cgame.c:222: warning: incompatible implicit declaration of built-in function ‘memset’
code/client/cl_cgame.c:237: warning: incompatible implicit declaration of built-in function ‘strlen’
code/client/cl_cgame.c:245: warning: incompatible implicit declaration of built-in function ‘memcpy’
code/client/cl_cgame.c: In function ‘CL_GetServerCommand’:
code/client/cl_cgame.c:299: warning: format not a string literal and no format arguments
code/client/cl_cgame.c:311: warning: incompatible implicit declaration of built-in function ‘strlen’
code/client/cl_cgame.c:314: warning: incompatible implicit declaration of built-in function ‘strcat’
code/client/cl_cgame.c:320: warning: incompatible implicit declaration of built-in function ‘strlen’
code/client/cl_cgame.c:323: warning: incompatible implicit declaration of built-in function ‘strcat’
code/client/cl_cgame.c:340: warning: incompatible implicit declaration of built-in function ‘memset’
code/client/cl_cgame.c: At top level:
code/client/cl_cgame.c:415: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CL_CgameSystemCalls’
code/client/cl_cgame.c: In function ‘CL_InitCGame’:
code/client/cl_cgame.c:741: error: ‘CL_CgameSystemCalls’ undeclared (first use in this function)
code/client/cl_cgame.c:741: error: (Each undeclared identifier is reported only once
code/client/cl_cgame.c:741: error: for each function it appears in.)
code/client/cl_cgame.c:741: error: too many arguments to function ‘VM_Create’
make[2]: *** [build/release-darwin-i386/client/cl_cgame.o] Error 1
make[1]: *** [targets] Error 2
make: *** [release] Error 2

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

Sponsored link
https://www.frozensand.com/


Copyright © 1999-2024 Frozensand Games Limited  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of Frozensand Games Limited

Frozensand Games is a Limited company registered in England and Wales. Company Reg No: 10343942