This message is primarily for Yaakov, but perhaps anyone else reading may
be able to answer.

I'm trying to compile libtorrent in cygwin (in preparation for eventually
compiling rtorrent). It's reporting some issues, which I believe are
related to the fact that the version of GCC and the related C++ header
files are so old (GCC version is something like 3.3.x)

Yaakov: I was just wondering if you had any intention on releasing GCC 4.x
as part of cygwin-ports, obviously with updated binutils?

On a side note, has anyone been able to update GCC to version 4.x
relatively painlessly? Any 3rd-party packages available that anyone is
aware of?

The error message I am getting is as follows:

 g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -g -O2 -g -DDEBUG
-I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -MT
connection_manager.lo -MD -MP -MF .deps/connection_manager.Tpo -c
connection_manager.cc  -DDLL_EXPORT -DPIC -o .libs/connection_manager.o
In file included from connection_manager.cc:39:
../../rak/address_info.h:71: error: ISO C++ forbids declaration of
`addrinfo' with no type
../../rak/address_info.h:71: error: expected `;' before '*' token
../../rak/address_info.h:72: error: expected `;' before "const"
../../rak/address_info.h:72: error: ISO C++ forbids declaration of
`addrinfo' with no type
../../rak/address_info.h:72: error: expected `;' before '*' token
../../rak/address_info.h:74: error: expected `;' before "address_info"
../../rak/address_info.h:83: error: `addrinfo' does not name a type
../../rak/address_info.h: In member function `int
rak::address_info::flags() const':
../../rak/address_info.h:55: error: `m_addrinfo' undeclared (first use
this function)
../../rak/address_info.h:55: error: (Each undeclared identifier is
reported only once for each function it appears in.)

- Brian




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Cygwin-ports-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cygwin-ports-general

Reply via email to