Dear friends,
it happened to me multiple times that a test fails when cross compiling
with mingw.
This fails (this is how autoconf makes tests):
//test1.c
char DirectSoundEnumerateW();
int main()
{
DirectSoundEnumerateW();
return 0;
}
i486-mingw32-gcc test1.c -ldsound
(Error: /tmp/
Matej Tyc wrote:
> This example is Wine library, but it happened to me with DevIL image
> loading library as well, all pure C libraries.
> Any ideas what to do?
Then you need to use a macro that allows for specifying a header to
include. You can write one yourself, or try AC_CHECK_FUNC_IN from t
> Then you need to use a macro that allows for specifying a header to
> include. You can write one yourself, or try AC_CHECK_FUNC_IN from the
> autoconf macro archive.
Thanks Brian,
unfortunatelly the macro you proposed is broken at the moment, but I
have notified the developer, so hopefully, it
On Saturday 20 September 2008 22:40:56 Matej Tyc wrote:
> > Then you need to use a macro that allows for specifying a header
> > to include. You can write one yourself, or try AC_CHECK_FUNC_IN
> > from the autoconf macro archive.
>
> By the way, do you have an idea what's the cause of this failiur
Matej Tyc wrote:
> unfortunatelly the macro you proposed is broken at the moment, but I
> have notified the developer, so hopefully, it is going to work.
> By the way, do you have an idea what's the cause of this failiure? It is
The macro seems to be broken because this:
ifelse(AC_LANG, CPLUSPLU