This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


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

Re: esound.dll


Yeah, but I hadn't thought it through. You'd need to configure
with --static which kindof defeats the purpose :p. Libtool assumes that
you can't link static libraries into dynamic libraries, which I'm not
sure is true for win32. Ah well, another item for the todo list.

Rob

----- Original Message -----
From: "Harold Hunt" <huntharo@msu.edu>
To: "Robert Collins" <robert.collins@itdomain.com.au>; "cygx"
<cygwin-xfree@cygwin.com>
Sent: Monday, October 29, 2001 4:45 AM
Subject: RE: esound.dll


> Here is what I got when I tried to compile with the esound DLL patch,
but
> not the audiofile DLL patch.  You did ask us to test that case first,
right?
>
>
gcc -DHAVE_CONFIG_H -I. -I.. -I. -I/usr/local/include -DSYSCONFDIR=\"/us
r/lo
> cal/
> etc\" -DLIBESD_LA_COMPILATION -g -O2 -c
> ../genrand.c -Wp,-MD,.deps/libesd_la-gen
> rand.TPlo -o libesd_la-genrand.o >/dev/null 2>&1
> /bin/sh ./libtool --mode=link gcc  -g -O2   -o libesd.la -rpath
> /usr/local/lib -
> version-info 2:23:2 libesd_la-esdlib.lo libesd_la-esdmgr.lo
> libesd_la-esdfile.lo
>  libesd_la-esd_config.lo libesd_la-audio.lo
> libesd_la-genrand.lo -L/usr/local/li
> b -laudiofile -lm  -lm
>
> *** Warning: This library needs some functionality provided by
> /usr/local/lib/li
> baudiofile.la.
> *** I have the capability to make that library automatically link in
when
> *** you link to this library.  But I can only do this if you have a
> *** shared version of the library, which you do not appear to have.
> gcc -shared  .libs/libesd_la-esdlib.o .libs/libesd_la-esdmgr.o
> .libs/libesd_la-e
> sdfile.o .libs/libesd_la-esd_config.o .libs/libesd_la-audio.o
> .libs/libesd_la-ge
> nrand.o   -L/usr/local/lib  -o
> .libs/cygesd-0.dll -Wl,--image-base=0x10000000 -W
> l,--out-implib,.libs/libesd.dll.a
> Creating library file: .libs/libesd.dll.a
> .libs/libesd_la-esdfile.o: In function `esd_send_file':
> /home/Administrator/esound-0.2.23/build/../esdfile.c:18: undefined
reference
> to
> `afReadFrames'
> .libs/libesd_la-esdfile.o: In function `esd_play_file':
> /home/Administrator/esound-0.2.23/build/../esdfile.c:54: undefined
reference
> to
> `afOpenFile'
> /home/Administrator/esound-0.2.23/build/../esdfile.c:59: undefined
reference
> to
> `afGetFrameCount'
> /home/Administrator/esound-0.2.23/build/../esdfile.c:60: undefined
reference
> to
> `afGetChannels'
> /home/Administrator/esound-0.2.23/build/../esdfile.c:61: undefined
reference
> to
> `afGetRate'
> /home/Administrator/esound-0.2.23/build/../esdfile.c:62: undefined
reference
> to
> `afGetSampleFormat'
> /home/Administrator/esound-0.2.23/build/../esdfile.c:115: undefined
> reference to
>  `afCloseFile'
> .libs/libesd_la-esdfile.o: In function `esd_file_cache':
> /home/Administrator/esound-0.2.23/build/../esdfile.c:149: undefined
> reference to
>  `afOpenFile'
> /home/Administrator/esound-0.2.23/build/../esdfile.c:154: undefined
> reference to
>  `afGetFrameCount'
> /home/Administrator/esound-0.2.23/build/../esdfile.c:155: undefined
> reference to
>  `afGetChannels'
> /home/Administrator/esound-0.2.23/build/../esdfile.c:156: undefined
> reference to
>  `afGetRate'
> /home/Administrator/esound-0.2.23/build/../esdfile.c:157: undefined
> reference to
>  `afGetTrackBytes'
> /home/Administrator/esound-0.2.23/build/../esdfile.c:158: undefined
> reference to
>  `afGetSampleFormat'
> /home/Administrator/esound-0.2.23/build/../esdfile.c:205: undefined
> reference to
>  `afCloseFile'
> collect2: ld returned 1 exit status
> make[1]: *** [libesd.la] Error 1
> make[1]: Leaving directory `/home/Administrator/esound-0.2.23/build'
> make: *** [install-recursive] Error 1
>
> Harold
>
>


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