Hi,

On Sun, Sep 6, 2009 at 12:35 AM, Tommi Mäkitalo <[email protected]> wrote:

> On Samstag, 5. September 2009 09:17:58 Anitha Boyapati wrote:
> > Hello,
> >
> > I am wondering if there is a way to download just binaries of cxxtools
> and
> > tntnet. I am facing build issues and an eventual delay in running the
> > samples.
> > Let me know the link to download binaries for windows (cygwin
> environment)
> Hi,
>
> there are no binaries other than those in some distributions. Tntnet can be
> found at least in the repositories of debian, ubuntu and opensuse.
>
> I don't know if tntnet runs in cygwin. You may tell us about your build
> issues. Maybe I can help. Tntnet has some build requisites. Often the
> reason
> for build issues are missing zlib- or gnutls-headers. If zlib-headers are
> missing, you should install zlib-dev or whatever the package is named in
> your
> environment. You can disable gnutls by running configure with the
> "--without-
> ssl"-switch. You won't have ssl support then but this is often not needed.
> At
> least it is not needed for testing tntnet.
>


I think ./configure went well without any issues. The problem is with build
of  src/httpreply.cpp
I have actually posted my errors in another post. For the convenience, I
shall repeat it here.

Making all in src
make[1]: Entering directory `/cygdrive/f/cxxtools-1.4.8/src'
make  all-am
make[2]: Entering directory `/cygdrive/f/cxxtools-1.4.8/src'
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I. -I../include    -g -O2 -MT libcxxtools_la-httpreply.lo -MD -MP -MF
".deps/libcxxtools_la-httpreply.Tpo" -c -o libcxxtools_la-httpreply.lo `test
-f 'httpreply.cpp' || echo './'`httpreply.cpp; \
    then mv -f ".deps/libcxxtools_la-httpreply.Tpo"
".deps/libcxxtools_la-httpreply.Plo"; else rm -f
".deps/libcxxtools_la-httpreply.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I. -I. -I../include -g -O2 -MT
libcxxtools_la-httpreply.lo -MD -MP -MF .deps/libcxxtools_la-httpreply.Tpo
-c httpreply.cpp  -DDLL_EXPORT -DPIC -o .libs/libcxxtools_la-httpreply.o
In file included from ../include/cxxtools/tcpstream.h:30,
                 from ../include/cxxtools/httprequest.h:25,
                 from httpreply.cpp:23:
../include/cxxtools/net.h: In member function
`cxxtools::net::Addrinfo::const_iterator&
cxxtools::net::Addrinfo::const_iterator::operator++()':
../include/cxxtools/net.h:157: error: invalid use of undefined type `struct
cxxtools::net::addrinfo'
../include/cxxtools/net.h:132: error: forward declaration of `struct
cxxtools::net::addrinfo'
../include/cxxtools/net.h: In member function
`cxxtools::net::Addrinfo::const_iterator
cxxtools::net::Addrinfo::const_iterator::operator++(int)':
../include/cxxtools/net.h:161: error: invalid use of undefined type `struct
cxxtools::net::addrinfo'
../include/cxxtools/net.h:132: error: forward declaration of `struct
cxxtools::net::addrinfo'
make[2]: *** [libcxxtools_la-httpreply.lo] Error 1
make[2]: Leaving directory `/cygdrive/f/cxxtools-1.4.8/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/cygdrive/f/cxxtools-1.4.8/src'
make: *** [all-recursive] Error 1


I did a grep and looks like struct addrinfo is not defined anywhere. My
initial thought was that I missed some files. Downloaded cxxtools-1.4.8
sources again. The error does not go. Ofcourse I dont find the definition of
addrinfo structure anywhere (only class Addrinfo is present)

- Anitha


>
> Tommi
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Tntnet-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tntnet-general
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general

Reply via email to