Author Topic: help with compiling? other thread wasn't seen  (Read 3061 times)

UB|FuN Damcgee

  • Posts: 34
  • Turrets: +0/-1
    • Tremulous Fun Server Official Website
help with compiling? other thread wasn't seen
« on: November 19, 2011, 01:55:19 am »
same old QVM, still not compiled :(

other thread wasnt seen, so i have no fix for this :(

Code: [Select]
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

editted other attempt out
« Last Edit: November 19, 2011, 11:36:51 am by UB|FuN Damcgee »
UB|FuN FTW!!!!!! (with :turret: control...)

:turret::turret::turret::turret::turret::turret::turret::dretch:

Celestial_Rage

  • Posts: 636
  • Turrets: +120/-8
Re: help with compiling? other thread wasn't seen
« Reply #1 on: November 19, 2011, 02:22:26 am »
Code: [Select]
src/unix/sdl_glimp.c:89:41: error: drivers/event_status_driver.h: No such file or directory

This MIGHT be an issue you want to address.

Also, any other information you want to give us? I see that you're compiling on a Mac, but what version and what architecture?
"The reports of my death are greatly exaggerated" ~Mark Twain

UB|FuN Damcgee

  • Posts: 34
  • Turrets: +0/-1
    • Tremulous Fun Server Official Website
Re: help with compiling? other thread wasn't seen
« Reply #2 on: November 19, 2011, 11:35:53 am »
hahaha, ignore that error, that was my last compile attepms, i posted 2 by mistake. im using mac os x 10.5.8 (yes leapard) and idk what archetecture... 4u??? thats the SDK package im using, or do you mean the openAL architecture, then i have no idea
UB|FuN FTW!!!!!! (with :turret: control...)

:turret::turret::turret::turret::turret::turret::turret::dretch:

UB|FuN Damcgee

  • Posts: 34
  • Turrets: +0/-1
    • Tremulous Fun Server Official Website
Re: help with compiling? other thread wasn't seen
« Reply #3 on: November 19, 2011, 12:17:59 pm »
i've compiled the direct svn, now to swap some files around to see if it wil compile again with custom qvm data, thanks for the help guys :)
UB|FuN FTW!!!!!! (with :turret: control...)

:turret::turret::turret::turret::turret::turret::turret::dretch:

cron

  • Donators
  • *
  • Posts: 197
  • Turrets: +22/-22
    • GrangerHub