This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Cygwin(1.5.18) gcc (3.4.4) problems when compileing esd test prg
- From: Vijay Kiran Kamuju <infyquest at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 9 Jan 2006 19:25:22 +0530
- Subject: 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/