[CM] s7, simple listener

James Hearon j_hearon at hotmail.com
Wed May 15 18:50:27 PDT 2013


Hi,
Trying to run the simple listener example from s7 manual under FFI.

$ gcc -c s7.c -I.

ok.

$ gcc -o doc7 doc7.c s7.o -lm -I.

s7.o: In function `g_load':
s7.c:(.text+0x4a177): undefined reference to `dlopen'
s7.c:(.text+0x4a192): undefined reference to `dlsym'
s7.c:(.text+0x4a1b6): undefined reference to `dlerror'
s7.c:(.text+0x4a1e9): undefined reference to `dlclose'
s7.c:(.text+0x4a1f0): undefined reference to `dlerror'
collect2: error: ld returned 1 exit status

I tried just including dlfcn.h in s7.c but that didn't fix it.  Wondering what lib or headers I'm missing.  I do have a ld-2.16.so in usr/lib if that's what it needs.

thanks,
Jim Hearon

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ccrma-mail.stanford.edu/mailman/private/cmdist/attachments/20130516/473c6ae1/attachment.html 


More information about the Cmdist mailing list