[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_TRY_LINK command line problem
From: |
Ralf Wildenhues |
Subject: |
Re: AC_TRY_LINK command line problem |
Date: |
Wed, 10 Jan 2007 19:39:42 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Hello Yevgen,
* Yevgen Muntyan wrote on Wed, Jan 10, 2007 at 06:17:09AM CET:
>
> AC_TRY_LINK puts LDFLAGS before conftest.c on compilation
> command line, and it fails with mingw. Here, it made the following:
>
> /usr/bin/i586-mingw32msvc-gcc -o conftest.exe -O2
> -I/usr/local/win/gtk/include -mms-bitfields -march=i686
> -I/usr/local/win/gtk/include -I/usr/local/win/Python24/include
> -L/usr/local/win/gtk/lib -L/usr/local/win/Python24/libs -lpython24
> conftest.c
>
> It produces linker errors, undefined reference to whatever is in
> libpython24.
> AC_COMPILE_IFELSE does work fine.
Post the errors, otherwise there's little we can do to help you.
Cheers,
Ralf