Author Topic: bass_fx for Linux  (Read 4345 times)

0 Members and 1 Guest are viewing this topic.

Offline grabi

  • Posts: 4
    • View Profile
bass_fx for Linux
« on: May 24, 2010, 07: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


Offline grabi

  • Posts: 4
    • View Profile
Re: bass_fx for Linux
« Reply #1 on: May 25, 2010, 11:55:43 AM »
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

Offline (: JOBnik! :)

  • Administrator
  • *****
  • Posts: 44
  • Gender: Male
    • View Profile
    • (: JOBnik! :)
Re: bass_fx for Linux
« Reply #2 on: May 26, 2010, 12:26:18 AM »
Hi ;D

Please test the "contest" example as I've posted on un4seen.com forum:
http://www.un4seen.com/forum/?topic=11335.msg78940#msg78940
Have fun!
8) JOBnik! 8)

Offline J05HYYY

  • Posts: 3
    • View Profile
Re: bass_fx for Linux
« Reply #3 on: July 23, 2010, 05:32:07 AM »
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?



Offline (: JOBnik! :)

  • Administrator
  • *****
  • Posts: 44
  • Gender: Male
    • View Profile
    • (: JOBnik! :)
Re: bass_fx for Linux
« Reply #4 on: July 24, 2010, 12:38:10 PM »
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...
Have fun!
8) JOBnik! 8)

Offline J05HYYY

  • Posts: 3
    • View Profile
Re: bass_fx for Linux
« Reply #5 on: July 24, 2010, 09:00:09 PM »
Thank you, it worked with some modification. I will post my next question as a new topic.

Offline grabi

  • Posts: 4
    • View Profile
Re: bass_fx for Linux
« Reply #6 on: November 12, 2010, 12:26:59 PM »
I continue with the thread...

This code also crash in linux (segmentation fault):
Code: [Select]
#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);

}