[libgtpnl] add README.md file for build guide

Submitted by junpei yoshino on Oct. 6, 2016, 2:10 p.m.

Details

Message ID CAP_hEED2rtgRcS9v7Dm0pYvtXfr=zzFvje+c_kX7zbxxQYaM2A@mail.gmail.com
State New
Series "add README.md file for build guide"
Headers show

Commit Message

junpei yoshino Oct. 6, 2016, 2:10 p.m.
Hello

I write build guide.

 README.md | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 README.md


Best Regards,
Junpei Yoshino

Patch hide | download patch | download mbox

diff --git a/README.md b/README.md
new file mode 100644
index 0000000..c6718d2
--- /dev/null
+++ b/README.md
@@ -0,0 +1,11 @@ 
+# How to build
+
+```
+$ git clone git://git.osmocom.org/libgtpnl
+$ cd libgtpnl
+$ autoreconf -fi
+$ cd tools
+$ make gtp-tunnel
+$ make gtp-link
+```
+

Comments

Ashish Kurian Oct. 7, 2016, 7:36 a.m.
Dear All,

I tried the commands as instructed and got an error with the command sudo
make gtp-tunnel as follows





*gtp-tunnel.c:36:27: fatal error: libmnl/libmnl.h: No such file or
directory #include <libmnl/libmnl.h>                           ^compilation
terminated.make: *** [gtp-tunnel] Error 1*






Best Regards,
Ashish Kurian

On Thu, Oct 6, 2016 at 4:10 PM, junpei yoshino <junpei.yoshino@gmail.com>
wrote:

> Hello
>
> I write build guide.
>
>  README.md | 11 +++++++++++
>  1 file changed, 11 insertions(+)
>  create mode 100644 README.md
>
> diff --git a/README.md b/README.md
> new file mode 100644
> index 0000000..c6718d2
> --- /dev/null
> +++ b/README.md
> @@ -0,0 +1,11 @@
> +# How to build
> +
> +```
> +$ git clone git://git.osmocom.org/libgtpnl
> +$ cd libgtpnl
> +$ autoreconf -fi
> +$ cd tools
> +$ make gtp-tunnel
> +$ make gtp-link
> +```
> +
>
> Best Regards,
> Junpei Yoshino
>
> --
> junpei.yoshino@gmail.com
>
junpei yoshino Oct. 7, 2016, 7:53 a.m.
Hello Ashish

libgtpnl requires libmnl.
Please install libmnl before build libgtpnl.

Best Regards,
Junpei Yoshino


On Fri, Oct 7, 2016 at 4:36 PM, Ashish Kurian <ashishbnv@gmail.com> wrote:
> Dear All,
>
> I tried the commands as instructed and got an error with the command sudo
> make gtp-tunnel as follows
>
> gtp-tunnel.c:36:27: fatal error: libmnl/libmnl.h: No such file or directory
>  #include <libmnl/libmnl.h>
>                            ^
> compilation terminated.
> make: *** [gtp-tunnel] Error 1
>
>
>
>
>
>
> Best Regards,
> Ashish Kurian
>
> On Thu, Oct 6, 2016 at 4:10 PM, junpei yoshino <junpei.yoshino@gmail.com>
> wrote:
>>
>> Hello
>>
>> I write build guide.
>>
>>  README.md | 11 +++++++++++
>>  1 file changed, 11 insertions(+)
>>  create mode 100644 README.md
>>
>> diff --git a/README.md b/README.md
>> new file mode 100644
>> index 0000000..c6718d2
>> --- /dev/null
>> +++ b/README.md
>> @@ -0,0 +1,11 @@
>> +# How to build
>> +
>> +```
>> +$ git clone git://git.osmocom.org/libgtpnl
>> +$ cd libgtpnl
>> +$ autoreconf -fi
>> +$ cd tools
>> +$ make gtp-tunnel
>> +$ make gtp-link
>> +```
>> +
>>
>> Best Regards,
>> Junpei Yoshino
>>
>> --
>> junpei.yoshino@gmail.com
>
>
Ashish Kurian Oct. 7, 2016, 8:04 a.m.
Dear All,

Thank you for your help and it worked. But now I ran into another error


*gtp-tunnel.c:39:23: fatal error: linux/gtp.h: No such file or
directory #include <linux/gtp.h>*

Best Regards,
Ashish Kurian

On Fri, Oct 7, 2016 at 9:53 AM, junpei yoshino <junpei.yoshino@gmail.com>
wrote:

