configure errors on 64 bit cygwin

Stephen Leake <[email protected]>
Newsgroups gmane.comp.version-control.monotone.devel
Message-ID <[email protected]>
I'm getting configure errors on 64 bit cygwin. I just updated cygwin.

First, I used the configure args in INSTALL_windows_cygwin.txt:

     ./configure botan_CFLAGS="-I/usr/include/botan-1.10" \
               botan_LIBS="/usr/lib/libbotan-1.10.dll.a"

In config.log, that gives:

configure:5205: g++ -o conftest.exe -g -O2 -Wall -W -Wno-unused  -I/usr/include/botan-1.10  conftest.cpp -lz  /usr/lib/libbotan-1.10.dll.a >&5
g++.exe: error: /usr/lib/libbotan-1.10.dll.a: No such file or directory

So I used 

     ./configure botan_CFLAGS="-I/usr/include/botan-1.10" \
       botan_LIBS="-lbotan-1.10"

That gives:

configure:5205: g++ -o conftest.exe -g -O2 -Wall -W -Wno-unused  -I/usr/include/botan-1.10  conftest.cpp -lz  -lbotan-1.10 >&5
C:\tmp\ccgldZhS.o: In function `LibraryInitializer':
/usr/include/botan-1.10/botan/init.h:41: undefined reference to `Botan::LibraryInitializer::initialize(std::string const&)'
C:\tmp\ccgldZhS.o: In function `~LibraryInitializer':
/usr/include/botan-1.10/botan/init.h:43: undefined reference to `Botan::LibraryInitializer::deinitialize()'
collect2.exe: error: ld returned 1 exit status


Any clues?

-- 
-- Stephe
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.