How to compile PJSIP with IPV6 Support?

PC
Peter Cai
Thu, Nov 5, 2009 2:18 AM

When I turned on the IPV6 support option in PJSIP, the compiler complained
about a missing header file: tpipv6.h

It seems that on windows, PJSIP depends on external libraries to support
IPV6 and these libraries need to be installed.

So what exactly does PJSIP depends on and where I can find it?

I make some study but can not find anything related about this missing
header file.

--
look to the things around you,the immediate world around you, if you are
alive,it will mean something to you ——Paul Strand

When I turned on the IPV6 support option in PJSIP, the compiler complained about a missing header file: tpipv6.h It seems that on windows, PJSIP depends on external libraries to support IPV6 and these libraries need to be installed. So what exactly does PJSIP depends on and where I can find it? I make some study but can not find anything related about this missing header file. -- look to the things around you,the immediate world around you, if you are alive,it will mean something to you ——Paul Strand
PC
Peter Cai
Thu, Nov 5, 2009 7:23 AM

For your information,  I've commented the line include "tpipv6.h", and it
could compile.

BUT I found that pjsip didn't support any TCP support for IP V6, seems that
I have to do it by myself.  :'(

On Thu, Nov 5, 2009 at 10:18 AM, Peter Cai newptcai@gmail.com wrote:

When I turned on the IPV6 support option in PJSIP, the compiler complained
about a missing header file: tpipv6.h

It seems that on windows, PJSIP depends on external libraries to support
IPV6 and these libraries need to be installed.

So what exactly does PJSIP depends on and where I can find it?

I make some study but can not find anything related about this missing
header file.

--
look to the things around you,the immediate world around you, if you are
alive,it will mean something to you ——Paul Strand

--
look to the things around you,the immediate world around you, if you are
alive,it will mean something to you ——Paul Strand

For your information, I've commented the line include "tpipv6.h", and it could compile. BUT I found that pjsip didn't support any TCP support for IP V6, seems that I have to do it by myself. :'( On Thu, Nov 5, 2009 at 10:18 AM, Peter Cai <newptcai@gmail.com> wrote: > When I turned on the IPV6 support option in PJSIP, the compiler complained > about a missing header file: tpipv6.h > > It seems that on windows, PJSIP depends on external libraries to support > IPV6 and these libraries need to be installed. > > So what exactly does PJSIP depends on and where I can find it? > > I make some study but can not find anything related about this missing > header file. > > -- > look to the things around you,the immediate world around you, if you are > alive,it will mean something to you ——Paul Strand > -- look to the things around you,the immediate world around you, if you are alive,it will mean something to you ——Paul Strand
KD
Klaus Darilion
Thu, Nov 5, 2009 2:08 PM

Peter Cai schrieb:

For your information,  I've commented the line include "tpipv6.h", and
it could compile.

IIRC I did not had any issues with mingw.

BUT I found that pjsip didn't support any TCP support for IP V6, seems
that I have to do it by myself.  :'(

yes, TLS is missing too :-(

klaus

Peter Cai schrieb: > For your information, I've commented the line include "tpipv6.h", and > it could compile. IIRC I did not had any issues with mingw. > BUT I found that pjsip didn't support any TCP support for IP V6, seems > that I have to do it by myself. :'( yes, TLS is missing too :-( klaus
BP
Benny Prijono
Fri, Nov 6, 2009 8:04 AM

On Thu, Nov 5, 2009 at 9:18 AM, Peter Cai newptcai@gmail.com wrote:

When I turned on the IPV6 support option in PJSIP, the compiler complained
about a missing header file: tpipv6.h

It seems that on windows, PJSIP depends on external libraries to support
IPV6 and these libraries need to be installed.

As you can see in <pj/compat/socket.h>, that depends on which Platform
SDK version that you use. PSDK that comes with VS6 for example,
doesn't have IPv6 support so you need to download IPv6Kit.

We detect IPv6 availability with "if !defined(IPPROTO_IPV6)". This
works with PSDK 2003 and 2005, but it may be broken with later version
(PSDK has the habit of changing things).

Which Visual Studio/PSDK version that you use?

Cheers
Benny

On Thu, Nov 5, 2009 at 9:18 AM, Peter Cai <newptcai@gmail.com> wrote: > When I turned on the IPV6 support option in PJSIP, the compiler complained > about a missing header file: tpipv6.h > > It seems that on windows, PJSIP depends on external libraries to support > IPV6 and these libraries need to be installed. > As you can see in <pj/compat/socket.h>, that depends on which Platform SDK version that you use. PSDK that comes with VS6 for example, doesn't have IPv6 support so you need to download IPv6Kit. We detect IPv6 availability with "if !defined(IPPROTO_IPV6)". This works with PSDK 2003 and 2005, but it may be broken with later version (PSDK has the habit of changing things). Which Visual Studio/PSDK version that you use? Cheers Benny
PC
Peter Cai
Mon, Nov 9, 2009 2:41 AM

We use visual studio 2008, so I think that makes the problem.

On Fri, Nov 6, 2009 at 4:04 PM, Benny Prijono bennylp@teluu.com wrote:

On Thu, Nov 5, 2009 at 9:18 AM, Peter Cai newptcai@gmail.com wrote:

When I turned on the IPV6 support option in PJSIP, the compiler complained
about a missing header file: tpipv6.h

It seems that on windows, PJSIP depends on external libraries to support
IPV6 and these libraries need to be installed.

As you can see in <pj/compat/socket.h>, that depends on which Platform
SDK version that you use. PSDK that comes with VS6 for example,
doesn't have IPv6 support so you need to download IPv6Kit.

We detect IPv6 availability with "if !defined(IPPROTO_IPV6)". This
works with PSDK 2003 and 2005, but it may be broken with later version
(PSDK has the habit of changing things).

Which Visual Studio/PSDK version that you use?

Cheers
 Benny


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

--
look to the things around you,the immediate world around you, if you
are alive,it will mean something to you ——Paul Strand

We use visual studio 2008, so I think that makes the problem. On Fri, Nov 6, 2009 at 4:04 PM, Benny Prijono <bennylp@teluu.com> wrote: > On Thu, Nov 5, 2009 at 9:18 AM, Peter Cai <newptcai@gmail.com> wrote: >> When I turned on the IPV6 support option in PJSIP, the compiler complained >> about a missing header file: tpipv6.h >> >> It seems that on windows, PJSIP depends on external libraries to support >> IPV6 and these libraries need to be installed. >> > > As you can see in <pj/compat/socket.h>, that depends on which Platform > SDK version that you use. PSDK that comes with VS6 for example, > doesn't have IPv6 support so you need to download IPv6Kit. > > We detect IPv6 availability with "if !defined(IPPROTO_IPV6)". This > works with PSDK 2003 and 2005, but it may be broken with later version > (PSDK has the habit of changing things). > > Which Visual Studio/PSDK version that you use? > > Cheers >  Benny > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > -- look to the things around you,the immediate world around you, if you are alive,it will mean something to you ——Paul Strand