[Netkit.users] missing header files

Massimo Rimondini rimondin at dia.uniroma3.it
Mon Sep 20 09:33:37 CEST 2010


Dear Julien,

yes, that would be a good idea, but I am not sure whether it will make
in the next release.

Thank you for the suggestion.
Regards,
Massimo.


On 09/18/2010 12:58 PM, Julien Iguchi-Cartigny wrote:
> Dear Massimo,
>
> Just a little thing for next release. Is it possible to differnet
> organization for build system included in netkit ?
>
> At the present time, there is a single fs. Thus If I want to create a
> new fs with my own build system, I erase previous fs build system
>
> so it could be better if we have separate directories for each fs build
> scripts:
>
>  $NETKIT_HOME/fs/fs-build/netkit-original
>  $NETKIT_HOME/fs/fs-build/netkit-my-own-fs
>
> In $NETKIT_HOME/fs/ , installed-packages , and netkit-fs link to a
> default fs.
>
> this could lead to change the poisiton of some files, for instance
> netkit-filesystem-version
>
> The goal is than if you want to add a new fs with its build scripts, you
> just have to decompress it and nothing is replaced. the user just need
> to change the default links.
>
> That would be great to help new fs to be add in netkit (open vswitch
> and/or lenny build for instance).
>
> Thanks
>
> Cheers,
>
> Julien.
>
> On 09/18/2010 11:44 AM, Massimo Rimondini wrote:
>   
>> Dear Julien,
>>
>> in a vanilla kernel you would achieve this by using "make <your_targets>
>> V=1" (you can find this clue in "make help").
>> If you are lucky, Openvswitch's makefile may pass that flag along and
>> bring you the information you are seeking for.
>>
>> Regards,
>> Massimo.
>>
>>
>>
>> On 17/09/2010 20:19, Julien Iguchi-Cartigny wrote:
>>     
>>> I had the same problem, and I believe the problem is not coming from the
>>> linux header file but rather with a include path during compilation.
>>> Sadly i cannot find how to display the command line called by makefile
>>> during module compilation (i.e. what is behind "CC [M]
>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/genetlink-brcompat.o").
>>> If someone has some clues how to pring more information during kernel
>>> module compilation...
>>>
>>> Cheers,
>>>
>>> Julien.
>>>
>>> On 09/17/2010 05:31 PM, Ashish Agarwal wrote:
>>>   
>>>       
>>>> I am making another attempt to install Open vSwitch on a netkit machine. The
>>>> issue is that their compilation requires including kernel header files that
>>>> the distributed netkit kernel omits. I did the following:
>>>>
>>>> - compiled the kernel manually, which creates the necessary header files
>>>> - copied these over to the distributed kernel in the appropriate location
>>>>
>>>> However, I still get the following errors. Various header files are still
>>>> missing. Does anyone know why these would not show up after I compiled the
>>>> kernel myself (simply using the Makefile provided with Netkit)?
>>>>
>>>>
>>>> make  all-recursive
>>>> make[1]: Entering directory `/root/Downloads/openvswitch-1.1.0pre2'
>>>> Making all in datapath
>>>> make[2]: Entering directory `/root/Downloads/openvswitch-1.1.0pre2/datapath'
>>>> Making all in linux-2.6
>>>> make[3]: Entering directory
>>>> `/root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6'
>>>> make -C /lib/modules/2.6.26.5-netkit-K2.8/build
>>>> M=/root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6 modules
>>>> make[4]: Entering directory `/lib/modules/2.6.26.5-netkit-K2.8/build'
>>>>   CC [M]
>>>>  /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/genetlink-brcompat.o
>>>> In file included from include/asm/thread_info.h:12,
>>>>                  from include/linux/thread_info.h:47,
>>>>                  from include/linux/preempt.h:9,
>>>>                  from include/linux/spinlock.h:49,
>>>>                  from include/linux/seqlock.h:29,
>>>>                  from include/linux/time.h:8,
>>>>                  from include/linux/skbuff.h:19,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/linux/skbuff.h:4,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/linux/netlink.h:4,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/net/genetlink.h:5,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/genetlink-brcompat.c:1:
>>>> include/asm/page.h:105:17: error: mem.h: No such file or directory
>>>> In file included from include/asm/uaccess.h:10,
>>>>                  from include/asm/thread_info.h:13,
>>>>                  from include/linux/thread_info.h:47,
>>>>                  from include/linux/preempt.h:9,
>>>>                  from include/linux/spinlock.h:49,
>>>>                  from include/linux/seqlock.h:29,
>>>>                  from include/linux/time.h:8,
>>>>                  from include/linux/skbuff.h:19,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/linux/skbuff.h:4,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/linux/netlink.h:4,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/net/genetlink.h:5,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/genetlink-brcompat.c:1:
>>>> include/asm/processor.h:16:30: error: sysdep/faultinfo.h: No such file or
>>>> directory
>>>> In file included from include/asm/uaccess.h:10,
>>>>                  from include/asm/thread_info.h:13,
>>>>                  from include/linux/thread_info.h:47,
>>>>                  from include/linux/preempt.h:9,
>>>>                  from include/linux/spinlock.h:49,
>>>>                  from include/linux/seqlock.h:29,
>>>>                  from include/linux/time.h:8,
>>>>                  from include/linux/skbuff.h:19,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/linux/skbuff.h:4,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/linux/netlink.h:4,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/net/genetlink.h:5,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/genetlink-brcompat.c:1:
>>>> include/asm/processor.h:28: error: field ‘faultinfo’ has incomplete type
>>>> In file included from include/asm/ptrace.h:12,
>>>>                  from include/asm/processor-generic.h:13,
>>>>                  from include/asm/processor.h:76,
>>>>                  from include/asm/uaccess.h:10,
>>>>                  from include/asm/thread_info.h:13,
>>>>                  from include/linux/thread_info.h:47,
>>>>                  from include/linux/preempt.h:9,
>>>>                  from include/linux/spinlock.h:49,
>>>>                  from include/linux/seqlock.h:29,
>>>>                  from include/linux/time.h:8,
>>>>                  from include/linux/skbuff.h:19,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/linux/skbuff.h:4,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/linux/netlink.h:4,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/net/genetlink.h:5,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/genetlink-brcompat.c:1:
>>>> include/asm/ptrace-generic.h:13:27: error: sysdep/ptrace.h: No such file or
>>>> directory
>>>> In file included from include/asm/ptrace.h:12,
>>>>                  from include/asm/processor-generic.h:13,
>>>>                  from include/asm/processor.h:76,
>>>>                  from include/asm/uaccess.h:10,
>>>>                  from include/asm/thread_info.h:13,
>>>>                  from include/linux/thread_info.h:47,
>>>>                  from include/linux/preempt.h:9,
>>>>                  from include/linux/spinlock.h:49,
>>>>                  from include/linux/seqlock.h:29,
>>>>                  from include/linux/time.h:8,
>>>>                  from include/linux/skbuff.h:19,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/linux/skbuff.h:4,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/linux/netlink.h:4,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/net/genetlink.h:5,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/genetlink-brcompat.c:1:
>>>> include/asm/ptrace-generic.h:16: error: field ‘regs’ has incomplete type
>>>> In file included from include/asm/processor.h:76,
>>>>                  from include/asm/uaccess.h:10,
>>>>                  from include/asm/thread_info.h:13,
>>>>                  from include/linux/thread_info.h:47,
>>>>                  from include/linux/preempt.h:9,
>>>>                  from include/linux/spinlock.h:49,
>>>>                  from include/linux/seqlock.h:29,
>>>>                  from include/linux/time.h:8,
>>>>                  from include/linux/skbuff.h:19,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/linux/skbuff.h:4,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/linux/netlink.h:4,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/net/genetlink.h:5,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/genetlink-brcompat.c:1:
>>>> include/asm/processor-generic.h:14:23: error: registers.h: No such file or
>>>> directory
>>>> include/asm/processor-generic.h:15:31: error: sysdep/archsetjmp.h: No such
>>>> file or directory
>>>> In file included from include/asm/processor.h:76,
>>>>                  from include/asm/uaccess.h:10,
>>>>                  from include/asm/thread_info.h:13,
>>>>                  from include/linux/thread_info.h:47,
>>>>                  from include/linux/preempt.h:9,
>>>>                  from include/linux/spinlock.h:49,
>>>>                  from include/linux/seqlock.h:29,
>>>>                  from include/linux/time.h:8,
>>>>                  from include/linux/skbuff.h:19,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/linux/skbuff.h:4,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/linux/netlink.h:4,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/net/genetlink.h:5,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/genetlink-brcompat.c:1:
>>>> include/asm/processor-generic.h:32: error: expected specifier-qualifier-list
>>>> before ‘jmp_buf’
>>>> In file included from include/asm/thread_info.h:13,
>>>>                  from include/linux/thread_info.h:47,
>>>>                  from include/linux/preempt.h:9,
>>>>                  from include/linux/spinlock.h:49,
>>>>                  from include/linux/seqlock.h:29,
>>>>                  from include/linux/time.h:8,
>>>>                  from include/linux/skbuff.h:19,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/linux/skbuff.h:4,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/linux/netlink.h:4,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/net/genetlink.h:5,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/genetlink-brcompat.c:1:
>>>> include/asm/uaccess.h:41:24: error: um_uaccess.h: No such file or directory
>>>> In file included from include/linux/elf.h:7,
>>>>                  from include/linux/module.h:14,
>>>>                  from include/linux/textsearch.h:7,
>>>>                  from include/linux/skbuff.h:26,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/linux/skbuff.h:4,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/linux/netlink.h:4,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/net/genetlink.h:5,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/genetlink-brcompat.c:1:
>>>> include/asm/elf.h:9:18: error: skas.h: No such file or directory
>>>> In file included from include/net/checksum.h:26,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/net/checksum.h:4,
>>>>                  from include/linux/skbuff.h:27,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/linux/skbuff.h:4,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/linux/netlink.h:4,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/net/genetlink.h:5,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/genetlink-brcompat.c:1:
>>>> include/asm/checksum.h:4:29: error: sysdep/checksum.h: No such file or
>>>> directory
>>>> In file included from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/net/checksum.h:4,
>>>>                  from include/linux/skbuff.h:27,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/linux/skbuff.h:4,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/linux/netlink.h:4,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/net/genetlink.h:5,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/genetlink-brcompat.c:1:
>>>> include/net/checksum.h: In function ‘csum_and_copy_from_user’:
>>>> include/net/checksum.h:33: error: implicit declaration of function
>>>> ‘access_ok’
>>>> include/net/checksum.h:34: error: implicit declaration of function
>>>> ‘csum_partial_copy_from_user’
>>>> include/net/checksum.h: In function ‘csum_and_copy_to_user’:
>>>> include/net/checksum.h:47: error: implicit declaration of function
>>>> ‘csum_partial’
>>>> include/net/checksum.h:50: error: implicit declaration of function
>>>> ‘copy_to_user’
>>>> include/net/checksum.h: In function ‘csum_replace4’:
>>>> include/net/checksum.h:101: error: implicit declaration of function
>>>> ‘csum_fold’
>>>> In file included from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/linux/skbuff.h:4,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/linux/netlink.h:4,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/compat-2.6/include/net/genetlink.h:5,
>>>>                  from
>>>> /root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/genetlink-brcompat.c:1:
>>>> include/linux/skbuff.h: In function ‘skb_add_data’:
>>>> include/linux/skbuff.h:1335: error: implicit declaration of function
>>>> ‘copy_from_user’
>>>> make[5]: ***
>>>> [/root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6/genetlink-brcompat.o]
>>>> Error 1
>>>> make[4]: ***
>>>> [_module_/root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6] Error 2
>>>> make[4]: Leaving directory `/lib/modules/2.6.26.5-netkit-K2.8/build'
>>>> make[3]: *** [default] Error 2
>>>> make[3]: Leaving directory
>>>> `/root/Downloads/openvswitch-1.1.0pre2/datapath/linux-2.6'
>>>> make[2]: *** [all-recursive] Error 1
>>>> make[2]: Leaving directory `/root/Downloads/openvswitch-1.1.0pre2/datapath'
>>>> make[1]: *** [all-recursive] Error 1
>>>> make[1]: Leaving directory `/root/Downloads/openvswitch-1.1.0pre2'
>>>> make: *** [all] Error 2
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Netkit.users mailing list
>>>> Netkit.users a list.dia.uniroma3.it
>>>> http://list.dia.uniroma3.it/mailman/listinfo/netkit.users
>>>>     
>>>>         
>>>   
>>>
>>>
>>> _______________________________________________
>>> Netkit.users mailing list
>>> Netkit.users a list.dia.uniroma3.it
>>> http://list.dia.uniroma3.it/mailman/listinfo/netkit.users
>>>   
>>>       
>>
>> _______________________________________________
>> Netkit.users mailing list
>> Netkit.users a list.dia.uniroma3.it
>> http://list.dia.uniroma3.it/mailman/listinfo/netkit.users
>>     
>   
>
>
> _______________________________________________
> Netkit.users mailing list
> Netkit.users a list.dia.uniroma3.it
> http://list.dia.uniroma3.it/mailman/listinfo/netkit.users
>   
-------------- parte successiva --------------
Un allegato HTML ? stato rimosso...
URL: <http://list.dia.uniroma3.it/pipermail/netkit.users/attachments/20100920/9aaeb7c1/attachment-0001.htm>


More information about the Netkit.users mailing list