Fwd: Re: [sourcenav-devl] error on db4/PORT while buiding source in win32

View: New views
4 Messages — Rating Filter:   Alert me  

Fwd: Re: [sourcenav-devl] error on db4/PORT while buiding source in win32

by Earnie :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

FYI, just wanted you to know what SN is suggesting for building their  
product on windows.

Earnie

----- Forwarded message from freequaos@... -----
     Date: Sat, 10 Oct 2009 13:28:28 +0200
     From: Freek <freequaos@...>
Reply-To: sourcenav-devl@...
  Subject: Re: [sourcenav-devl] error on db4/PORT while buiding source in win32
       To: sourcenav-devl@...

1) Get SN NG4 which was the basis for SN 6.0 - there will be no
further releases for the "basic" source navigator. Go to
http://sourcenav.berlios.de

2) create the file c:\mingw\include\sys\socket.h
and put the following in it:

#ifndef _SYS_SOCKET_H
#define _SYS_SOCKET_H
typedef int socklen_t;
#endif

3) retry :)

That problem was also covered in the NG mailing list archive.

Cheers,
Ronny

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
sourcenav-devl mailing list
sourcenav-devl@...
https://lists.sourceforge.net/lists/listinfo/sourcenav-devl


----- End forwarded message -----



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
MinGW-dvlpr mailing list
MinGW-dvlpr@...
https://lists.sourceforge.net/lists/listinfo/mingw-dvlpr

Re: Fwd: Re: [sourcenav-devl] error on db4/PORT while buiding source in win32

by Chris Sutcliffe-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> FYI, just wanted you to know what SN is suggesting for building their
> product on windows.

<snip>

> 2) create the file c:\mingw\include\sys\socket.h
> and put the following in it:
>
> #ifndef _SYS_SOCKET_H
> #define _SYS_SOCKET_H
> typedef int socklen_t;
> #endif

Should this be added to mingwrt?

Chris

--
Chris Sutcliffe
http://emergedesktop.org

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
MinGW-dvlpr mailing list
MinGW-dvlpr@...
https://lists.sourceforge.net/lists/listinfo/mingw-dvlpr

Re: Fwd: Re: [sourcenav-devl] error on db4/PORT while buiding source in win32

by keithmarshall :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Monday 12 October 2009 15:29:54 Chris Sutcliffe wrote:
> > 2) create the file c:\mingw\include\sys\socket.h
> > and put the following in it:
> >
> > #ifndef _SYS_SOCKET_H
> > #define _SYS_SOCKET_H
> > typedef int socklen_t;
> > #endif
>
> Should this be added to mingwrt?

IMO, no.  sys/socket.h relates to Unix sockets, which aren't
supported in Windows.  If we add even a skeleton header, such as
this, then we are sure to attract complaints about the incomplete
status of the API; an API which we have no intent to support.

Technically, this is a bug in SN; they should fix it, without
requiring this kludgy work around.

--

Regards,
Keith.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
MinGW-dvlpr mailing list
MinGW-dvlpr@...
https://lists.sourceforge.net/lists/listinfo/mingw-dvlpr

Re: Fwd: Re: [sourcenav-devl] error on db4/PORT while buiding source in win32

by Aaron W. LaFramboise-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Chris Sutcliffe wrote:

> Should this be added to mingwrt?

For what it's worth, MSVC does not include this header, so its not in
the minimal Unix compatibility set that Windows compilers typically have.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
MinGW-dvlpr mailing list
MinGW-dvlpr@...
https://lists.sourceforge.net/lists/listinfo/mingw-dvlpr