| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <36bf289b0601090555n645a7c9bo1ef0d3660332cb77@mail.gmail.com> |
| Date: | Mon, 9 Jan 2006 19:25:22 +0530 |
| From: | Vijay Kiran Kamuju <infyquest AT gmail DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Cygwin(1.5.18) gcc (3.4.4) problems when compileing esd test prg |
| MIME-Version: | 1.0 |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id k09DtSbS003400 |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |