removido
(usa Nenhuma)
Enviado em 13/09/2007 - 15:05h
ae galera, fui tentar copilar no gcc um codigo de teste do openal e ta dando erro... qdo eu tento roda um exemplo binario funciona num boa, mas qdo tento tento roda o codigo fonte da pau... o erro eh esse ae de baixo... lguem tem ideia de como resolver???
[root@lic2 test]# gcc testalut.c
/tmp/ccScT0cs.o: In function `iterate':testalut.c:(.text+0x68): undefined reference to `alSourcefv'
:testalut.c:(.text+0x74): undefined reference to `micro_sleep'
/tmp/ccScT0cs.o: In function `init':testalut.c:(.text+0x129): undefined reference to `alListenerfv'
:testalut.c:(.text+0x13c): undefined reference to `alListenerfv'
:testalut.c:(.text+0x150): undefined reference to `alGenBuffers'
:testalut.c:(.text+0x1d5): undefined reference to `alGetError'
:testalut.c:(.text+0x204): undefined reference to `alBufferData'
:testalut.c:(.text+0x209): undefined reference to `alGetError'
:testalut.c:(.text+0x25f): undefined reference to `alGenSources'
:testalut.c:(.text+0x27e): undefined reference to `alSourcei'
:testalut.c:(.text+0x29b): undefined reference to `alSourcei'
/tmp/ccScT0cs.o: In function `main':testalut.c:(.text+0x2d7): undefined reference to `alcOpenDevice'
:testalut.c:(.text+0x323): undefined reference to `alcCreateContext'
:testalut.c:(.text+0x33c): undefined reference to `alcGetError'
:testalut.c:(.text+0x344): undefined reference to `alGetString'
:testalut.c:(.text+0x377): undefined reference to `alcMakeContextCurrent'
:testalut.c:(.text+0x37c): undefined reference to `fixup_function_pointers'
:testalut.c:(.text+0x381): undefined reference to `talBombOnError'
:testalut.c:(.text+0x3b9): undefined reference to `alSourcePlay'
:testalut.c:(.text+0x3ec): undefined reference to `alSourceStop'
:testalut.c:(.text+0x3f9): undefined reference to `SourceIsPlaying'
:testalut.c:(.text+0x40f): undefined reference to `alcDestroyContext'
:testalut.c:(.text+0x41a): undefined reference to `alcCloseDevice'
collect2: ld returned 1 exit status