This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Cygwin(1.5.18) gcc (3.4.4) problems when compileing esd test prg


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]