Hi,

I am tring to compile this sample program on cygwin 1.5.18 and gcc (gcc 3.4.4)
/*file name esd_test.c*/
#include <esd.h>
#include <unistd.h>
#include <stdio.h>

main()
{
int fd;
char host[256];
gethostname(host,256);
fd=esd_open_sound(host);
if(fd >= 0)
  printf("Hai\n");
else
  printf("Bye\n");
}

compile instructions
-----------------------------
gcc -lesd esd_test.c

I am getting undefined symbol _esd_open_sound errors.

The program compiles fine on linux.

Thanks,
Vijay


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to