configure errors on 64 bit cygwin

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

configure errors on 64 bit cygwin

Stephen Leake-3
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

_______________________________________________
Monotone-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/monotone-devel
Reply | Threaded
Open this post in threaded view
|

Re: configure errors on 64 bit cygwin

Stephen Leake-3
Stephen Leake <[hidden email]> writes:

> I'm getting configure errors on 64 bit cygwin. I just updated cygwin.

I have libotan-1.10.5-1

--
-- Stephe

_______________________________________________
Monotone-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/monotone-devel
Reply | Threaded
Open this post in threaded view
|

Re: configure errors on 64 bit cygwin

Markus Wanner-2
In reply to this post by Stephen Leake-3
On 05/03/2014 08:56 PM, Stephen Leake wrote:
> 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

Sounds like botan has been compiled with a different compiler or
incompatible compiler options. Can you check how the cygwin package has
been created for cygwin?

Try to get something as simple as conftest.cpp to work. Possibly
re-compile botan from source.

Regards

Markus



_______________________________________________
Monotone-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/monotone-devel

signature.asc (250 bytes) Download Attachment