JOBnik's Forum
BASS_FX => BASS_FX => Topic started by: grabi on May 24, 2010, 09:26:24 PM
-
Hello, I have problems with version 2.4 for Linux.
Calling to any libbass_fx.so function the aplication finishes giving an error: segmentation fault
Works well with libbass.so functions
I use Realbasic and ubuntu 9.10 karmic koala
I tried with other distros (live-cd) and i get the same problem
-
This is the result using gdb debugger:
Starting program: /home/om/Escritorio/test linux/test2/MiAplicaciĆ³n
[Thread debugging using libthread_db enabled]
Program received signal SIGSEGV, Segmentation fault.
0x07dfa5c3 in BASS_FX_BPM_Free () from /usr/local/lib/libbass_fx.so
... the app crash when using BASS_FX_TempoCreate(), but appear to crash in BASS_FX_BPM_Free :-\
Always crash in BASS_FX_BPM_Free
-
Hi ;D
Please test the "contest" example as I've posted on un4seen.com forum:
http://www.un4seen.com/forum/?topic=11335.msg78940#msg78940
-
Hello, I am having trouble with the linux version too. When I test the "contest" example I get:
/tmp/ccJMbUui.o: In function `getDecodingBPM':
contest.c:(.text+0x4c): undefined reference to `BASS_FX_BPM_DecodeGet'
contest.c:(.text+0x58): undefined reference to `BASS_FX_BPM_Free'
/tmp/ccJMbUui.o: In function `main':
contest.c:(.text+0x189): undefined reference to `BASS_FX_GetVersion'
contest.c:(.text+0x29e): undefined reference to `BASS_FX_TempoCreate'
collect2: ld returned 1 exit status
make: *** [contest] Error 1
Am I doing something silly?
-
Hi;D
Hello, I am having trouble with the linux version too. When I test the "contest" example I get:
/tmp/ccJMbUui.o: In function `getDecodingBPM':
contest.c:(.text+0x4c): undefined reference to `BASS_FX_BPM_DecodeGet'
contest.c:(.text+0x58): undefined reference to `BASS_FX_BPM_Free'
/tmp/ccJMbUui.o: In function `main':
contest.c:(.text+0x189): undefined reference to `BASS_FX_GetVersion'
contest.c:(.text+0x29e): undefined reference to `BASS_FX_TempoCreate'
collect2: ld returned 1 exit status
make: *** [contest] Error 1
Am I doing something silly?
Please confirm that you're using the latest LIBBASS_FX.SO and LIBBASS.SO
Tested again and the contest works fine...
-
Thank you, it worked with some modification. I will post my next question as a new topic.
-
I continue with the thread...
This code also crash in linux (segmentation fault):
#include <stdlib.h>
#include <stdio.h>
#include <dlfcn.h>
#include "bass.h"
#include "bass_fx.h"
void main(int argc, char **argv)
{
void *libHandle = dlopen ("./libbass_fx.so",RTLD_LAZY);
}