Csound Csound-dev Csound-tekno Search About

[Csnd] stuck compiling csound api test, looks like linking errors

Date2011-12-21 06:33
FromIain Duncan
Subject[Csnd] stuck compiling csound api test, looks like linking errors
Hey folks, I'm trying to get a simple Csound API test to compile, but I must be doing something wrong, or have done something wrong in the build.

I have built Csound 5.13.0, it's in /usr/local/src/Csound5.13.0 ( I'm on Ubuntu )

I'm trying to compile this example:

#include <stdio.h>
#include "csound.hpp"

int main(int argc, char **argv){ 
  Csound *cs = new Csound();
  int result = cs->Compile(argc, argv);
  
   if (result == 0) {
     result = cs->Perform();
   }
   return (result >= 0 ? 0 : result);
}

My compilation command is: 
g++ main.cpp -o csoundAPItest -I/usr/local/src/Csound5.13.0/H -L/usr/local/src/Csound5.13.0 -lcsound

And I get the output below, any one have any tips? 
Thanks!
Iain

iain@musicbox:~/audio/csound_api$ g++ main.cpp -o csoundAPItest -I/usr/local/src/Csound5.13.0/H -L/usr/local/src/Csound5.13.0 -lcsound
/usr/local/src/Csound5.13.0/libcsound.a(envvar.o): In function `csoundFileOpenWithType':
/usr/local/src/Csound5.13.0/Engine/envvar.c:1141: undefined reference to `sf_open_fd'
/usr/local/src/Csound5.13.0/Engine/envvar.c:1153: undefined reference to `sf_open'
/usr/local/src/Csound5.13.0/Engine/envvar.c:1164: undefined reference to `sf_open_fd'
/usr/local/src/Csound5.13.0/Engine/envvar.c:1175: undefined reference to `sf_open_fd'
/usr/local/src/Csound5.13.0/Engine/envvar.c:1178: undefined reference to `sf_command'
/usr/local/src/Csound5.13.0/libcsound.a(envvar.o): In function `csoundFileClose':
/usr/local/src/Csound5.13.0/Engine/envvar.c:1306: undefined reference to `sf_close'
/usr/local/src/Csound5.13.0/libcsound.a(fgens.o): In function `gen01raw':
/usr/local/src/Csound5.13.0/Engine/fgens.c:2496: undefined reference to `sf_command'
/usr/local/src/Csound5.13.0/libcsound.a(memfiles.o): In function `csoundLoadSoundFile':
/usr/local/src/Csound5.13.0/Engine/memfiles.c:418: undefined reference to `sf_command'
/usr/local/src/Csound5.13.0/Engine/memfiles.c:438: undefined reference to `sf_readf_float'
/usr/local/src/Csound5.13.0/libcsound.a(libsnd.o): In function `writesf':
/usr/local/src/Csound5.13.0/InOut/libsnd.c:182: undefined reference to `sf_write_float'
/usr/local/src/Csound5.13.0/libcsound.a(libsnd.o): In function `writesf_dither_16':
/usr/local/src/Csound5.13.0/InOut/libsnd.c:236: undefined reference to `sf_write_float'
/usr/local/src/Csound5.13.0/libcsound.a(libsnd.o): In function `writesf_dither_8':
/usr/local/src/Csound5.13.0/InOut/libsnd.c:290: undefined reference to `sf_write_float'
/usr/local/src/Csound5.13.0/libcsound.a(libsnd.o): In function `writesf_dither_u16':
/usr/local/src/Csound5.13.0/InOut/libsnd.c:342: undefined reference to `sf_write_float'
/usr/local/src/Csound5.13.0/libcsound.a(libsnd.o): In function `writesf_dither_u8':
/usr/local/src/Csound5.13.0/InOut/libsnd.c:394: undefined reference to `sf_write_float'
/usr/local/src/Csound5.13.0/libcsound.a(libsnd.o): In function `readsf':
/usr/local/src/Csound5.13.0/InOut/libsnd.c:434: undefined reference to `sf_read_float'
/usr/local/src/Csound5.13.0/libcsound.a(libsnd.o): In function `sfopenin':
/usr/local/src/Csound5.13.0/InOut/libsnd.c:531: undefined reference to `sf_open_fd'
/usr/local/src/Csound5.13.0/InOut/libsnd.c:541: undefined reference to `sf_open'
/usr/local/src/Csound5.13.0/InOut/libsnd.c:549: undefined reference to `sf_open'
/usr/local/src/Csound5.13.0/libcsound.a(libsnd.o): In function `sfopenout':
/usr/local/src/Csound5.13.0/InOut/libsnd.c:674: undefined reference to `sf_open_fd'
/usr/local/src/Csound5.13.0/InOut/libsnd.c:681: undefined reference to `sf_open'
/usr/local/src/Csound5.13.0/InOut/libsnd.c:690: undefined reference to `sf_command'
/usr/local/src/Csound5.13.0/InOut/libsnd.c:691: undefined reference to `sf_command'
/usr/local/src/Csound5.13.0/InOut/libsnd.c:722: undefined reference to `sf_set_string'
/usr/local/src/Csound5.13.0/InOut/libsnd.c:726: undefined reference to `sf_set_string'
/usr/local/src/Csound5.13.0/InOut/libsnd.c:728: undefined reference to `sf_set_string'
/usr/local/src/Csound5.13.0/InOut/libsnd.c:730: undefined reference to `sf_set_string'
/usr/local/src/Csound5.13.0/InOut/libsnd.c:732: undefined reference to `sf_set_string'
/usr/local/src/Csound5.13.0/libcsound.a(libsnd.o):/usr/local/src/Csound5.13.0/InOut/libsnd.c:734: more undefined references to `sf_set_string' follow
/usr/local/src/Csound5.13.0/libcsound.a(libsnd.o): In function `sfclosein':
/usr/local/src/Csound5.13.0/InOut/libsnd.c:768: undefined reference to `sf_close'
/usr/local/src/Csound5.13.0/libcsound.a(libsnd.o): In function `sfcloseout':
/usr/local/src/Csound5.13.0/InOut/libsnd.c:801: undefined reference to `sf_command'
/usr/local/src/Csound5.13.0/InOut/libsnd.c:802: undefined reference to `sf_close'
/usr/local/src/Csound5.13.0/libcsound.a(libsnd_u.o): In function `rewriteheader':
/usr/local/src/Csound5.13.0/InOut/libsnd_u.c:29: undefined reference to `sf_command'
/usr/local/src/Csound5.13.0/libcsound.a(libsnd_u.o): In function `sreadin':
/usr/local/src/Csound5.13.0/InOut/libsnd_u.c:97: undefined reference to `sf_read_float'
/usr/local/src/Csound5.13.0/libcsound.a(libsnd_u.o): In function `sndgetset':
/usr/local/src/Csound5.13.0/InOut/libsnd_u.c:231: undefined reference to `sf_seek'
/usr/local/src/Csound5.13.0/libcsound.a(csmodule.o): In function `csoundLoadExternal':
/usr/local/src/Csound5.13.0/Top/csmodule.c:248: undefined reference to `dlerror'
/usr/local/src/Csound5.13.0/libcsound.a(csmodule.o): In function `csoundOpenLibrary':
/usr/local/src/Csound5.13.0/Top/csmodule.c:956: undefined reference to `dlopen'
/usr/local/src/Csound5.13.0/libcsound.a(csmodule.o): In function `csoundCloseLibrary':
/usr/local/src/Csound5.13.0/Top/csmodule.c:962: undefined reference to `dlclose'
/usr/local/src/Csound5.13.0/libcsound.a(csmodule.o): In function `csoundGetLibrarySymbol':
/usr/local/src/Csound5.13.0/Top/csmodule.c:967: undefined reference to `dlsym'
/usr/local/src/Csound5.13.0/libcsound.a(main.o): In function `csoundCompile':
/usr/local/src/Csound5.13.0/Top/main.c:113: undefined reference to `sf_command'
/usr/local/src/Csound5.13.0/libcsound.a(threads.o): In function `csoundCreateThread':
/usr/local/src/Csound5.13.0/Top/threads.c:200: undefined reference to `pthread_create'
/usr/local/src/Csound5.13.0/libcsound.a(threads.o): In function `csoundJoinThread':
/usr/local/src/Csound5.13.0/Top/threads.c:219: undefined reference to `pthread_join'
/usr/local/src/Csound5.13.0/libcsound.a(threads.o): In function `csoundWaitThreadLock':
/usr/local/src/Csound5.13.0/Top/threads.c:247: undefined reference to `pthread_mutex_trylock'
/usr/local/src/Csound5.13.0/Top/threads.c:270: undefined reference to `pthread_mutex_timedlock'
/usr/local/src/Csound5.13.0/libcsound.a(threads.o): In function `csoundCreateBarrier':
/usr/local/src/Csound5.13.0/Top/threads.c:416: undefined reference to `pthread_barrier_init'
/usr/local/src/Csound5.13.0/libcsound.a(threads.o): In function `csoundDestroyBarrier':
/usr/local/src/Csound5.13.0/Top/threads.c:432: undefined reference to `pthread_barrier_destroy'
/usr/local/src/Csound5.13.0/libcsound.a(threads.o): In function `csoundWaitBarrier':
/usr/local/src/Csound5.13.0/Top/threads.c:459: undefined reference to `pthread_barrier_wait'
/usr/local/src/Csound5.13.0/libcsound.a(threads.o): In function `csoundCreateMutex':
/usr/local/src/Csound5.13.0/Top/threads.c:482: undefined reference to `pthread_mutexattr_init'
/usr/local/src/Csound5.13.0/Top/threads.c:483: undefined reference to `pthread_mutexattr_settype'
/usr/local/src/Csound5.13.0/Top/threads.c:495: undefined reference to `pthread_mutexattr_destroy'
/usr/local/src/Csound5.13.0/libcsound.a(threads.o): In function `csoundLockMutexNoWait':
/usr/local/src/Csound5.13.0/Top/threads.c:521: undefined reference to `pthread_mutex_trylock'
/usr/local/src/Csound5.13.0/libcsound.a(diskin.o): In function `diskin_read_buffer':
/usr/local/src/Csound5.13.0/OOps/diskin.c:55: undefined reference to `sf_seek'
/usr/local/src/Csound5.13.0/OOps/diskin.c:56: undefined reference to `sf_read_float'
/usr/local/src/Csound5.13.0/libcsound.a(diskin.o): In function `soundout_deinit':
/usr/local/src/Csound5.13.0/OOps/diskin.c:345: undefined reference to `sf_write_float'
/usr/local/src/Csound5.13.0/libcsound.a(diskin.o): In function `sndo1set':
/usr/local/src/Csound5.13.0/OOps/diskin.c:416: undefined reference to `sf_command'
/usr/local/src/Csound5.13.0/OOps/diskin.c:418: undefined reference to `sf_command'
/usr/local/src/Csound5.13.0/OOps/diskin.c:422: undefined reference to `sf_command'
/usr/local/src/Csound5.13.0/libcsound.a(diskin.o): In function `soundout':
/usr/local/src/Csound5.13.0/OOps/diskin.c:440: undefined reference to `sf_write_float'
/usr/local/src/Csound5.13.0/libcsound.a(diskin.o): In function `soundouts':
/usr/local/src/Csound5.13.0/OOps/diskin.c:457: undefined reference to `sf_write_float'
/usr/local/src/Csound5.13.0/libcsound.a(diskin2.o): In function `diskin2_read_buffer':
/usr/local/src/Csound5.13.0/OOps/diskin2.c:61: undefined reference to `sf_seek'
/usr/local/src/Csound5.13.0/OOps/diskin2.c:64: undefined reference to `sf_read_float'
/usr/local/src/Csound5.13.0/libcsound.a(diskin2.o): In function `soundin_read_buffer':
/usr/local/src/Csound5.13.0/OOps/diskin2.c:513: undefined reference to `sf_seek'
/usr/local/src/Csound5.13.0/OOps/diskin2.c:516: undefined reference to `sf_read_float'
/usr/local/src/Csound5.13.0/libcsound.a(sndinfUG.o): In function `getsndinfo':
/usr/local/src/Csound5.13.0/OOps/sndinfUG.c:65: undefined reference to `sf_open'
/usr/local/src/Csound5.13.0/OOps/sndinfUG.c:119: undefined reference to `sf_open'
/usr/local/src/Csound5.13.0/OOps/sndinfUG.c:128: undefined reference to `sf_close'
/usr/local/src/Csound5.13.0/libcsound.a(sndinfUG.o): In function `filepeak':
/usr/local/src/Csound5.13.0/OOps/sndinfUG.c:221: undefined reference to `sf_command'
/usr/local/src/Csound5.13.0/OOps/sndinfUG.c:226: undefined reference to `sf_command'
/usr/local/src/Csound5.13.0/OOps/sndinfUG.c:242: undefined reference to `sf_command'
/usr/local/src/Csound5.13.0/OOps/sndinfUG.c:246: undefined reference to `sf_command'
collect2: ld returned 1 exit status