> Hello Ashish
>
> libgtpnl requires libmnl.
> Please install libmnl before build libgtpnl.
>
> Best Regards,
> Junpei Yoshino
>
>
> On Fri, Oct 7, 2016 at 4:36 PM, Ashish Kurian <ashishbnv@gmail.com> wrote:
> > Dear All,
> >
> > I tried the commands as instructed and got an error with the command sudo
> > make gtp-tunnel as follows
> >
> > gtp-tunnel.c:36:27: fatal error: libmnl/libmnl.h: No such file or
> directory
> >  #include <libmnl/libmnl.h>
> >                            ^
> > compilation terminated.
> > make: *** [gtp-tunnel] Error 1
> >
> >
> >
> >
> >
> >
> > Best Regards,
> > Ashish Kurian
> >
> > On Thu, Oct 6, 2016 at 4:10 PM, junpei yoshino <junpei.yoshino@gmail.com
> >
> > wrote:
> >>
> >> Hello
> >>
> >> I write build guide.
> >>
> >>  README.md | 11 +++++++++++
> >>  1 file changed, 11 insertions(+)
> >>  create mode 100644 README.md
> >>
> >> diff --git a/README.md b/README.md
> >> new file mode 100644
> >> index 0000000..c6718d2
> >> --- /dev/null
> >> +++ b/README.md
> >> @@ -0,0 +1,11 @@
> >> +# How to build
> >> +
> >> +```
> >> +$ git clone git://git.osmocom.org/libgtpnl
> >> +$ cd libgtpnl
> >> +$ autoreconf -fi
> >> +$ cd tools
> >> +$ make gtp-tunnel
> >> +$ make gtp-link
> >> +```
> >> +
> >>
> >> Best Regards,
> >> Junpei Yoshino
> >>
> >> --
> >> junpei.yoshino@gmail.com
> >
> >
>
>
>
> --
> junpei.yoshino@gmail.com
>
junpei yoshino Oct. 7, 2016, 8:10 a.m.
Hello Ashish

Which version linux kernel do you use?
4.7 and later has that file.
you need to use linux kernel 4.7.

Best Regards,
Junpei Yoshino


On Fri, Oct 7, 2016 at 5:04 PM, Ashish Kurian <ashishbnv@gmail.com> wrote:
> Dear All,
>
> Thank you for your help and it worked. But now I ran into another error
>
> gtp-tunnel.c:39:23: fatal error: linux/gtp.h: No such file or directory
>  #include <linux/gtp.h>
>
> Best Regards,
> Ashish Kurian
>
> On Fri, Oct 7, 2016 at 9:53 AM, junpei yoshino <junpei.yoshino@gmail.com>
> wrote:
>>
>> Hello Ashish
>>
>> libgtpnl requires libmnl.
>> Please install libmnl before build libgtpnl.
>>
>> Best Regards,
>> Junpei Yoshino
>>
>>
>> On Fri, Oct 7, 2016 at 4:36 PM, Ashish Kurian <ashishbnv@gmail.com> wrote:
>> > Dear All,
>> >
>> > I tried the commands as instructed and got an error with the command
>> > sudo
>> > make gtp-tunnel as follows
>> >
>> > gtp-tunnel.c:36:27: fatal error: libmnl/libmnl.h: No such file or
>> > directory
>> >  #include <libmnl/libmnl.h>
>> >                            ^
>> > compilation terminated.
>> > make: *** [gtp-tunnel] Error 1
>> >
>> >
>> >
>> >
>> >
>> >
>> > Best Regards,
>> > Ashish Kurian
>> >
>> > On Thu, Oct 6, 2016 at 4:10 PM, junpei yoshino
>> > <junpei.yoshino@gmail.com>
>> > wrote:
>> >>
>> >> Hello
>> >>
>> >> I write build guide.
>> >>
>> >>  README.md | 11 +++++++++++
>> >>  1 file changed, 11 insertions(+)
>> >>  create mode 100644 README.md
>> >>
>> >> diff --git a/README.md b/README.md
>> >> new file mode 100644
>> >> index 0000000..c6718d2
>> >> --- /dev/null
>> >> +++ b/README.md
>> >> @@ -0,0 +1,11 @@
>> >> +# How to build
>> >> +
>> >> +```
>> >> +$ git clone git://git.osmocom.org/libgtpnl
>> >> +$ cd libgtpnl
>> >> +$ autoreconf -fi
>> >> +$ cd tools
>> >> +$ make gtp-tunnel
>> >> +$ make gtp-link
>> >> +```
>> >> +
>> >>
>> >> Best Regards,
>> >> Junpei Yoshino
>> >>
>> >> --
>> >> junpei.yoshino@gmail.com
>> >
>> >
>>
>>
>>
>> --
>> junpei.yoshino@gmail.com
>
>
Ashish Kurian Oct. 7, 2016, 8:12 a.m.
Dear Junpei,

I am using linux kernel version 3.9 . That is because, I am using a patch
on the OVS package and that patch is supported only in OVS 2.5 and OVS 2.5
supports only kernel versions < 4.3.

Is there any way I can get that file on my current kernel version?

Best Regards,
Ashish Kurian

On Fri, Oct 7, 2016 at 10:10 AM, junpei yoshino <junpei.yoshino@gmail.com>
wrote:

