[MIP6D-NG Support] mip6d-ng make all install errors

Norbert Varga varga.norbert89 at gmail.com
Sun Dec 8 16:23:29 CET 2013


Hello Gábor!

I wrote a short HOWTO about the installation of the custom kernel. This is
works fine for me on Ubuntu 12.04 (64 bit).

1. Download the kernel source

   * wget http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.x.tar.bz2
<http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.x.tar.bz2>*

2. Copy the the current config contained in /boot directory

    *wget http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.2.17.tar.bz2
<http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.2.17.tar.bz2>*

3. You can configure the kernel with* make menuconfig*

4. Patch the kernel

   * patch -p1 -d directory -i path_to_the_patch_file*

5. Compile and install the kernel

    sudo make
    sudo make modules_install



2013/12/8 Gábor Hegedüs <hgabor1989 at gmail.com>

> Hi!
>
> I tried it again. Same error again.
> I tried it without deb packeges (make,make modules, make headers_install,
> make install)
> and i got the same error again:
> https://dl.dropboxusercontent.com/u/91011488/NG_makeall4.png
> I copied the missing header file and I got other errors.
>
> Here is what I type in the CLI:
>
> git clone git://
> git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
> cd linux-stable/
> git tag -l
> git checkout 3.8.2
> cd ..
>
> patch -p1 -d linux-stable -i
> /home/mipv6/wakoond-mip6d-ng-e1627981bdcf/patches/kernel/3.8/kernel_xfrm6_raw.patch
>
> cp /boot/config-3.5.0-17-generic .config
> cd liux-stable/
> yes '' | make oldconfig
> make menuconfig
>
> Networking support / Networking options
>  Transformation sub policy support ==> y/m
> Networking support / Networking options / The IPv6 protocol
>  IPv6: Mobility ==> y/m
> IPv6: XFRM raw IPv6 tunnel ==> y/m
>
> make clean
> make -j 5 deb-pkg LOCALVERSION=-mip6dng
>
> sudo dpkg -i linux-image-3.8.2-mip6dng_3.8.2-mip6dng-*_i386.deb
> sudo dpkg -i linux-headers-3.8.2-mip6dng_3.8.2-mip6dng-*_i386.deb
>
> What is the problem with that?
>
> Thanks,
>  Gábor
>
>
> 2013/12/6 BOKOR Laszlo <goodzi at mcl.hu>
>
>>
>> Hi!
>>
>> Where have you performed the kernel setup in this workflow?
>>
>> Br,
>> goodzi
>>
>> ps.: please choose reply all in order to always keep the list cc-d.
>>
>>
>> --
>> László BOKOR
>> Budapest University of Technology and Economics (BME)
>> Department of Networked Systems and Services (HIT)
>> Tel: +36-1-463-2048, Fax: +36-1-463-3263
>> web: http://www.hit.bme.hu/~bokorl
>>
>> On Fri, 6 Dec 2013, Gábor Hegedüs wrote:
>>
>>  Hello!
>>> I did not use make install.
>>> I followed the readme files and 5th and 6th
>>> steps are:
>>>
>>> 5. Compiling kernel
>>> -------------------
>>> cd linux-stable
>>> make clean
>>> make -j `getconf _NPROCESSORS_ONLN` deb-pkg LOCALVERSION=-mip6dng
>>>
>>> 6. Installing the kernel
>>> ------------------------
>>> sudo dpkg -i linux-image-<VERSION>-*_i386.deb
>>> sudo dpkg -i linux-headers-<VERSION>-*_i386.deb
>>>
>>> There is not make install so I did not use this.
>>> I thought it is not necessary because of the dpkg commands.
>>> I will start the kernel steps again and I will use make install before
>>> dpkg commands. Will it OK?
>>>
>>> Gábor
>>>
>>>
>>>
>>>
>>> 2013/12/6 BOKOR Laszlo <goodzi at mcl.hu>
>>>
>>>       Hi!
>>>
>>>       Have you performed a make install after the kernel compilation? It
>>> seems that the new kernel's header files are not in
>>>       their default place.
>>>
>>>       Br,
>>>       goodzi
>>>
>>>       --
>>>       László BOKOR
>>>       Budapest University of Technology and Economics (BME)
>>>       Department of Networked Systems and Services (HIT)
>>>       Tel: +36-1-463-2048, Fax: +36-1-463-3263
>>>       web: http://www.hit.bme.hu/~bokorl
>>>
>>>       On Fri, 6 Dec 2013, Gábor Hegedüs wrote:
>>>
>>>
>>>             Yes I find it in:/usr/scr/linux-3.8.2-
>>> mip6dng/include/uapi/linux/netconf.h
>>>
>>>             What file can I overvrite to use this path?
>>>
>>>             Thanks,
>>>              Gábor
>>>
>>>
>>>             2013/12/6 BOKOR Laszlo <goodzi at mcl.hu>
>>>
>>>                   Hello!
>>>
>>>                   Can you locate the questionable netconf.h file on your
>>> system?
>>>
>>>                   Br,
>>>                   goodzi
>>>
>>>                   --
>>>                   László BOKOR
>>>                   Budapest University of Technology and Economics (BME)
>>>                   Department of Networked Systems and Services (HIT)
>>>                   Tel: +36-1-463-2048, Fax: +36-1-463-3263
>>>                   web: http://www.hit.bme.hu/~bokorl
>>>
>>>                   On Fri, 6 Dec 2013, Gábor Hegedüs wrote:
>>>
>>>                         Hello Laci!
>>>                         It is already installed.
>>>
>>>                         Gabor
>>>
>>>
>>>                         2013/12/6 BOKOR Laszlo <goodzi at mcl.hu>
>>>
>>>                               Dear Gabor,
>>>
>>>                               try install linux-libc-dev.
>>>
>>>                               Best regards,
>>>                               goodzi
>>>
>>>                               --
>>>                               László BOKOR
>>>                               Budapest University of Technology and
>>> Economics (BME)
>>>                               Department of Networked Systems and
>>> Services (HIT)
>>>                               Tel: +36-1-463-2048, Fax: +36-1-463-3263
>>>                               web: http://www.hit.bme.hu/~bokorl
>>>
>>>                               On Fri, 6 Dec 2013, Gábor Hegedüs wrote:
>>>
>>>                                     Hi All!
>>>                                     I tryed ti install mip6d-ng with mak
>>> all install command after ./configuration.
>>>                                     I get som errors. I linked the
>>> screenshots.
>>>
>>>                                     The end od the ./configure command'
>>> output:
>>>                                     https://dl.dropboxusercontent.
>>> com/u/91011488/NG_configure.png
>>>                                     Make all install outputs:
>>>                                     1: https://dl.dropboxusercontent.
>>> com/u/91011488/NG_makeall1.png
>>>                                     2: https://dl.
>>> dropboxusercontent.com/u/91011488/NG_makeall2.png
>>>                                     3: https://dl.
>>> dropboxusercontent.com/u/91011488/NG_makeall3.png
>>>                                     4: https://dl.
>>> dropboxusercontent.com/u/91011488/NG_makeall4.png
>>>
>>>                                     I did not find netconf.h.
>>>
>>>                                     What could be the problem?
>>>
>>>
>>>                                     Thanks,
>>>                                      Gábor
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>
> _______________________________________________
> Support mailing list
> Support at mip6d-ng.net
> http://mcl.hu/mailman/listinfo/support
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mcl.hu/pipermail/support/attachments/20131208/e9931079/attachment-0001.html>


More information about the Support mailing list