Tremulous Forum
Mods => Modding Center => Topic started by: UB|FuN Damcgee on November 19, 2011, 01:52:39 am
-
same old QVM, still not compiled :(
make -C src/tools/lcc install
install -s -m 0755 build-darwin-x86/q3lcc ../
install -s -m 0755 build-darwin-x86/q3cpp ../
install -s -m 0755 build-darwin-x86/q3rcc ../
make -C src/tools/asm install
install -s -m 0755 q3asm ../
Building Tremulous in build/release-darwin-x86:
CC: cc
CFLAGS:
-Wall
-Wimplicit
-Wstrict-prototypes
-mstackrealign
-fno-strict-aliasing
-DMACOS_X
-fno-common
-pipe
-gfull
-DUSE_OPENAL=1
-DUSE_CURL=1
-DUSE_CURL_DLOPEN=1
-DUSE_SDL_VIDEO=1
-DUSE_SDL_SOUND=1
-D_THREAD_SAFE=1
-Isrc/SDL12/include
-DUSE_LOCAL_HEADERS=1
-MMD
-DSVN_VERSION="1.1.0_SVN966M"
-DNDEBUG
-march=prescott
-mfpmath=sse
-ffast-math
-falign-loops=16
Output:
build/release-darwin-x86/tremded.x86
build/release-darwin-x86/tremulous.x86
build/release-darwin-x86/tremulous-smp.x86
build/release-darwin-x86/base/cgamex86.dylib
build/release-darwin-x86/base/gamex86.dylib
build/release-darwin-x86/base/uix86.dylib
build/release-darwin-x86/base/vm/cgame.qvm
build/release-darwin-x86/base/vm/game.qvm
build/release-darwin-x86/base/vm/ui.qvm
make[2]: `build/release-darwin-x86/tremded.x86' is up to date.
CC src/unix/sdl_glimp.c
src/unix/sdl_glimp.c:89:41: error: drivers/event_status_driver.h: No such file or directory
src/unix/sdl_glimp.c:445: warning: function declaration isn’t a prototype
make[2]: *** [build/release-darwin-x86/client/sdl_glimp.o] Error 1
make[1]: *** [targets] Error 2
make: *** [release] Error 2
imac-4:qvm dylan$ /Users/dylan/QVM/drivers Users/dylan/QVM/drivers
-bash: /Users/dylan/QVM/drivers: is a directory
imac-4:qvm dylan$ make
make -C src/tools/lcc install
install -s -m 0755 build-darwin-x86/q3lcc ../
install -s -m 0755 build-darwin-x86/q3cpp ../
install -s -m 0755 build-darwin-x86/q3rcc ../
make -C src/tools/asm install
install -s -m 0755 q3asm ../
Building Tremulous in build/release-darwin-x86:
CC: cc
CFLAGS:
-Wall
-Wimplicit
-Wstrict-prototypes
-mstackrealign
-fno-strict-aliasing
-DMACOS_X
-fno-common
-pipe
-gfull
-DUSE_OPENAL=1
-DUSE_CURL=1
-DUSE_CURL_DLOPEN=1
-DUSE_SDL_VIDEO=1
-DUSE_SDL_SOUND=1
-D_THREAD_SAFE=1
-Isrc/SDL12/include
-DUSE_LOCAL_HEADERS=1
-MMD
-DSVN_VERSION="1.1.0_SVN966M"
-DNDEBUG
-march=prescott
-mfpmath=sse
-ffast-math
-falign-loops=16
Output:
build/release-darwin-x86/tremded.x86
build/release-darwin-x86/tremulous.x86
build/release-darwin-x86/tremulous-smp.x86
build/release-darwin-x86/base/cgamex86.dylib
build/release-darwin-x86/base/gamex86.dylib
build/release-darwin-x86/base/uix86.dylib
build/release-darwin-x86/base/vm/cgame.qvm
build/release-darwin-x86/base/vm/game.qvm
build/release-darwin-x86/base/vm/ui.qvm
make[2]: `build/release-darwin-x86/tremded.x86' is up to date.
CC src/unix/sdl_glimp.c
src/unix/sdl_glimp.c:445: warning: function declaration isn’t a prototype
cp src/libs/macosx/libSDLmain.a build/release-darwin-x86/libSDLmain.a
ranlib build/release-darwin-x86/libSDLmain.a
LD build/release-darwin-x86/tremulous.x86
ld warning: in /Library/Frameworks//OpenAL.framework/OpenAL, file is not of required architecture
Undefined symbols:
"_alSourcePlay", referenced from:
_S_AL_StartLocalSound in snd_openal.o
_S_AL_StartSound in snd_openal.o
_S_AL_SrcUpdate in snd_openal.o
_S_AL_StreamUpdate in snd_openal.o
_S_AL_StartBackgroundTrack in snd_openal.o
_S_AL_MusicUpdate in snd_openal.o
"_alcIsExtensionPresent", referenced from:
_S_AL_SoundInfo in snd_openal.o
_S_AL_Init in snd_openal.o
"_alSource3f", referenced from:
_S_AL_AllocateStreamChannel in snd_openal.o
_S_AL_AllocateStreamChannel in snd_openal.o
_S_AL_AllocateStreamChannel in snd_openal.o
_S_AL_MusicSourceGet in snd_openal.o
_S_AL_MusicSourceGet in snd_openal.o
_S_AL_MusicSourceGet in snd_openal.o
"_alSourcefv", referenced from:
_S_AL_SrcSetup in snd_openal.o
_S_AL_SrcSetup in snd_openal.o
_S_AL_StartSound in snd_openal.o
_S_AL_SrcLoop in snd_openal.o
_S_AL_SrcLoop in snd_openal.o
_S_AL_SrcLoop in snd_openal.o
_S_AL_SrcLoop in snd_openal.o
_S_AL_SrcUpdate in snd_openal.o
"_alSourceStop", referenced from:
_S_AL_SrcShutdown in snd_openal.o
_S_AL_SrcKill in snd_openal.o
_S_AL_SrcUpdate in snd_openal.o
_S_AL_StreamDie in snd_openal.o
_S_AL_StopBackgroundTrack in snd_openal.o
"_alcCreateContext", referenced from:
_S_AL_Init in snd_openal.o
"_alcMakeContextCurrent", referenced from:
_S_AL_Shutdown in snd_openal.o
_S_AL_Init in snd_openal.o
"_alSourceUnqueueBuffers", referenced from:
_S_AL_StreamUpdate in snd_openal.o
_S_AL_StopBackgroundTrack in snd_openal.o
_S_AL_MusicUpdate in snd_openal.o
"_alGenSources", referenced from:
_S_AL_SrcInit in snd_openal.o
"_alGenBuffers", referenced from:
_S_AL_BufferLoad in snd_openal.o
_S_AL_RawSamples in snd_openal.o
_S_AL_StartBackgroundTrack in snd_openal.o
"_alDopplerFactor", referenced from:
_S_AL_Update in snd_openal.o
_S_AL_Update in snd_openal.o
_S_AL_Init in snd_openal.o
"_alBufferData", referenced from:
_S_AL_BufferLoad in snd_openal.o
_S_AL_BufferLoad in snd_openal.o
_S_AL_BufferLoad in snd_openal.o
_S_AL_RawSamples in snd_openal.o
_S_AL_MusicProcess in snd_openal.o
_S_AL_MusicProcess in snd_openal.o
"_alcGetString", referenced from:
_S_AL_SoundInfo in snd_openal.o
_S_AL_Init in snd_openal.o
_S_AL_Init in snd_openal.o
_S_AL_Init in snd_openal.o
"_alGetSourcei", referenced from:
_S_AL_SrcUpdate in snd_openal.o
_S_AL_SrcUpdate in snd_openal.o
_S_AL_StreamUpdate in snd_openal.o
_S_AL_StreamUpdate in snd_openal.o
_S_AL_StreamUpdate in snd_openal.o
_S_AL_MusicUpdate in snd_openal.o
_S_AL_MusicUpdate in snd_openal.o
_S_AL_MusicUpdate in snd_openal.o
"_alSourceQueueBuffers", referenced from:
_S_AL_RawSamples in snd_openal.o
_S_AL_StartBackgroundTrack in snd_openal.o
_S_AL_MusicUpdate in snd_openal.o
"_alDistanceModel", referenced from:
_S_AL_Init in snd_openal.o
"_alcCloseDevice", referenced from:
_S_AL_Shutdown in snd_openal.o
_S_AL_Init in snd_openal.o
"_alGetString", referenced from:
_S_AL_SoundInfo in snd_openal.o
_S_AL_SoundInfo in snd_openal.o
_S_AL_SoundInfo in snd_openal.o
_S_AL_SoundInfo in snd_openal.o
_S_AL_Shutdown in snd_openal.o
"_alDeleteSources", referenced from:
_S_AL_SrcShutdown in snd_openal.o
"_alDeleteBuffers", referenced from:
_S_AL_BufferUnload in snd_openal.o
_S_AL_StreamUpdate in snd_openal.o
_S_AL_StopBackgroundTrack in snd_openal.o
"_alSourcef", referenced from:
_S_AL_ScaleGain in snd_openal.o
_S_AL_ScaleGain in snd_openal.o
_S_AL_SrcSetup in snd_openal.o
_S_AL_SrcSetup in snd_openal.o
_S_AL_SrcSetup in snd_openal.o
_S_AL_SrcSetup in snd_openal.o
_S_AL_SrcSetup in snd_openal.o
_S_AL_SrcUpdate in snd_openal.o
_S_AL_SrcUpdate in snd_openal.o
_S_AL_SrcUpdate in snd_openal.o
_S_AL_SrcUpdate in snd_openal.o
_S_AL_AllocateStreamChannel in snd_openal.o
_S_AL_RawSamples in snd_openal.o
_S_AL_MusicSourceGet in snd_openal.o
_S_AL_StartBackgroundTrack in snd_openal.o
_S_AL_MusicUpdate in snd_openal.o
"_alSourcei", referenced from:
_S_AL_SrcSetup in snd_openal.o
_S_AL_SrcSetup in snd_openal.o
_S_AL_SrcSetup in snd_openal.o
_S_AL_SrcSetup in snd_openal.o
_S_AL_SrcKill in snd_openal.o
_S_AL_SrcUpdate in snd_openal.o
_S_AL_SrcUpdate in snd_openal.o
_S_AL_SrcUpdate in snd_openal.o
_S_AL_SrcUpdate in snd_openal.o
_S_AL_AllocateStreamChannel in snd_openal.o
_S_AL_AllocateStreamChannel in snd_openal.o
_S_AL_AllocateStreamChannel in snd_openal.o
_S_AL_MusicSourceGet in snd_openal.o
"_alcDestroyContext", referenced from:
_S_AL_Shutdown in snd_openal.o
"_alcOpenDevice", referenced from:
_S_AL_Init in snd_openal.o
_S_AL_Init in snd_openal.o
"_alGetError", referenced from:
_S_AL_BufferUnload in snd_openal.o
_S_AL_BufferLoad in snd_openal.o
_S_AL_BufferLoad in snd_openal.o
_S_AL_BufferLoad in snd_openal.o
_S_AL_SrcInit in snd_openal.o
_S_AL_MusicProcess in snd_openal.o
"_alDopplerVelocity", referenced from:
_S_AL_Update in snd_openal.o
_S_AL_Init in snd_openal.o
"_alListenerfv", referenced from:
_S_AL_Respatialize in snd_openal.o
_S_AL_Respatialize in snd_openal.o
_S_AL_Respatialize in snd_openal.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [build/release-darwin-x86/tremulous.x86] Error 1
make[1]: *** [targets] Error 2
make: *** [release] Error 2
i've fixed alot of other things, but this one stumps me =P
-
ld warning: in /Library/Frameworks//OpenAL.framework/OpenAL, file is not of required architecture
You need to install the openal bits for whatever architecture you're compiling for.
-
any ideas on how to do that? im mac lepard, the uncompilable os, but i'll try
-
fixed, i just put 22345] on the end of the name, and it fixed, its fully compiled now
-
im mac lepard, the uncompilable os
Would've put this into signature if wasn't afraid of it overgrowing again.