> Hello Ashish
>
> Which version linux kernel do you use?
> 4.7 and later has that file.
> you need to use linux kernel 4.7.
>
> Best Regards,
> Junpei Yoshino
>
>
> On Fri, Oct 7, 2016 at 5:04 PM, Ashish Kurian <ashishbnv@gmail.com> wrote:
> > Dear All,
> >
> > Thank you for your help and it worked. But now I ran into another error
> >
> > gtp-tunnel.c:39:23: fatal error: linux/gtp.h: No such file or directory
> >  #include <linux/gtp.h>
> >
> > Best Regards,
> > Ashish Kurian
> >
> > On Fri, Oct 7, 2016 at 9:53 AM, junpei yoshino <junpei.yoshino@gmail.com
> >
> > wrote:
> >>
> >> Hello Ashish
> >>
> >> libgtpnl requires libmnl.
> >> Please install libmnl before build libgtpnl.
> >>
> >> Best Regards,
> >> Junpei Yoshino
> >>
> >>
> >> On Fri, Oct 7, 2016 at 4:36 PM, Ashish Kurian <ashishbnv@gmail.com>
> wrote:
> >> > Dear All,
> >> >
> >> > I tried the commands as instructed and got an error with the command
> >> > sudo
> >> > make gtp-tunnel as follows
> >> >
> >> > gtp-tunnel.c:36:27: fatal error: libmnl/libmnl.h: No such file or
> >> > directory
> >> >  #include <libmnl/libmnl.h>
> >> >                            ^
> >> > compilation terminated.
> >> > make: *** [gtp-tunnel] Error 1
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > Best Regards,
> >> > Ashish Kurian
> >> >
> >> > On Thu, Oct 6, 2016 at 4:10 PM, junpei yoshino
> >> > <junpei.yoshino@gmail.com>
> >> > wrote:
> >> >>
> >> >> Hello
> >> >>
> >> >> I write build guide.
> >> >>
> >> >>  README.md | 11 +++++++++++
> >> >>  1 file changed, 11 insertions(+)
> >> >>  create mode 100644 README.md
> >> >>
> >> >> diff --git a/README.md b/README.md
> >> >> new file mode 100644
> >> >> index 0000000..c6718d2
> >> >> --- /dev/null
> >> >> +++ b/README.md
> >> >> @@ -0,0 +1,11 @@
> >> >> +# How to build
> >> >> +
> >> >> +```
> >> >> +$ git clone git://git.osmocom.org/libgtpnl
> >> >> +$ cd libgtpnl
> >> >> +$ autoreconf -fi
> >> >> +$ cd tools
> >> >> +$ make gtp-tunnel
> >> >> +$ make gtp-link
> >> >> +```
> >> >> +
> >> >>
> >> >> Best Regards,
> >> >> Junpei Yoshino
> >> >>
> >> >> --
> >> >> junpei.yoshino@gmail.com
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> junpei.yoshino@gmail.com
> >
> >
>
>
>
> --
> junpei.yoshino@gmail.com
>
Harald Welte Oct. 7, 2016, 8:18 a.m.
On Fri, Oct 07, 2016 at 10:12:55AM +0200, Ashish Kurian wrote:
> Is there any way I can get that file on my current kernel version?

I think you have some fundamental misunerstanding on how linux kenrel
development works, and miss the fact that the GTP kernel module was
merged in 4.7.
Ashish Kurian Oct. 7, 2016, 9:33 a.m.
Dear Welte,

Yes I am a complete beginner in this. I started looking into this gtp-u
kernel support as it was said in the mailing list that first you should get
the gtp-u support on kernel and then they will merge gtp-u patch for OVS
into the mainline OVS.

So are you saying that it is impossible to add  support in the kernel 3.9?

Best Regards,
Ashish Kurian

On Fri, Oct 7, 2016 at 10:18 AM, Harald Welte <laforge@gnumonks.org> wrote:

> On Fri, Oct 07, 2016 at 10:12:55AM +0200, Ashish Kurian wrote:
> > Is there any way I can get that file on my current kernel version?
>
> I think you have some fundamental misunerstanding on how linux kenrel
> development works, and miss the fact that the GTP kernel module was
> merged in 4.7.
>
> --
> - Harald Welte <laforge@gnumonks.org>
> http://laforge.gnumonks.org/
> ============================================================
> ================
> "Privacy in residential applications is a desirable marketing option."
>                                                   (ETSI EN 300 175-7 Ch.
> A6)
>
Harald Welte Oct. 7, 2016, 9:55 a.m.
Hi Ashish,

On Fri, Oct 07, 2016 at 11:33:48AM +0200, Ashish Kurian wrote:
> So are you saying that it is impossible to add  support in the kernel 3.9?

If you are a Linux kernel developer (or hire one), it is possible to
back-port the GTP-u module.  Hoewver, this is a significant amount of
work, and it is generally a very bad idea to use old kernels, for many
reasons.  So rather than using the developer resource for something
that's useful in the future, you use that resource for catching up with
the past.

3.9.x is not receiving any security fixes or bug fixes, check
https://www.kernel.org/

It's a bit like insisting on Windows XP, even though it's not supported
anymore for a long time.