Date2011-12-21 07:34
FromTito Latini
SubjectRe: [Csnd] stuck compiling csound api test, looks like linking errors
AttachmentsNone  

Date2011-12-21 19:22
FromIain Duncan
SubjectRe: [Csnd] stuck compiling csound api test, looks like linking errors
Thanks Tito, that did it. =)

Iain

On Tue, Dec 20, 2011 at 11:34 PM, Tito Latini <tito.01beta@gmail.com> wrote:
Try this

g++ main.cpp -o csoundAPItest -I/usr/local/src/Csound5.13.0/H \
   -L/usr/local/src/Csound5.13.0 -lsndfile -lpthread -ldl -lcsound

tito

On Tue, Dec 20, 2011 at 10:33:20PM -0800, Iain Duncan wrote:
> Hey folks, I'm trying to get a simple Csound API test to compile, but I
> must be doing something wrong, or have done something wrong in the build.
>
> I have built Csound 5.13.0, it's in /usr/local/src/Csound5.13.0 ( I'm on
> Ubuntu )
>
> I'm trying to compile this example:
>
> #include <stdio.h>
> #include "csound.hpp"
>
> int main(int argc, char **argv){
>   Csound *cs = new Csound();
>   int result = cs->Compile(argc, argv);
>
>    if (result == 0) {
>      result = cs->Perform();
>    }
>    return (result >= 0 ? 0 : result);
> }
>
> My compilation command is:
> g++ main.cpp -o csoundAPItest -I/usr/local/src/Csound5.13.0/H
> -L/usr/local/src/Csound5.13.0 -lcsound
>
> And I get the output below, any one have any tips?
> Thanks!
> Iain
>
> iain@musicbox:~/audio/csound_api$ g++ main.cpp -o csoundAPItest
> -I/usr/local/src/Csound5.13.0/H -L/usr/local/src/Csound5.13.0 -lcsound
> /usr/local/src/Csound5.13.0/libcsound.a(envvar.o): In function
> `csoundFileOpenWithType':
> /usr/local/src/Csound5.13.0/Engine/envvar.c:1141: undefined reference to
> `sf_open_fd'
> /usr/local/src/Csound5.13.0/Engine/envvar.c:1153: undefined reference to
> `sf_open'
> /usr/local/src/Csound5.13.0/Engine/envvar.c:1164: undefined reference to
> `sf_open_fd'
> /usr/local/src/Csound5.13.0/Engine/envvar.c:1175: undefined reference to
> `sf_open_fd'
> /usr/local/src/Csound5.13.0/Engine/envvar.c:1178: undefined reference to
> `sf_command'
> /usr/local/src/Csound5.13.0/libcsound.a(envvar.o): In function
> `csoundFileClose':
> /usr/local/src/Csound5.13.0/Engine/envvar.c:1306: undefined reference to
> `sf_close'
> /usr/local/src/Csound5.13.0/libcsound.a(fgens.o): In function `gen01raw':
> /usr/local/src/Csound5.13.0/Engine/fgens.c:2496: undefined reference to
> `sf_command'
> /usr/local/src/Csound5.13.0/libcsound.a(memfiles.o): In function
> `csoundLoadSoundFile':
> /usr/local/src/Csound5.13.0/Engine/memfiles.c:418: undefined reference to
> `sf_command'
> /usr/local/src/Csound5.13.0/Engine/memfiles.c:438: undefined reference to
> `sf_readf_float'
> /usr/local/src/Csound5.13.0/libcsound.a(libsnd.o): In function `writesf':
> /usr/local/src/Csound5.13.0/InOut/libsnd.c:182: undefined reference to
> `sf_write_float'
> /usr/local/src/Csound5.13.0/libcsound.a(libsnd.o): In function
> `writesf_dither_16':
> /usr/local/src/Csound5.13.0/InOut/libsnd.c:236: undefined reference to
> `sf_write_float'
> /usr/local/src/Csound5.13.0/libcsound.a(libsnd.o): In function
> `writesf_dither_8':
> /usr/local/src/Csound5.13.0/InOut/libsnd.c:290: undefined reference to
> `sf_write_float'
> /usr/local/src/Csound5.13.0/libcsound.a(libsnd.o): In function
> `writesf_dither_u16':
> /usr/local/src/Csound5.13.0/InOut/libsnd.c:342: undefined reference to
> `sf_write_float'
> /usr/local/src/Csound5.13.0/libcsound.a(libsnd.o): In function
> `writesf_dither_u8':
> /usr/local/src/Csound5.13.0/InOut/libsnd.c:394: undefined reference to
> `sf_write_float'
> /usr/local/src/Csound5.13.0/libcsound.a(libsnd.o): In function `readsf':
> /usr/local/src/Csound5.13.0/InOut/libsnd.c:434: undefined reference to
> `sf_read_float'
> /usr/local/src/Csound5.13.0/libcsound.a(libsnd.o): In function `sfopenin':
> /usr/local/src/Csound5.13.0/InOut/libsnd.c:531: undefined reference to
> `sf_open_fd'
> /usr/local/src/Csound5.13.0/InOut/libsnd.c:541: undefined reference to
> `sf_open'
> /usr/local/src/Csound5.13.0/InOut/libsnd.c:549: undefined reference to
> `sf_open'
> /usr/local/src/Csound5.13.0/libcsound.a(libsnd.o): In function `sfopenout':
> /usr/local/src/Csound5.13.0/InOut/libsnd.c:674: undefined reference to
> `sf_open_fd'
> /usr/local/src/Csound5.13.0/InOut/libsnd.c:681: undefined reference to
> `sf_open'
> /usr/local/src/Csound5.13.0/InOut/libsnd.c:690: undefined reference to
> `sf_command'
> /usr/local/src/Csound5.13.0/InOut/libsnd.c:691: undefined reference to
> `sf_command'
> /usr/local/src/Csound5.13.0/InOut/libsnd.c:722: undefined reference to
> `sf_set_string'
> /usr/local/src/Csound5.13.0/InOut/libsnd.c:726: undefined reference to
> `sf_set_string'
> /usr/local/src/Csound5.13.0/InOut/libsnd.c:728: undefined reference to
> `sf_set_string'
> /usr/local/src/Csound5.13.0/InOut/libsnd.c:730: undefined reference to
> `sf_set_string'
> /usr/local/src/Csound5.13.0/InOut/libsnd.c:732: undefined reference to
> `sf_set_string'
> /usr/local/src/Csound5.13.0/libcsound.a(libsnd.o):/usr/local/src/Csound5.13.0/InOut/libsnd.c:734:
> more undefined references to `sf_set_string' follow
> /usr/local/src/Csound5.13.0/libcsound.a(libsnd.o): In function `sfclosein':
> /usr/local/src/Csound5.13.0/InOut/libsnd.c:768: undefined reference to
> `sf_close'
> /usr/local/src/Csound5.13.0/libcsound.a(libsnd.o): In function `sfcloseout':
> /usr/local/src/Csound5.13.0/InOut/libsnd.c:801: undefined reference to
> `sf_command'
> /usr/local/src/Csound5.13.0/InOut/libsnd.c:802: undefined reference to
> `sf_close'
> /usr/local/src/Csound5.13.0/libcsound.a(libsnd_u.o): In function
> `rewriteheader':
> /usr/local/src/Csound5.13.0/InOut/libsnd_u.c:29: undefined reference to
> `sf_command'
> /usr/local/src/Csound5.13.0/libcsound.a(libsnd_u.o): In function `sreadin':
> /usr/local/src/Csound5.13.0/InOut/libsnd_u.c:97: undefined reference to
> `sf_read_float'
> /usr/local/src/Csound5.13.0/libcsound.a(libsnd_u.o): In function
> `sndgetset':
> /usr/local/src/Csound5.13.0/InOut/libsnd_u.c:231: undefined reference to
> `sf_seek'
> /usr/local/src/Csound5.13.0/libcsound.a(csmodule.o): In function
> `csoundLoadExternal':
> /usr/local/src/Csound5.13.0/Top/csmodule.c:248: undefined reference to
> `dlerror'
> /usr/local/src/Csound5.13.0/libcsound.a(csmodule.o): In function
> `csoundOpenLibrary':
> /usr/local/src/Csound5.13.0/Top/csmodule.c:956: undefined reference to
> `dlopen'
> /usr/local/src/Csound5.13.0/libcsound.a(csmodule.o): In function
> `csoundCloseLibrary':
> /usr/local/src/Csound5.13.0/Top/csmodule.c:962: undefined reference to
> `dlclose'
> /usr/local/src/Csound5.13.0/libcsound.a(csmodule.o): In function
> `csoundGetLibrarySymbol':
> /usr/local/src/Csound5.13.0/Top/csmodule.c:967: undefined reference to
> `dlsym'
> /usr/local/src/Csound5.13.0/libcsound.a(main.o): In function
> `csoundCompile':
> /usr/local/src/Csound5.13.0/Top/main.c:113: undefined reference to
> `sf_command'
> /usr/local/src/Csound5.13.0/libcsound.a(threads.o): In function
> `csoundCreateThread':
> /usr/local/src/Csound5.13.0/Top/threads.c:200: undefined reference to
> `pthread_create'
> /usr/local/src/Csound5.13.0/libcsound.a(threads.o): In function
> `csoundJoinThread':
> /usr/local/src/Csound5.13.0/Top/threads.c:219: undefined reference to
> `pthread_join'
> /usr/local/src/Csound5.13.0/libcsound.a(threads.o): In function
> `csoundWaitThreadLock':
> /usr/local/src/Csound5.13.0/Top/threads.c:247: undefined reference to
> `pthread_mutex_trylock'
> /usr/local/src/Csound5.13.0/Top/threads.c:270: undefined reference to
> `pthread_mutex_timedlock'
> /usr/local/src/Csound5.13.0/libcsound.a(threads.o): In function
> `csoundCreateBarrier':
> /usr/local/src/Csound5.13.0/Top/threads.c:416: undefined reference to
> `pthread_barrier_init'
> /usr/local/src/Csound5.13.0/libcsound.a(threads.o): In function
> `csoundDestroyBarrier':
> /usr/local/src/Csound5.13.0/Top/threads.c:432: undefined reference to
> `pthread_barrier_destroy'
> /usr/local/src/Csound5.13.0/libcsound.a(threads.o): In function
> `csoundWaitBarrier':
> /usr/local/src/Csound5.13.0/Top/threads.c:459: undefined reference to
> `pthread_barrier_wait'
> /usr/local/src/Csound5.13.0/libcsound.a(threads.o): In function
> `csoundCreateMutex':
> /usr/local/src/Csound5.13.0/Top/threads.c:482: undefined reference to
> `pthread_mutexattr_init'
> /usr/local/src/Csound5.13.0/Top/threads.c:483: undefined reference to
> `pthread_mutexattr_settype'
> /usr/local/src/Csound5.13.0/Top/threads.c:495: undefined reference to
> `pthread_mutexattr_destroy'
> /usr/local/src/Csound5.13.0/libcsound.a(threads.o): In function
> `csoundLockMutexNoWait':
> /usr/local/src/Csound5.13.0/Top/threads.c:521: undefined reference to
> `pthread_mutex_trylock'
> /usr/local/src/Csound5.13.0/libcsound.a(diskin.o): In function
> `diskin_read_buffer':
> /usr/local/src/Csound5.13.0/OOps/diskin.c:55: undefined reference to
> `sf_seek'
> /usr/local/src/Csound5.13.0/OOps/diskin.c:56: undefined reference to
> `sf_read_float'
> /usr/local/src/Csound5.13.0/libcsound.a(diskin.o): In function
> `soundout_deinit':
> /usr/local/src/Csound5.13.0/OOps/diskin.c:345: undefined reference to
> `sf_write_float'
> /usr/local/src/Csound5.13.0/libcsound.a(diskin.o): In function `sndo1set':
> /usr/local/src/Csound5.13.0/OOps/diskin.c:416: undefined reference to
> `sf_command'
> /usr/local/src/Csound5.13.0/OOps/diskin.c:418: undefined reference to
> `sf_command'
> /usr/local/src/Csound5.13.0/OOps/diskin.c:422: undefined reference to
> `sf_command'
> /usr/local/src/Csound5.13.0/libcsound.a(diskin.o): In function `soundout':
> /usr/local/src/Csound5.13.0/OOps/diskin.c:440: undefined reference to
> `sf_write_float'
> /usr/local/src/Csound5.13.0/libcsound.a(diskin.o): In function `soundouts':
> /usr/local/src/Csound5.13.0/OOps/diskin.c:457: undefined reference to
> `sf_write_float'
> /usr/local/src/Csound5.13.0/libcsound.a(diskin2.o): In function
> `diskin2_read_buffer':
> /usr/local/src/Csound5.13.0/OOps/diskin2.c:61: undefined reference to
> `sf_seek'
> /usr/local/src/Csound5.13.0/OOps/diskin2.c:64: undefined reference to
> `sf_read_float'
> /usr/local/src/Csound5.13.0/libcsound.a(diskin2.o): In function
> `soundin_read_buffer':
> /usr/local/src/Csound5.13.0/OOps/diskin2.c:513: undefined reference to
> `sf_seek'
> /usr/local/src/Csound5.13.0/OOps/diskin2.c:516: undefined reference to
> `sf_read_float'
> /usr/local/src/Csound5.13.0/libcsound.a(sndinfUG.o): In function
> `getsndinfo':
> /usr/local/src/Csound5.13.0/OOps/sndinfUG.c:65: undefined reference to
> `sf_open'
> /usr/local/src/Csound5.13.0/OOps/sndinfUG.c:119: undefined reference to
> `sf_open'
> /usr/local/src/Csound5.13.0/OOps/sndinfUG.c:128: undefined reference to
> `sf_close'
> /usr/local/src/Csound5.13.0/libcsound.a(sndinfUG.o): In function `filepeak':
> /usr/local/src/Csound5.13.0/OOps/sndinfUG.c:221: undefined reference to
> `sf_command'
> /usr/local/src/Csound5.13.0/OOps/sndinfUG.c:226: undefined reference to
> `sf_command'
> /usr/local/src/Csound5.13.0/OOps/sndinfUG.c:242: undefined reference to
> `sf_command'
> /usr/local/src/Csound5.13.0/OOps/sndinfUG.c:246: undefined reference to
> `sf_command'
> collect2: ld returned 1 exit status
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>


Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"