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

                                          
_______________________________________________
Cmdist mailing list
[email protected]
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist

Reply via email to