undefined reference - libbristol.so

Help
violazoli
2012-11-29
2013-05-23
  • violazoli

    violazoli - 2012-11-29

    Hi, I am a new Bristol-user. I try it to compile under ubuntu 11.10 in my LenovoThinkPad T60 laptop, but get the following error messages:

    /home/user/munka/bristol-0.60.10/libbristol/.libs/libbristol.so: undefined reference to `audioOpen'
    /home/user/munka/bristol-0.60.10/libbristol/.libs/libbristol.so: undefined reference to `setAudioStart2'
    /home/user/munka/bristol-0.60.10/libbristol/.libs/libbristol.so: undefined reference to `audioClose'
    /home/user/munka/bristol-0.60.10/libbristol/.libs/libbristol.so: undefined reference to `audioRead'
    /home/user/munka/bristol-0.60.10/libbristol/.libs/libbristol.so: undefined reference to `audioWrite'
    collect2: ld returned 1 exit status
    make: ***  Error 1
    make: Leaving directory `/home/user/munka/bristol-0.60.10/bristol'
    make: ***  Error 1
    make: Leaving directory `/home/user/munka/bristol-0.60.10'
    make: ***  Error 2

    The chipset of my laptop is:

    user@Csiszilla:~/munka/bristol-0.60.10$ lspci
    00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
    00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
    00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
    00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)
    00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)
    00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)
    00:1c.2 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 3 (rev 02)
    00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 02)
    00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)
    00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)
    00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)
    00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)
    00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)
    00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
    00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
    00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
    00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller (rev 02)
    00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 02)
    02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller
    03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG  Network Connection (rev 02)
    15:00.0 CardBus bridge: Texas Instruments PCI1510 PC card Cardbus Controller

    The configure script say for my:

    bristol 0.60.10 :

    | Build with OSS support ……………………. : true
    | Build with ALSA support …………………… : true
    | Build with JACK support …………………… : true
    | Build with JACK MIDI support ………………. : true
    | Build with JACK Session support ……………. : true
    | Default audio drivers …………………….. : alsa
    | Default MIDI drivers ……………………… : alsa
    | Build with Graphical Interface …………….. : false
    | Compile with X11 support ………………….. : false
    | Bin directory ……………………………. : /Programs/Bristol/0.60.10/bin
    | Lib directory ……………………………. : /Programs/Bristol/0.60.10/lib
    | Data directory …………………………… : /Programs/Bristol/0.60.10/share/bristol
    | Default voicecount ……………………….. : BRISTOL_VOICECOUNT=32
    | author ………………………………….. : Nick Copeland
    | email …………………………………… : nickycopeland@hotmail.com
    | web …………………………………….. : http://bristol.sf.net

    execute 'make install' then 'startBristol'

     
  • Nick Copeland

    Nick Copeland - 2012-12-03

    The error messages imply that the build process cannot find some routines that should be in libbristolaudio - it was built before you get to these messages on the linking of the binaries. It will also be compile even if you didn't have an audio device available and on top of the that the configure did manage to find the header files it needs for OSS, ALSA and Jack.

    Something that is curious is the path you are using, /Programs/Bristol/0.60.10 - there is nothing per se incorrect with this path but it does imply you might be running multiple versions and that can cause issues. Admittedly they should only happen at run time rather than build time though. Do you use some alternative LD_LIBRARY_PATH? Do you have bristol from your ubuntu distribution as well as the compile version?

    Kind regards, nick.

     
  • Nick Copeland

    Nick Copeland - 2012-12-03

    Another unrelated issue is that you are not building the graphical version of the app - you have no X11 support being reported. If you want to have just the command line interface that is fine. If you want to have the GUI then you will have to use synaptic or apt-get to install the libx11-dev headers.

    The reason I say this is unrelated is that the GUI should not be using the audioOpen calls anyway, irrespective of X11 support enabled or disabled.

    Regards, nick.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks