[Click] Error compiling my package in Click for kernel level

Eddie Kohler ekohler at gmail.com
Tue Jan 31 09:11:07 EST 2012


Harkeerat,

Your btree.cc file is #includeing <pthread.h>. That header file, and pthreads 
more generally, only work at user level. You will not be able to use this 
element in the kernel.

If you want to run your element in the kernel, make sure that it depends ONLY 
on Click header files, like <click/glue.hh>, and not on other user-level 
header files.

Eddie


On 1/31/12 2:50 AM, Harkeerat Bedi wrote:
> Hello all,
>
> I have Click version 2.0.1 from git-hub installed (both user level and
> patchless kernel level) on an Ubuntu 10.04 LTS system. My kernel is
> 2.6.32-38-generic (i686) and gcc version is 4.4.3 (Ubuntu 4.4.3-4ubuntu5).
>
> I am trying to compile and install my package for kernel level and am not
> able to do so. In my package directory, I run autoconf, and ./configure
> --prefix="path to my click installation directory".
>
> When I execute "make install", it aborts with the following errors (pasted
> below this email).
>
> On a side note, my package compiles and runs fine on a system which has
> only user level Click installed.
>
> Can someone kindly help? Thank you in advance.
>
> Regards,
> Harkeerat Bedi
> University of Memphis
>
> ----------------------------------
> Output of "make install":
> ----------------------------------
>
> make -R CLICK_PACKAGE_MAKING=userlevel myelementpackage.uo
> make[1]: Entering directory
> `/mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6'
> make[1]: `myelementpackage.uo' is up to date.
> make[1]: Leaving directory
> `/mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6'
> make -R CLICK_PACKAGE_MAKING=linuxmodule myelementpackage.ko
> make[1]: Entering directory
> `/mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6'
> { ( make -C /lib/modules/2.6.32-38-generic/build
> M=/mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6
>   CLICK_PACKAGE_MAKING=linuxmodule-26 modules 2>&1 1>&3; echo $?>
> .myelementpackage.ko.status ) | grep -iv '^[\* ]*Warning:.*undefined' 1>&2;
> } 3>&1; v=`cat .myelementpackage.ko.status`; rm
> .myelementpackage.ko.status; exit $v
> make[2]: Entering directory `/usr/src/linux-headers-2.6.32-38-generic'
>    CXX [M] btree.ko
> In file included from /usr/include/pthread.h:26,
>                   from
> /usr/include/c++/4.4/i486-linux-gnu/bits/gthr-default.h:41,
>                   from /usr/include/c++/4.4/i486-linux-gnu/bits/gthr.h:162,
>                   from /usr/include/c++/4.4/ext/atomicity.h:34,
>                   from /usr/include/c++/4.4/bits/ios_base.h:41,
>                   from /usr/include/c++/4.4/ios:43,
>                   from /usr/include/c++/4.4/ostream:40,
>                   from /usr/include/c++/4.4/iostream:40,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:20,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/storedflow.h:4,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/itemtype.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/nodetype.h:12,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/btree.h:16,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/btree.cc:24:
> /usr/include/time.h:104: error: conflicting declaration ‘typedef void*
> timer_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:35:
> error: ‘timer_t’ has a previous declaration as ‘typedef __kernel_timer_t
> timer_t’
> In file included from /usr/include/c++/4.4/ext/new_allocator.h:33,
>                   from
> /usr/include/c++/4.4/i486-linux-gnu/bits/c++allocator.h:34,
>                   from /usr/include/c++/4.4/bits/allocator.h:48,
>                   from /usr/include/c++/4.4/string:43,
>                   from /usr/include/c++/4.4/bits/locale_classes.h:42,
>                   from /usr/include/c++/4.4/bits/ios_base.h:43,
>                   from /usr/include/c++/4.4/ios:43,
>                   from /usr/include/c++/4.4/ostream:40,
>                   from /usr/include/c++/4.4/iostream:40,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:20,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/storedflow.h:4,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/itemtype.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/nodetype.h:12,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/btree.h:16,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/btree.cc:24:
> /usr/include/c++/4.4/new: In function ‘void* operator new(size_t, void*)’:
> /usr/include/c++/4.4/new:101: error: redefinition of ‘void* operator
> new(size_t, void*)’
> /usr/local/click/include/click/config-linuxmodule.h:215: error: ‘void*
> operator new(size_t, void*)’ previously defined here
> In file included from /usr/include/stdlib.h:320,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:23,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/storedflow.h:4,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/itemtype.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/nodetype.h:12,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/btree.h:16,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/btree.cc:24:
> /usr/include/sys/types.h: At global scope:
> /usr/include/sys/types.h:62: error: conflicting declaration ‘typedef
> __dev_t dev_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:26:
> error: ‘dev_t’ has a previous declaration as ‘typedef __kernel_dev_t dev_t’
> /usr/include/sys/types.h:72: error: conflicting declaration ‘typedef
> __mode_t mode_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:28:
> error: ‘mode_t’ has a previous declaration as ‘typedef __kernel_mode_t
> mode_t’
> /usr/include/sys/types.h:77: error: conflicting declaration ‘typedef
> __nlink_t nlink_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:29:
> error: ‘nlink_t’ has a previous declaration as ‘typedef __kernel_nlink_t
> nlink_t’
> In file included from /usr/include/sys/types.h:220,
>                   from /usr/include/stdlib.h:320,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:23,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/storedflow.h:4,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/itemtype.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/nodetype.h:12,
>                    from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/btree.h:16,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/btree.cc:24:
> /usr/include/sys/select.h:78: error: conflicting declaration ‘typedef
> struct fd_set fd_set’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:25:
> error: ‘fd_set’ has a pre  CXX [M] hbflisttype.ko
> vious declaration as ‘typedef struct __kernel_fd_set fd_set’
> In file included from /usr/include/stdlib.h:320,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:23,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/storedflow.h:4,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/itemtype.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/nodetype.h:12,
>                    from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/btree.h:16,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/btree.cc:24:
> /usr/include/sys/types.h:235: error: conflicting declaration ‘typedef
> __blkcnt_t blkcnt_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:143:
> error: ‘blkcnt_t’ has a previous declaration as ‘typedef u64 blkcnt_t’
> In file included from /usr/include/pthread.h:26,
>                   from
> /usr/include/c++/4.4/i486-linux-gnu/bits/gthr-default.h:41,
>                   from /usr/include/c++/4.4/i486-linux-gnu/bits/gthr.h:162,
>                   from /usr/include/c++/4.4/ext/atomicity.h:34,
>                   from /usr/include/c++/4.4/bits/ios_base.h:41,
>                   from /usr/include/c++/4.4/ios:43,
>                   from /usr/include/c++/4.4/ostream:40,
>                   from /usr/include/c++/4.4/iostream:40,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:20,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/storedflow.h:4,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/hbflisttype.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/hbflisttype.cc:13:
> /usr/include/time.h:104: error: conflicting declaration ‘typedef void*
> timer_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:35:
> error: ‘timer_t’ has a previous declaration as ‘typedef __kernel_timer_t
> timer_t’
> In file included from /usr/include/c++/4.4/ext/new_allocator.h:33,
>                   from
> /usr/include/c++/4.4/i486-linux-gnu/bits/c++allocator.h:34,
>                   from /usr/include/c++/4.4/bits/allocator.h:48,
>                   from /usr/include/c++/4.4/string:43,
>                   from /usr/include/c++/4.4/bits/locale_classes.h:42,
>                   from /usr/include/c++/4.4/bits/ios_base.h:43,
>                   from /usr/include/c++/4.4/ios:43,
>                   from /usr/include/c++/4.4/ostream:40,
>                   from /usr/include/c++/4.4/iostream:40,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:20,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/storedflow.h:4,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/hbflisttype.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/hbflisttype.cc:13:
> /usr/include/c++/4.4/new: In function ‘void* operator new(size_t, void*)’:
> /usr/include/c++/4.4/new:101: error: redefinition of ‘void* operator
> new(size_t, void*)’
> /usr/local/click/include/click/config-linuxmodule.h:215: error: ‘void*
> operator new(size_t, void*)’ previously defined here
> In file included from /usr/include/stdlib.h:320,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:23,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/storedflow.h:4,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/hbflisttype.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/hbflisttype.cc:13:
> /usr/include/sys/types.h: At global scope:
> /usr/include/sys/types.h:62: error: conflicting declaration ‘typedef
> __dev_t dev_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:26:
> error: ‘dev_t’ has a previous declaration as ‘typedef __kernel_dev_t dev_t’
> /usr/include/sys/types.h:72: error: conflicting declaration ‘typedef
> __mode_t mode_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:28:
> error: ‘mode_t’ has a previous declaration as ‘typedef __kernel_mode_t
> mode_t’
> /usr/include/sys/types.h:77: error: conflicting declaration ‘typedef
> __nlink_t nlink_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:29:
> error: ‘nlink_t’ has a previous declaration as ‘typedef __kernel_nlink_t
> nlink_t’
> In file included from /usr/include/sys/types.h:220,
>                   from /usr/include/stdlib.h:320,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:23,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/storedflow.h:4,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/hbflisttype.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/hbflistty
>   CXX [M] itemtype.ko
> pe.cc:13:
> /usr/include/sys/select.h:78: error: conflicting declaration ‘typedef
> struct fd_set fd_set’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:25:
> error: ‘fd_set’ has a previous declaration as ‘typedef struct
> __kernel_fd_set fd_set’
> In file included from /usr/include/stdlib.h:320,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:23,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/storedflow.h:4,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/hbflisttype.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/hbflisttype.cc:13:
> /usr/include/sys/types.h:235: error: conflicting declaration ‘typedef
> __blkcnt_t blkcnt_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:143:
> error: ‘blkcnt_t’ has a previous declaration as ‘typedef u64 blkcnt_t’
> In file included from /usr/include/pthread.h:26,
>                   from
> /usr/include/c++/4.4/i486-linux-gnu/bits/gthr-default.h:41,
>                   from /usr/include/c++/4.4/i486-linux-gnu/bits/gthr.h:162,
>                   from /usr/include/c++/4.4/ext/atomicity.h:34,
>                   from /usr/include/c++/4.4/bits/ios_base.h:41,
>                   from /usr/include/c++/4.4/ios:43,
>                   from /usr/include/c++/4.4/ostream:40,
>                   from /usr/include/c++/4.4/iostream:40,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:20,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/storedflow.h:4,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/itemtype.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/itemtype.cc:13:
> /usr/include/time.h:104: error: conflicting declaration ‘typedef void*
> timer_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:35:
> error: ‘timer_t’ has a previous declaration as ‘typedef __kernel_timer_t
> timer_t’
> In file included from /usr/include/c++/4.4/ext/new_allocator.h:33,
>                   from
> /usr/include/c++/4.4/i486-linux-gnu/bits/c++allocator.h:34,
>                   from /usr/include/c++/4.4/bits/allocator.h:48,
>                   from /usr/include/c++/4.4/string:43,
>                   from /usr/include/c++/4.4/bits/locale_classes.h:42,
>                   from /usr/include/c++/4.4/bits/ios_base.h:43,
>                   from /usr/include/c++/4.4/ios:43,
>                   from /usr/include/c++/4.4/ostream:40,
>                   from /usr/include/c++/4.4/iostream:40,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:20,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/storedflow.h:4,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/itemtype.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/itemtype.cc:13:
> /usr/include/c++/4.4/new: In function ‘void* operator new(size_t, void*)’:
> /usr/include/c++/4.4/new:101: error: redefinition of ‘void* operator
> new(size_t, void*)’
> /usr/local/click/include/click/config-linuxmodule.h:215: error: ‘void*
> operator new(size_t, void*)’ previously defined here
> In file included from /usr/include/stdlib.h:320,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:23,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/storedflow.h:4,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/itemtype.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/itemtype.cc:13:
> /usr/include/sys/types.h: At global scope:
> /usr/include/sys/types.h:62: error: conflicting declaration ‘typedef
> __dev_t dev_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:26:
> error: ‘dev_t’ has a previous declaration as ‘typedef __kernel_dev_t dev_t’
> /usr/include/sys/types.h:72: error: conflicting declaration ‘typedef
> __mode_t mode_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:28:
> error: ‘mode_t’ has a previous declaration as ‘typedef __kernel_mode_t
> mode_t’
> /usr/include/sys/types.h:77: error: conflicting declaration ‘typedef
> __nlink_t nlink_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:29:
> error: ‘nlink_t’ has a previous declaration as ‘typedef __kernel_nlink_t
> nlink_t’
> In file included from /usr/include/sys/types.h:220,
>                   from /usr/include/stdlib.h:320,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:23,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/storedflow.h:4,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/itemtype.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/itemtype.cc:1
>   CXX [M] listforcountingflowsize.ko
> 3:
> /usr/include/sys/select.h:78: error: conflicting declaration ‘typedef
> struct fd_set fd_set’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:25:
> error: ‘fd_set’ has a previous declaration as ‘typedef struct
> __kernel_fd_set fd_set’
> In file included from /usr/include/stdlib.h:320,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:23,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/storedflow.h:4,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/itemtype.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/itemtype.cc:13:
> /usr/include/sys/types.h:235: error: conflicting declaration ‘typedef
> __blkcnt_t blkcnt_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:143:
> error: ‘blkcnt_t’ has a previous declaration as ‘typedef u64 blkcnt_t’
> In file included from /usr/include/pthread.h:26,
>                   from
> /usr/include/c++/4.4/i486-linux-gnu/bits/gthr-default.h:41,
>                   from /usr/include/c++/4.4/i486-linux-gnu/bits/gthr.h:162,
>                   from /usr/include/c++/4.4/ext/atomicity.h:34,
>                   from /usr/include/c++/4.4/bits/ios_base.h:41,
>                   from /usr/include/c++/4.4/ios:43,
>                   from /usr/include/c++/4.4/ostream:40,
>                   from /usr/include/c++/4.4/iostream:40,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:20,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/listforcountingflowsize.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/listforcountingflowsize.cc:13:
> /usr/include/time.h:104: error: conflicting declaration ‘typedef void*
> timer_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:35:
> error: ‘timer_t’ has a previous declaration as ‘typedef __kernel_timer_t
> timer_t’
> In file included from /usr/include/c++/4.4/ext/new_allocator.h:33,
>                   from
> /usr/include/c++/4.4/i486-linux-gnu/bits/c++allocator.h:34,
>                   from /usr/include/c++/4.4/bits/allocator.h:48,
>                   from /usr/include/c++/4.4/string:43,
>                   from /usr/include/c++/4.4/bits/locale_classes.h:42,
>                   from /usr/include/c++/4.4/bits/ios_base.h:43,
>                   from /usr/include/c++/4.4/ios:43,
>                   from /usr/include/c++/4.4/ostream:40,
>                   from /usr/include/c++/4.4/iostream:40,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:20,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/listforcountingflowsize.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/listforcountingflowsize.cc:13:
> /usr/include/c++/4.4/new: In function ‘void* operator new(size_t, void*)’:
> /usr/include/c++/4.4/new:101: error: redefinition of ‘void* operator
> new(size_t, void*)’
> /usr/local/click/include/click/config-linuxmodule.h:215: error: ‘void*
> operator new(size_t, void*)’ previously defined here
> In file included from /usr/include/stdlib.h:320,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:23,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/listforcountingflowsize.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/listforcountingflowsize.cc:13:
> /usr/include/sys/types.h: At global scope:
> /usr/include/sys/types.h:62: error: conflicting declaration ‘typedef
> __dev_t dev_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:26:
> error: ‘dev_t’ has a previous declaration as ‘typedef __kernel_dev_t dev_t’
> /usr/include/sys/types.h:72: error: conflicting declaration ‘typedef
> __mode_t mode_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:28:
> error: ‘mode_t’ has a previous declaration as ‘typedef __kernel_mode_t
> mode_t’
> /usr/include/sys/types.h:77: error: conflicting declaration ‘typedef
> __nlink_t nlink_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:29:
> error: ‘nlink_t’ has a previous declaration as ‘typedef __kernel_nlink_t
> nlink_t’
> In file included from /usr/include/sys/types.h:220,
>                   from /usr/include/stdlib.h:320,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:23,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/listforcountingflowsize.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/listforcountingflowsize.cc:13:
> /usr/include/sys/select.h:78: error: conflicting declaration ‘typedef
> struct fd_set fd_set’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:25:
> error: ‘fd_set’ has a previous declaration as ‘typedef struct
> __kernel_fd_set fd_set’
> In file included from /usr/include  CXX [M] nodetype.ko
> /stdlib.h:320,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:23,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/listforcountingflowsize.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/listforcountingflowsize.cc:13:
> /usr/include/sys/types.h:235: error: conflicting declaration ‘typedef
> __blkcnt_t blkcnt_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:143:
> error: ‘blkcnt_t’ has a previous declaration as ‘typedef u64 blkcnt_t’
> In file included from /usr/include/pthread.h:26,
>                   from
> /usr/include/c++/4.4/i486-linux-gnu/bits/gthr-default.h:41,
>                   from /usr/include/c++/4.4/i486-linux-gnu/bits/gthr.h:162,
>                   from /usr/include/c++/4.4/ext/atomicity.h:34,
>                   from /usr/include/c++/4.4/bits/ios_base.h:41,
>                   from /usr/include/c++/4.4/ios:43,
>                   from /usr/include/c++/4.4/ostream:40,
>                   from /usr/include/c++/4.4/iostream:40,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:20,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/storedflow.h:4,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/itemtype.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/nodetype.h:12,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/nodetype.cc:13:
> /usr/include/time.h:104: error: conflicting declaration ‘typedef void*
> timer_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:35:
> error: ‘timer_t’ has a previous declaration as ‘typedef __kernel_timer_t
> timer_t’
> In file included from /usr/include/c++/4.4/ext/new_allocator.h:33,
>                   from
> /usr/include/c++/4.4/i486-linux-gnu/bits/c++allocator.h:34,
>                   from /usr/include/c++/4.4/bits/allocator.h:48,
>                   from /usr/include/c++/4.4/string:43,
>                   from /usr/include/c++/4.4/bits/locale_classes.h:42,
>                   from /usr/include/c++/4.4/bits/ios_base.h:43,
>                   from /usr/include/c++/4.4/ios:43,
>                   from /usr/include/c++/4.4/ostream:40,
>                   from /usr/include/c++/4.4/iostream:40,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:20,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/storedflow.h:4,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/itemtype.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/nodetype.h:12,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/nodetype.cc:13:
> /usr/include/c++/4.4/new: In function ‘void* operator new(size_t, void*)’:
> /usr/include/c++/4.4/new:101: error: redefinition of ‘void* operator
> new(size_t, void*)’
> /usr/local/click/include/click/config-linuxmodule.h:215: error: ‘void*
> operator new(size_t, void*)’ previously defined here
> In file included from /usr/include/stdlib.h:320,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:23,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/storedflow.h:4,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/itemtype.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/nodetype.h:12,
>                    from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/nodetype.cc:13:
> /usr/include/sys/types.h: At global scope:
> /usr/include/sys/types.h:62: error: conflicting declaration ‘typedef
> __dev_t dev_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:26:
> error: ‘dev_t’ has a previous declaration as ‘typedef __kernel_dev_t dev_t’
> /usr/include/sys/types.h:72: error: conflicting declaration ‘typedef
> __mode_t mode_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:28:
> error: ‘mode_t’ has a previous declaration as ‘typedef __kernel_mode_t
> mode_t’
> /usr/include/sys/types.h:77: error: conflicting declaration ‘typedef
> __nlink_t nlink_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:29:
> error: ‘nlink_t’ has a previous declaration as ‘typedef __kernel_nlink_t
> nlink_t’
> In file included from /usr/include/sys/types.h:220,
>                   from /usr/include/stdlib.h:320,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:23,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/storedflow.h:4,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/itemtype.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/nodetype.h:12,
>                    from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/nodetype.cc:13:
> /usr/include/sys/select.h:78: error: conflicting declaration ‘typedef
> struct fd_set fd_set’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:25:
> error: ‘fd_set’ has a previous declaration as ‘typedef struct
> __kernel_fd_set fd_set’
> In file included from /usr/include/stdlib.h:320,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:23,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/storedflow.h:4,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/itemtype.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/nodetype.h:12,
>                    from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/nodetype.cc:13:
> /usr/include/sys/types.h:235: error: conflicting declaration ‘typedef
> __blkcnt_t blkcnt_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:143:
> error: ‘blkcnt_t’ h  CXX [M] crectangle.ko
> as a previous declaration as ‘typedef u64 blkcnt_t’
> In file included from /usr/include/pthread.h:26,
>                   from
> /usr/include/c++/4.4/i486-linux-gnu/bits/gthr-default.h:41,
>                   from /usr/include/c++/4.4/i486-linux-gnu/bits/gthr.h:162,
>                   from /usr/include/c++/4.4/ext/atomicity.h:34,
>                   from /usr/include/c++/4.4/bits/ios_base.h:41,
>                   from /usr/include/c++/4.4/ios:43,
>                   from /usr/include/c++/4.4/ostream:40,
>                   from /usr/include/c++/4.4/iostream:40,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/crectangle/crectangle.cc:11:
> /usr/include/time.h:104: error: conflicting declaration ‘typedef void*
> timer_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:35:
> error: ‘timer_t’ has a previous declaration as ‘typedef __kernel_timer_t
> timer_t’
> In file included from /usr/include/c++/4.4/ext/new_allocator.h:33,
>                   from
> /usr/include/c++/4.4/i486-linux-gnu/bits/c++allocator.h:34,
>                   from /usr/include/c++/4.4/bits/allocator.h:48,
>                   from /usr/include/c++/4.4/string:43,
>                   from /usr/include/c++/4.4/bits/locale_classes.h:42,
>                   from /usr/include/c++/4.4/bits/ios_base.h:43,
>                   from /usr/include/c++/4.4/ios:43,
>                   from /usr/include/c++/4.4/ostream:40,
>                   from /usr/include/c++/4.4/iostream:40,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/crectangle/crectangle.cc:11:
> /usr/include/c++/4.4/new: In function ‘void* operator new(size_t, void*)’:
> /usr/include/c++/4.4/new:101: error: redefinition of ‘void* operator
> new(size_t, void*)’
> /usr/local/click/include/click/config-linuxmodule.h:215: error: ‘void*
> operator new(size_t, void*)’ previously defined here
> In file included from /usr/include/stdlib.h:320,
>                   from /usr/include/c++/4.4/cstdlib:68,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/crectangle/crectangle.cc:13:
> /usr/include/sys/types.h: At global scope:
> /usr/include/sys/types.h:62: error: conflicting declaration ‘typedef
> __dev_t dev_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:26:
> error: ‘dev_t’ has a previous declaration as ‘typedef __kernel_dev_t dev_t’
> /usr/include/sys/types.h:72: error: conflicting declaration ‘typedef
> __mode_t mode_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:28:
> error: ‘mode_t’ has a previous declaration as ‘typedef __kernel_mode_t
> mode_t’
> /usr/include/sys/types.h:77: error: conflicting declaration ‘typedef
> __nlink_t nlink_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:29:
> error: ‘nlink_t’ has a previous declaration as ‘typedef __kernel_nlink_t
> nlink_t’
> In file included from /usr/include/sys/types.h:220,
>                   from /usr/include/stdlib.h:320,
>                   from /usr/include/c++/4.4/cstdlib:68,
>                   from /mnt/hgfs/sharedFolderWithU  CXX [M] myhbfelement.ko
> buntu/myelementpackage_temp_6/crectangle/crectangle.cc:13:
> /usr/include/sys/select.h:78: error: conflicting declaration ‘typedef
> struct fd_set fd_set’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:25:
> error: ‘fd_set’ has a previous declaration as ‘typedef struct
> __kernel_fd_set fd_set’
> In file included from /usr/include/stdlib.h:320,
>                   from /usr/include/c++/4.4/cstdlib:68,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/crectangle/crectangle.cc:13:
> /usr/include/sys/types.h:235: error: conflicting declaration ‘typedef
> __blkcnt_t blkcnt_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:143:
> error: ‘blkcnt_t’ has a previous declaration as ‘typedef u64 blkcnt_t’
> In file included from /usr/include/c++/4.4/bits/stl_algobase.h:69,
>                   from /usr/include/c++/4.4/bits/char_traits.h:41,
>                   from /usr/include/c++/4.4/string:42,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/crectangle/crectangle.hh:12,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelement.hh:8,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelement.cc:3:
> /usr/include/c++/4.4/bits/stl_iterator.h: In constructor
> ‘std::reverse_iterator<_Iterator>::reverse_iterator()’:
> /usr/include/c++/4.4/bits/stl_iterator.h:114: error: class
> ‘std::reverse_iterator<_Iterator>’ does not have any field named
> ‘get_current’
> /usr/include/c++/4.4/bits/stl_iterator.h:114: error: expected ‘{’ before
> ‘(’ token
> /usr/include/c++/4.4/bits/stl_iterator.h: In constructor
> ‘std::reverse_iterator<_Iterator>::reverse_iterator(_Iterator)’:
> /usr/include/c++/4.4/bits/stl_iterator.h:120: error: class
> ‘std::reverse_iterator<_Iterator>’ does not have any field named
> ‘get_current’
> /usr/include/c++/4.4/bits/stl_iterator.h:120: error: expected ‘{’ before
> ‘(’ token
> /usr/include/c++/4.4/bits/stl_iterator.h: In copy constructor
> ‘std::reverse_iterator<_Iterator>::reverse_iterator(const
> std::reverse_iterator<_Iterator>&)’:
> /usr/include/c++/4.4/bits/stl_iterator.h:126: error: class
> ‘std::reverse_iterator<_Iterator>’ does not have any field named
> ‘get_current’
> /usr/include/c++/4.4/bits/stl_iterator.h:126: error: expected ‘{’ before
> ‘(’ token
> /usr/include/c++/4.4/bits/stl_iterator.h: In constructor
> ‘std::reverse_iterator<_Iterator>::reverse_iterator(const
> std::reverse_iterator<_Iter>&)’:
> /usr/include/c++/4.4/bits/stl_iterator.h:134: error: class
> ‘std::reverse_iterator<_Iterator>’ does not have any field named
> ‘get_current’
> /usr/include/c++/4.4/bits/stl_iterator.h:134: error: expected ‘{’ before
> ‘(’ token
> In file included from /usr/include/c++/4.4/ext/new_allocator.h:33,
>                   from
> /usr/include/c++/4.4/i486-linux-gnu/bits/c++allocator.h:34,
>                   from /usr/include/c++/4.4/bits/allocator.h:48,
>                   from /usr/include/c++/4.4/string:43,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/crectangle/crectangle.hh:12,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelement.hh:8,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelement.cc:3:
> /usr/include/c++/4.4/new: In function ‘void* operator new(size_t, void*)’:
> /usr/include/c++/4.4/new:101: error: redefinition of ‘void* operator
> new(size_t, void*)’
> /usr/local/click/include/click/config-linuxmodule.h:215: error: ‘void*
> operator new(size_t, void*)’ previously defined here
> In file included from /usr/include/c++/4.4/cctype:44,
>                   from /usr/include/c++/4.4/bits/localefwd.h:44,
>                   from /usr/include/c++/4.4/string:45,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/crectangle/crectangle.hh:12,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelement.hh:8,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelement.cc:3:
> /usr/include/ctype.h: At global scope:
> /usr/include/ctype.h:102: error: expected primary-expression before ‘int’
> /usr/include/ctype.h:102: error: expected ‘)’ before ‘int’
> /usr/include/ctype.h:102: error: expected ‘]’ before ‘;’ token
> /usr/include/ctype.h:102: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:102: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:102: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:103: error: expected primary-expression before ‘int’
> /usr/include/ctype.h:103: error: expected ‘)’ before ‘int’
> /usr/include/ctype.h:103: error: expected ‘]’ before ‘;’ token
> /usr/include/ctype.h:103: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:103: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:103: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:104: error: expected primary-expression before ‘int’
> /usr/include/ctype.h:104: error: expected ‘)’ before ‘int’
> /usr/include/ctype.h:104: error: expected ‘]’ before ‘;’ token
> /usr/include/ctype.h:104: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:104: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:104: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:105: error: expected primary-expression before ‘int’
> /usr/include/ctype.h:105: error: expected ‘)’ before ‘int’
> /usr/include/ctype.h:105: error: expected ‘]’ before ‘;’ token
> /usr/include/ctype.h:105: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:105: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:105: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:106: error: expected primary-expression before ‘int’
> /usr/include/ctype.h:106: error: expected ‘)’ before ‘int’
> /usr/include/ctype.h:106: error: expected ‘]’ before ‘;’ token
> /usr/include/ctype.h:106: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:106: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:106: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:107: error: expected primary-expression before ‘int’
> /usr/include/ctype.h:107: error: expected ‘)’ before ‘int’
> /usr/include/ctype.h:107: error: expected ‘]’ before ‘;’ token
> /usr/include/ctype.h:107: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:107: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:107: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:108: error: expected primary-expression before ‘int’
> /usr/include/ctype.h:108: error: expected ‘)’ before ‘int’
> /usr/include/ctype.h:108: error: expected ‘]’ before ‘;’ token
> /usr/include/ctype.h:108: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:108: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:108: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:109: error: expected primary-expression before ‘int’
> /usr/include/ctype.h:109: error: expected ‘)’ before ‘int’
> /usr/include/ctype.h:109: error: expected ‘]’ before ‘;’ token
> /usr/include/ctype.h:109: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:109: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:109: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:110: error: expected primary-expression before ‘int’
> /usr/include/ctype.h:110: error: expected ‘)’ before ‘int’
> /usr/include/ctype.h:110: error: expected ‘]’ before ‘;’ token
> /usr/include/ctype.h:110: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:110: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:110: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:111: error: expected primary-expression before ‘int’
> /usr/include/ctype.h:111: error: expected ‘)’ before ‘int’
> /usr/include/ctype.h:111: error: expected ‘]’ before ‘;’ token
> /usr/include/ctype.h:111: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:111: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:111: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:112: error: expected primary-expression before ‘int’
> /usr/include/ctype.h:112: error: expected ‘)’ before ‘int’
> /usr/include/ctype.h:112: error: expected ‘]’ before ‘;’ token
> /usr/include/ctype.h:112: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:112: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:112: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:116: error: declaration of C function ‘int
> __tolower(int)’ conflicts with
> /usr/local/click/include/click-linuxmodule/include0/linux/ctype.h:42:
> error: previous declaration ‘unsigned char __tolower(unsigned char)’ here
> /usr/include/ctype.h:119: error: declaration of C function ‘int
> __toupper(int)’ conflicts with
> /usr/local/click/include/click-linuxmodule/include0/linux/ctype.h:49:
> error: previous declaration ‘unsigned char __toupper(unsigned char)’ here
> /usr/include/ctype.h:142: error: expected unqualified-id before ‘unsigned’
> /usr/include/ctype.h:142: error: expected ‘)’ before ‘unsigned’
> /usr/include/ctype.h:142: error: expected ‘)’ before ‘unsigned’
> /usr/include/ctype.h:142: error: expected ‘)’ before ‘unsigned’
> /usr/include/ctype.h:146: error: expected unqualified-id before ‘unsigned’
> /usr/include/ctype.h:146: error: expected ‘)’ before ‘unsigned’
> /usr/include/ctype.h:146: error: expected ‘)’ before ‘unsigned’
> /usr/include/ctype.h:146: error: expected ‘)’ before ‘unsigned’
> In file included from /usr/include/c++/4.4/bits/localefwd.h:44,
>                   from /usr/include/c++/4.4/string:45,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/crectangle/crectangle.hh:12,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelement.hh:8,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelement.cc:3:
> /usr/include/c++/4.4/cctype:66: error: ‘::isalnum’ has not been declared
> /usr/include/c++/4.4/cctype:67: error: ‘::isalpha’ has not been declared
> /usr/include/c++/4.4/cctype:68: error: ‘::iscntrl’ has not been declared
> /usr/include/c++/4.4/cctype:69: error: ‘::isdigit’ has not been declared
> /usr/include/c++/4.4/cctype:70: error: ‘::isgraph’ has not been declared
> /usr/include/c++/4.4/cctype:71: error: ‘::islower’ has not been declared
> /usr/include/c++/4.4/cctype:72: error: ‘::isprint’ has not been declared
> /usr/include/c++/4.4/cctype:73: error: ‘::ispunct’ has not been declared
> /usr/include/c++/4.4/cctype:74: error: ‘::isspace’ has not been declared
> /usr/include/c++/4.4/cctype:75: error: ‘::isupper’ has not been declared
> /usr/include/c++/4.4/cctype:76: error: ‘::isxdigit’ has not been declared
> /usr/include/c++/4.4/cctype:77: error: ‘::tolower’ has not been declared
> /usr/include/c++/4.4/cctype:78: error: ‘::toupper’ has not been declared
> In file included from /usr/include/sched.h:32,
>                   from /usr/include/pthread.h:25,
>                   from
> /usr/include/c++/4.4/i486-linux-gnu/bits/gthr-default.h:41,
>                   from /usr/include/c++/4.4/i486-linux-gnu/bits/gthr.h:162,
>                   from /usr/include/c++/4.4/ext/atomicity.h:34,
>                   from /usr/include/c++/4.4/bits/basic_string.h:41,
>                   from /usr/include/c++/4.4/string:53,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/crectangle/crectangle.hh:12,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelement.hh:8,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelement.cc:3:
> /usr/include/time.h:120: error: redefinition of ‘struct timespec’
> /usr/local/click/include/click-linuxmodule/include0/linux/time.h:19: error:
> previous definition of ‘struct timespec’
> In file included from /usr/include/pthread.h:26,
>                   from
> /usr/include/c++/4.4/i486-linux-gnu/bits/gthr-default.h:41,
>                   from /usr/include/c++/4.4/i486-linux-gnu/bits/gthr.h:162,
>                   from /usr/include/c++/4.4/ext/atomicity.h:34,
>                   from /usr/include/c++/4.4/bits/basic_string.h:41,
>                   from /usr/include/c++/4.4/string:53,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/crectangle/crectangle.hh:12,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelement.hh:8,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelement.cc:3:
> /usr/include/time.h:104: error: conflicting declaration ‘typedef void*
> timer_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:35:
> error: ‘timer_t’ has a previous declaration as ‘typedef __kernel_timer_t
> timer_t’
> /usr/include/time.h:133: error: redefinition of ‘struct tm’
> /usr/local/click/include/click-linuxmodule/include0/linux/time.h:168:
> error: previous definition of ‘struct tm’
> /usr/include/time.h:161: error: redefinition of ‘struct itimerspec’
> /usr/local/click/include/click-linuxmodule/include0/linux/time.h:264:
> error: previous definition of ‘struct itimerspec’
> /usr/include/time.h:193: error: declaration of C function ‘__time_t
> mktime(tm*)’ conflicts with
> /usr/local/click/include/click-linuxmodule/include0/linux/time.h:79: error:
> previous declaration ‘long unsigned int mktime(unsigned int, unsigned int,
> unsigned int, unsigned int, unsigned int, unsigned int)’ here
> In file included from /usr/include/stdlib.h:320,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:23,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/storedflow.h:4,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/itemtype.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/nodetype.h:12,
>                    from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/btree.h:16,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelement.hh:9,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelement.cc:3:
> /usr/include/sys/types.h:62: error: conflicting declaration ‘typedef
> __dev_t dev_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:26:
> error: ‘dev_t’ has a previous declaration as ‘typedef __kernel_dev_t dev_t’
> /usr/include/sys/types.h:72: error: conflicting declaration ‘typedef
> __mode_t mode_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:28:
> error: ‘mode_t’ has a previous declaration as ‘typedef __kernel_mode_t
> mode_t’
> /usr/include/sys/types.h:77: error: conflicting declaration ‘typedef
> __nlink_t nlink_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:29:
> error: ‘nlink_t’ has a previous declaration as ‘typedef __kernel_nlink_t
> nlink_t’
> In file included from /usr/include/sys/select.h:46,
>                   from /usr/include/sys/types.h:220,
>                   from /usr/include/stdlib.h:320,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:23,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/storedflow.h:4,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/itemtype.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/nodetype.h:12,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/btree.h:16,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelement.hh:9,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelement.cc:3:
> /usr/include/bits/time.h:69: error: redefinition of ‘struct timeval’
> /usr/local/click/include/click-linuxmodule/include0/linux/time.h:25: error:
> previous definition of ‘struct timeval’
> In file included from /usr/include/sys/types.h:220,
>                   from /usr/include/stdlib.h:320,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:23,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/storedflow.h:4,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/itemtype.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/nodetype.h:12,
>                    from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/btree.h:16,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelement.hh:9,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelement.cc:3:
> /usr/include/sys/select.h:78: error: conflicting declaration ‘typedef
> struct fd_set fd_set’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:25:
> error: ‘fd_set’ has a previous declaration as ‘typedef struct
> __kernel_fd_set fd_set’
> In file included from /usr/include/stdlib.h:320,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:23,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/storedflow.h:4,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/itemtype.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/nodetype.h:12,
>                    from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/btree.h:16,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelement.hh:9,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelement.cc:3:
> /usr/include/sys/types.h:235: error: conflicting declaration ‘typedef
> __blkcnt_t blkcnt_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/ty  CXX [M]
> myhbfelementafterqueue.ko
> pes.h:143: error: ‘blkcnt_t’ has a previous declaration as ‘typedef u64
> blkcnt_t’
> In file included from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:23,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/storedflow.h:4,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/itemtype.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/nodetype.h:12,
>                    from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/btree.h:16,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelement.hh:9,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelement.cc:3:
> /usr/include/stdlib.h:766: error: expected unqualified-id before ‘{’ token
> /usr/include/stdlib.h:766: error: expected ‘)’ before ‘{’ token
> /usr/include/stdlib.h:766: error: expected unqualified-id before ‘)’ token
> In file included from /usr/include/c++/4.4/bits/stl_algobase.h:69,
>                   from /usr/include/c++/4.4/bits/char_traits.h:41,
>                   from /usr/include/c++/4.4/string:42,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/crectangle/crectangle.hh:12,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelementafterqueue.hh:7,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelementafterqueue.cc:3:
> /usr/include/c++/4.4/bits/stl_iterator.h: In constructor
> ‘std::reverse_iterator<_Iterator>::reverse_iterator()’:
> /usr/include/c++/4.4/bits/stl_iterator.h:114: error: class
> ‘std::reverse_iterator<_Iterator>’ does not have any field named
> ‘get_current’
> /usr/include/c++/4.4/bits/stl_iterator.h:114: error: expected ‘{’ before
> ‘(’ token
> /usr/include/c++/4.4/bits/stl_iterator.h: In constructor
> ‘std::reverse_iterator<_Iterator>::reverse_iterator(_Iterator)’:
> /usr/include/c++/4.4/bits/stl_iterator.h:120: error: class
> ‘std::reverse_iterator<_Iterator>’ does not have any field named
> ‘get_current’
> /usr/include/c++/4.4/bits/stl_iterator.h:120: error: expected ‘{’ before
> ‘(’ token
> /usr/include/c++/4.4/bits/stl_iterator.h: In copy constructor
> ‘std::reverse_iterator<_Iterator>::reverse_iterator(const
> std::reverse_iterator<_Iterator>&)’:
> /usr/include/c++/4.4/bits/stl_iterator.h:126: error: class
> ‘std::reverse_iterator<_Iterator>’ does not have any field named
> ‘get_current’
> /usr/include/c++/4.4/bits/stl_iterator.h:126: error: expected ‘{’ before
> ‘(’ token
> /usr/include/c++/4.4/bits/stl_iterator.h: In constructor
> ‘std::reverse_iterator<_Iterator>::reverse_iterator(const
> std::reverse_iterator<_Iter>&)’:
> /usr/include/c++/4.4/bits/stl_iterator.h:134: error: class
> ‘std::reverse_iterator<_Iterator>’ does not have any field named
> ‘get_current’
> /usr/include/c++/4.4/bits/stl_iterator.h:134: error: expected ‘{’ before
> ‘(’ token
> In file included from /usr/include/c++/4.4/ext/new_allocator.h:33,
>                   from
> /usr/include/c++/4.4/i486-linux-gnu/bits/c++allocator.h:34,
>                   from /usr/include/c++/4.4/bits/allocator.h:48,
>                   from /usr/include/c++/4.4/string:43,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/crectangle/crectangle.hh:12,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelementafterqueue.hh:7,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelementafterqueue.cc:3:
> /usr/include/c++/4.4/new: In function ‘void* operator new(size_t, void*)’:
> /usr/include/c++/4.4/new:101: error: redefinition of ‘void* operator
> new(size_t, void*)’
> /usr/local/click/include/click/config-linuxmodule.h:215: error: ‘void*
> operator new(size_t, void*)’ previously defined here
> In file included from /usr/include/c++/4.4/cctype:44,
>                   from /usr/include/c++/4.4/bits/localefwd.h:44,
>                   from /usr/include/c++/4.4/string:45,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/crectangle/crectangle.hh:12,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelementafterqueue.hh:7,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelementafterqueue.cc:3:
> /usr/include/ctype.h: At global scope:
> /usr/include/ctype.h:102: error: expected primary-expression before ‘int’
> /usr/include/ctype.h:102: error: expected ‘)’ before ‘int’
> /usr/include/ctype.h:102: error: expected ‘]’ before ‘;’ token
> /usr/include/ctype.h:102: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:102: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:102: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:103: error: expected primary-expression before ‘int’
> /usr/include/ctype.h:103: error: expected ‘)’ before ‘int’
> /usr/include/ctype.h:103: error: expected ‘]’ before ‘;’ token
> /usr/include/ctype.h:103: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:103: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:103: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:104: error: expected primary-expression before ‘int’
> /usr/include/ctype.h:104: error: expected ‘)’ before ‘int’
> /usr/include/ctype.h:104: error: expected ‘]’ before ‘;’ token
> /usr/include/ctype.h:104: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:104: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:104: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:105: error: expected primary-expression before ‘int’
> /usr/include/ctype.h:105: error: expected ‘)’ before ‘int’
> /usr/include/ctype.h:105: error: expected ‘]’ before ‘;’ token
> /usr/include/ctype.h:105: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:105: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:105: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:106: error: expected primary-expression before ‘int’
> /usr/include/ctype.h:106: error: expected ‘)’ before ‘int’
> /usr/include/ctype.h:106: error: expected ‘]’ before ‘;’ token
> /usr/include/ctype.h:106: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:106: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:106: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:107: error: expected primary-expression before ‘int’
> /usr/include/ctype.h:107: error: expected ‘)’ before ‘int’
> /usr/include/ctype.h:107: error: expected ‘]’ before ‘;’ token
> /usr/include/ctype.h:107: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:107: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:107: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:108: error: expected primary-expression before ‘int’
> /usr/include/ctype.h:108: error: expected ‘)’ before ‘int’
> /usr/include/ctype.h:108: error: expected ‘]’ before ‘;’ token
> /usr/include/ctype.h:108: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:108: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:108: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:109: error: expected primary-expression before ‘int’
> /usr/include/ctype.h:109: error: expected ‘)’ before ‘int’
> /usr/include/ctype.h:109: error: expected ‘]’ before ‘;’ token
> /usr/include/ctype.h:109: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:109: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:109: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:110: error: expected primary-expression before ‘int’
> /usr/include/ctype.h:110: error: expected ‘)’ before ‘int’
> /usr/include/ctype.h:110: error: expected ‘]’ before ‘;’ token
> /usr/include/ctype.h:110: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:110: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:110: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:111: error: expected primary-expression before ‘int’
> /usr/include/ctype.h:111: error: expected ‘)’ before ‘int’
> /usr/include/ctype.h:111: error: expected ‘]’ before ‘;’ token
> /usr/include/ctype.h:111: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:111: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:111: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:112: error: expected primary-expression before ‘int’
> /usr/include/ctype.h:112: error: expected ‘)’ before ‘int’
> /usr/include/ctype.h:112: error: expected ‘]’ before ‘;’ token
> /usr/include/ctype.h:112: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:112: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:112: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:116: error: declaration of C function ‘int
> __tolower(int)’ conflicts with
> /usr/local/click/include/click-linuxmodule/include0/linux/ctype.h:42:
> error: previous declaration ‘unsigned char __tolower(unsigned char)’ here
> /usr/include/ctype.h:119: error: declaration of C function ‘int
> __toupper(int)’ conflicts with
> /usr/local/click/include/click-linuxmodule/include0/linux/ctype.h:49:
> error: previous declaration ‘unsigned char __toupper(unsigned char)’ here
> /usr/include/ctype.h:142: error: expected unqualified-id before ‘unsigned’
> /usr/include/ctype.h:142: error: expected ‘)’ before ‘unsigned’
> /usr/include/ctype.h:142: error: expected ‘)’ before ‘unsigned’
> /usr/include/ctype.h:142: error: expected ‘)’ before ‘unsigned’
> /usr/include/ctype.h:146: error: expected unqualified-id before ‘unsigned’
> /usr/include/ctype.h:146: error: expected ‘)’ before ‘unsigned’
> /usr/include/ctype.h:146: error: expected ‘)’ before ‘unsigned’
> /usr/include/ctype.h:146: error: expected ‘)’ before ‘unsigned’
> In file included from /usr/include/c++/4.4/bits/localefwd.h:44,
>                   from /usr/include/c++/4.4/string:45,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/crectangle/crectangle.hh:12,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelementafterqueue.hh:7,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelementafterqueue.cc:3:
> /usr/include/c++/4.4/cctype:66: error: ‘::isalnum’ has not been declared
> /usr/include/c++/4.4/cctype:67: error: ‘::isalpha’ has not been declared
> /usr/include/c++/4.4/cctype:68: error: ‘::iscntrl’ has not been declared
> /usr/include/c++/4.4/cctype:69: error: ‘::isdigit’ has not been declared
> /usr/include/c++/4.4/cctype:70: error: ‘::isgraph’ has not been declared
> /usr/include/c++/4.4/cctype:71: error: ‘::islower’ has not been declared
> /usr/include/c++/4.4/cctype:72: error: ‘::isprint’ has not been declared
> /usr/include/c++/4.4/cctype:73: error: ‘::ispunct’ has not been declared
> /usr/include/c++/4.4/cctype:74: error: ‘::isspace’ has not been declared
> /usr/include/c++/4.4/cctype:75: error: ‘::isupper’ has not been declared
> /usr/include/c++/4.4/cctype:76: error: ‘::isxdigit’ has not been declared
> /usr/include/c++/4.4/cctype:77: error: ‘::tolower’ has not been declared
> /usr/include/c++/4.4/cctype:78: error: ‘::toupper’ has not been declared
> In file included from /usr/include/sched.h:32,
>                   from /usr/include/pthread.h:25,
>                   from
> /usr/include/c++/4.4/i486-linux-gnu/bits/gthr-default.h:41,
>                   from /usr/include/c++/4.4/i486-linux-gnu/bits/gthr.h:162,
>                   from /usr/include/c++/4.4/ext/atomicity.h:34,
>                   from /usr/include/c++/4.4/bits/basic_string.h:41,
>                   from /usr/include/c++/4.4/string:53,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/crectangle/crectangle.hh:12,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelementafterqueue.hh:7,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelementafterqueue.cc:3:
> /usr/include/time.h:120: error: redefinition of ‘struct timespec’
> /usr/local/click/include/click-linuxmodule/include0/linux/time.h:19: error:
> previous definition of ‘struct timespec’
> In file included from /usr/include/pthread.h:26,
>                   from
> /usr/include/c++/4.4/i486-linux-gnu/bits/gthr-default.h:41,
>                   from /usr/include/c++/4.4/i486-linux-gnu/bits/gthr.h:162,
>                   from /usr/include/c++/4.4/ext/atomicity.h:34,
>                   from /usr/include/c++/4.4/bits/basic_string.h:41,
>                   from /usr/include/c++/4.4/string:53,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/crectangle/crectangle.hh:12,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelementafterqueue.hh:7,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelementafterqueue.cc:3:
> /usr/include/time.h:104: error: conflicting declaration ‘typedef void*
> timer_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:35:
> error: ‘timer_t’ has a previous declaration as ‘typedef __kernel_timer_t
> timer_t’
> /usr/include/time.h:133: error: redefinition of ‘struct tm’
> /usr/local/click/include/click-linuxmodule/include0/linux/time.h:168:
> error: previous definition of ‘struct tm’
> /usr/include/time.h:161: error: redefinition of ‘struct itimerspec’
> /usr/local/click/include/click-linuxmodule/include0/linux/time.h:264:
> error: previous definition of ‘struct itimerspec’
> /usr/include/time.h:193: error: declaration of C function ‘__time_t
> mktime(tm*)’ conflicts with
> /usr/local/click/include/click-linuxmodule/include0/linux/time.h:79: error:
> previous declaration ‘long unsigned int mktime(unsigned int, unsigned int,
> unsigned int, unsigned int, unsigned int, unsigned int)’ here
> In file included from /usr/include/stdlib.h:320,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:23,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/storedflow.h:4,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/itemtype.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/nodetype.h:12,
>                    from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/btree.h:16,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelement.hh:9,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelementafterqueue.hh:8,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelementafterqueue.cc:3:
> /usr/include/sys/types.h:62: error: conflicting declaration ‘typedef
> __dev_t dev_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:26:
> error: ‘dev_t’ has a previous declaration as ‘typedef __kernel_dev_t dev_t’
> /usr/include/sys/types.h:72: error: conflicting declaration ‘typedef
> __mode_t mode_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:28:
> error: ‘mode_t’ has a previous declaration as ‘typedef __kernel_mode_t
> mode_t’
> /usr/include/sys/types.h:77: error: conflicting declaration ‘typedef
> __nlink_t nlink_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:29:
> error: ‘nlink_t’ has a previous declaration as ‘typedef __kernel_nlink_t
> nlink_t’
> In file included from /usr/include/sys/select.h:46,
>                   from /usr/include/sys/types.h:220,
>                   from /usr/include/stdlib.h:320,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:23,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/storedflow.h:4,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/itemtype.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/nodetype.h:12,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/btree.h:16,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelement.hh:9,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelementafterqueue.hh:8,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelementafterqueue.cc:3:
> /usr/include/bits/time.h:69: error: redefinition of ‘struct timeval’
> /usr/local/click/include/click-linuxmodule/include0/linux/time.h:25: error:
> previous definition of ‘struct timeval’
> In file included from /usr/include/sys/types.h:220,
>                   from /usr/include/stdlib.h:320,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:23,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/storedflow.h:4,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/itemtype.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/nodetype.h:12,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/btree.h:16,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelement.hh:9,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelementafterqueue.hh:8,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelementafterqueue.cc:3:
> /usr/include/sys/select.h:78: error: conflicting declaration ‘typedef
> struct fd_set fd_set’
>   /usr/local/click/include/click-linuxmodule/include0/linux/types.h:25:
> error: ‘fd_set’ has a previous declaration as ‘typedef struct
> __kernel_fd_set fd_set’
> In file included from /usr/include/stdlib.h:320,
>                    from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:23,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/storedflow.h:4,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/itemtype.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/nodetype.h:12,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/btree.h:16,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelement.hh:9,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelementafterqueue.hh:8,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelementafterqueue.cc:3:
> /usr/include/sys/types.h:235: error: conflicting declaration ‘typedef
> __blkcnt_t blkcnt_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:143:
> error: ‘blkcnt_t’ has a previous declaration as ‘typedef u64 blkcnt_t’
> In file included from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:23,
>    CXX [M] kpackage.ko
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/storedflow.h:4,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/itemtype.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/nodetype.h:12,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/btree.h:16,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelement.hh:9,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelementafterqueue.hh:8,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelementafterqueue.cc:3:
> /usr/include/stdlib.h:766: error: expected unqualified-id before ‘{’ token
> /usr/include/stdlib.h:766: error: expected ‘)’ before ‘{’ token
> /usr/include/stdlib.h:766: error: expected unqualified-id before ‘)’ token
> In file included from /usr/include/c++/4.4/bits/stl_algobase.h:69,
>                   from /usr/include/c++/4.4/bits/char_traits.h:41,
>                   from /usr/include/c++/4.4/string:42,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/crectangle/crectangle.hh:12,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelementafterqueue.hh:7,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/kpackage.cc:8:
> /usr/include/c++/4.4/bits/stl_iterator.h: In constructor
> ‘std::reverse_iterator<_Iterator>::reverse_iterator()’:
> /usr/include/c++/4.4/bits/stl_iterator.h:114: error: class
> ‘std::reverse_iterator<_Iterator>’ does not have any field named
> ‘get_current’
> /usr/include/c++/4.4/bits/stl_iterator.h:114: error: expected ‘{’ before
> ‘(’ token
> /usr/include/c++/4.4/bits/stl_iterator.h: In constructor
> ‘std::reverse_iterator<_Iterator>::reverse_iterator(_Iterator)’:
> /usr/include/c++/4.4/bits/stl_iterator.h:120: error: class
> ‘std::reverse_iterator<_Iterator>’ does not have any field named
> ‘get_current’
> /usr/include/c++/4.4/bits/stl_iterator.h:120: error: expected ‘{’ before
> ‘(’ token
> /usr/include/c++/4.4/bits/stl_iterator.h: In copy constructor
> ‘std::reverse_iterator<_Iterator>::reverse_iterator(const
> std::reverse_iterator<_Iterator>&)’:
> /usr/include/c++/4.4/bits/stl_iterator.h:126: error: class
> ‘std::reverse_iterator<_Iterator>’ does not have any field named
> ‘get_current’
> /usr/include/c++/4.4/bits/stl_iterator.h:126: error: expected ‘{’ before
> ‘(’ token
> /usr/include/c++/4.4/bits/stl_iterator.h: In constructor
> ‘std::reverse_iterator<_Iterator>::reverse_iterator(const
> std::reverse_iterator<_Iter>&)’:
> /usr/include/c++/4.4/bits/stl_iterator.h:134: error: class
> ‘std::reverse_iterator<_Iterator>’ does not have any field named
> ‘get_current’
> /usr/include/c++/4.4/bits/stl_iterator.h:134: error: expected ‘{’ before
> ‘(’ token
> In file included from /usr/include/c++/4.4/ext/new_allocator.h:33,
>                   from
> /usr/include/c++/4.4/i486-linux-gnu/bits/c++allocator.h:34,
>                   from /usr/include/c++/4.4/bits/allocator.h:48,
>                   from /usr/include/c++/4.4/string:43,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/crectangle/crectangle.hh:12,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelementafterqueue.hh:7,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/kpackage.cc:8:
> /usr/include/c++/4.4/new: In function ‘void* operator new(size_t, void*)’:
> /usr/include/c++/4.4/new:101: error: redefinition of ‘void* operator
> new(size_t, void*)’
> /usr/local/click/include/click/config-linuxmodule.h:215: error: ‘void*
> operator new(size_t, void*)’ previously defined here
> In file included from /usr/include/c++/4.4/cctype:44,
>                   from /usr/include/c++/4.4/bits/localefwd.h:44,
>                   from /usr/include/c++/4.4/string:45,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/crectangle/crectangle.hh:12,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelementafterqueue.hh:7,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/kpackage.cc:8:
> /usr/include/ctype.h: At global scope:
> /usr/include/ctype.h:102: error: expected primary-expression before ‘int’
> /usr/include/ctype.h:102: error: expected ‘)’ before ‘int’
> /usr/include/ctype.h:102: error: expected ‘]’ before ‘;’ token
> /usr/include/ctype.h:102: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:102: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:102: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:103: error: expected primary-expression before ‘int’
> /usr/include/ctype.h:103: error: expected ‘)’ before ‘int’
> /usr/include/ctype.h:103: error: expected ‘]’ before ‘;’ token
> /usr/include/ctype.h:103: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:103: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:103: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:104: error: expected primary-expression before ‘int’
> /usr/include/ctype.h:104: error: expected ‘)’ before ‘int’
> /usr/include/ctype.h:104: error: expected ‘]’ before ‘;’ token
> /usr/include/ctype.h:104: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:104: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:104: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:105: error: expected primary-expression before ‘int’
> /usr/include/ctype.h:105: error: expected ‘)’ before ‘int’
> /usr/include/ctype.h:105: error: expected ‘]’ before ‘;’ token
> /usr/include/ctype.h:105: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:105: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:105: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:106: error: expected primary-expression before ‘int’
> /usr/include/ctype.h:106: error: expected ‘)’ before ‘int’
> /usr/include/ctype.h:106: error: expected ‘]’ before ‘;’ token
> /usr/include/ctype.h:106: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:106: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:106: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:107: error: expected primary-expression before ‘int’
> /usr/include/ctype.h:107: error: expected ‘)’ before ‘int’
> /usr/include/ctype.h:107: error: expected ‘]’ before ‘;’ token
> /usr/include/ctype.h:107: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:107: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:107: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:108: error: expected primary-expression before ‘int’
> /usr/include/ctype.h:108: error: expected ‘)’ before ‘int’
> /usr/include/ctype.h:108: error: expected ‘]’ before ‘;’ token
> /usr/include/ctype.h:108: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:108: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:108: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:109: error: expected primary-expression before ‘int’
> /usr/include/ctype.h:109: error: expected ‘)’ before ‘int’
> /usr/include/ctype.h:109: error: expected ‘]’ before ‘;’ token
> /usr/include/ctype.h:109: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:109: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:109: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:110: error: expected primary-expression before ‘int’
> /usr/include/ctype.h:110: error: expected ‘)’ before ‘int’
> /usr/include/ctype.h:110: error: expected ‘]’ before ‘;’ token
> /usr/include/ctype.h:110: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:110: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:110: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:111: error: expected primary-expression before ‘int’
> /usr/include/ctype.h:111: error: expected ‘)’ before ‘int’
> /usr/include/ctype.h:111: error: expected ‘]’ before ‘;’ token
> /usr/include/ctype.h:111: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:111: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:111: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:112: error: expected primary-expression before ‘int’
> /usr/include/ctype.h:112: error: expected ‘)’ before ‘int’
> /usr/include/ctype.h:112: error: expected ‘]’ before ‘;’ token
> /usr/include/ctype.h:112: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:112: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:112: error: expected ‘)’ before ‘;’ token
> /usr/include/ctype.h:116: error: declaration of C function ‘int
> __tolower(int)’ conflicts with
> /usr/local/click/include/click-linuxmodule/include0/linux/ctype.h:42:
> error: previous declaration ‘unsigned char __tolower(unsigned char)’ here
> /usr/include/ctype.h:119: error: declaration of C function ‘int
> __toupper(int)’ conflicts with
> /usr/local/click/include/click-linuxmodule/include0/linux/ctype.h:49:
> error: previous declaration ‘unsigned char __toupper(unsigned char)’ here
> /usr/include/ctype.h:142: error: expected unqualified-id before ‘unsigned’
> /usr/include/ctype.h:142: error: expected ‘)’ before ‘unsigned’
> /usr/include/ctype.h:142: error: expected ‘)’ before ‘unsigned’
> /usr/include/ctype.h:142: error: expected ‘)’ before ‘unsigned’
> /usr/include/ctype.h:146: error: expected unqualified-id before ‘unsigned’
> /usr/include/ctype.h:146: error: expected ‘)’ before ‘unsigned’
> /usr/include/ctype.h:146: error: expected ‘)’ before ‘unsigned’
> /usr/include/ctype.h:146: error: expected ‘)’ before ‘unsigned’
> In file included from /usr/include/c++/4.4/bits/localefwd.h:44,
>                   from /usr/include/c++/4.4/string:45,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/crectangle/crectangle.hh:12,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelementafterqueue.hh:7,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/kpackage.cc:8:
> /usr/include/c++/4.4/cctype:66: error: ‘::isalnum’ has not been declared
> /usr/include/c++/4.4/cctype:67: error: ‘::isalpha’ has not been declared
> /usr/include/c++/4.4/cctype:68: error: ‘::iscntrl’ has not been declared
> /usr/include/c++/4.4/cctype:69: error: ‘::isdigit’ has not been declared
> /usr/include/c++/4.4/cctype:70: error: ‘::isgraph’ has not been declared
> /usr/include/c++/4.4/cctype:71: error: ‘::islower’ has not been declared
> /usr/include/c++/4.4/cctype:72: error: ‘::isprint’ has not been declared
> /usr/include/c++/4.4/cctype:73: error: ‘::ispunct’ has not been declared
> /usr/include/c++/4.4/cctype:74: error: ‘::isspace’ has not been declared
> /usr/include/c++/4.4/cctype:75: error: ‘::isupper’ has not been declared
> /usr/include/c++/4.4/cctype:76: error: ‘::isxdigit’ has not been declared
> /usr/include/c++/4.4/cctype:77: error: ‘::tolower’ has not been declared
> /usr/include/c++/4.4/cctype:78: error: ‘::toupper’ has not been declared
> In file included from /usr/include/sched.h:32,
>                   from /usr/include/pthread.h:25,
>                   from
> /usr/include/c++/4.4/i486-linux-gnu/bits/gthr-default.h:41,
>                   from /usr/include/c++/4.4/i486-linux-gnu/bits/gthr.h:162,
>                   from /usr/include/c++/4.4/ext/atomicity.h:34,
>                   from /usr/include/c++/4.4/bits/basic_string.h:41,
>                   from /usr/include/c++/4.4/string:53,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/crectangle/crectangle.hh:12,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelementafterqueue.hh:7,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/kpackage.cc:8:
> /usr/include/time.h:120: error: redefinition of ‘struct timespec’
> /usr/local/click/include/click-linuxmodule/include0/linux/time.h:19: error:
> previous definition of ‘struct timespec’
> In file included from /usr/include/pthread.h:26,
>                   from
> /usr/include/c++/4.4/i486-linux-gnu/bits/gthr-default.h:41,
>                   from /usr/include/c++/4.4/i486-linux-gnu/bits/gthr.h:162,
>                   from /usr/include/c++/4.4/ext/atomicity.h:34,
>                   from /usr/include/c++/4.4/bits/basic_string.h:41,
>                   from /usr/include/c++/4.4/string:53,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/crectangle/crectangle.hh:12,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelementafterqueue.hh:7,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/kpackage.cc:8:
> /usr/include/time.h:104: error: conflicting declaration ‘typedef void*
> timer_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:35:
> error: ‘timer_t’ has a previous declaration as ‘typedef __kernel_timer_t
> timer_t’
> /usr/include/time.h:133: error: redefinition of ‘struct tm’
> /usr/local/click/include/click-linuxmodule/include0/linux/time.h:168:
> error: previous definition of ‘struct tm’
> /usr/include/time.h:161: error: redefinition of ‘struct itimerspec’
> /usr/local/click/include/click-linuxmodule/include0/linux/time.h:264:
> error: previous definition of ‘struct itimerspec’
> /usr/include/time.h:193: error: declaration of C function ‘__time_t
> mktime(tm*)’ conflicts with
> /usr/local/click/include/click-linuxmodule/include0/linux/time.h:79: error:
> previous declaration ‘long unsigned int mktime(unsigned int, unsigned int,
> unsigned int, unsigned int, unsigned int, unsigned int)’ here
> In file included from /usr/include/stdlib.h:320,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:23,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/storedflow.h:4,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/itemtype.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/nodetype.h:12,
>                    from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/btree.h:16,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelement.hh:9,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelementafterqueue.hh:8,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/kpackage.cc:8:
> /usr/include/sys/types.h:62: error: conflicting declaration ‘typedef
> __dev_t dev_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:26:
> error: ‘dev_t’ has a previous declaration as ‘typedef __kernel_dev_t dev_t’
> /usr/include/sys/types.h:72: error: conflicting declaration ‘typedef
> __mode_t mode_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:28:
> error: ‘mode_t’ has a previous declaration as ‘typedef __kernel_mode_t
> mode_t’
> /usr/include/sys/types.h:77: error: conflicting declaration ‘typedef
> __nlink_t nlink_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:29:
> error: ‘nlink_t’ has a previous declaration as ‘typedef __kernel_nlink_t
> nlink_t’
> In file included from /usr/include/sys/select.h:46,
>                   from /usr/include/sys/types.h:220,
>                   from /usr/include/stdlib.h:320,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:23,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/storedflow.h:4,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/itemtype.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/nodetype.h:12,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/btree.h:16,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelement.hh:9,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelementafterqueue.hh:8,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/kpackage.cc:8:
> /usr/include/bits/time.h:69: error: redefinition of ‘struct timeval’
> /usr/local/click/include/click-linuxmodule/include0/linux/time.h:25: error:
> previous definition of ‘struct timeval’
> In file included from /usr/include/sys/types.h:220,
>                   from /usr/include/stdlib.h:320,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:23,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/storedflow.h:4,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/itemtype.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/nodetype.h:12,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/btree.h:16,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelement.hh:9,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelementafterqueue.hh:8,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/kpackage.cc:8:
> /usr/include/sys/select.h:78: error: conflicting declaration ‘typedef
> struct fd_set fd_set’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:25:
> error: ‘fd_set’ has a previous declaration as ‘typedef struct
> __kernel_fd_set fd_set’
> In file included from /usr/include/stdlib.h:320,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:23,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/storedflow.h:4,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/itemtype.h:11,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/nodetype.h:12,
>                    from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/btree.h:16,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelement.hh:9,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelementafterqueue.hh:8,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/kpackage.cc:8:
> /usr/include/sys/types.h:235: error: conflicting declaration ‘typedef
> __blkcnt_t blkcnt_t’
> /usr/local/click/include/click-linuxmodule/include0/linux/types.h:143:
> error: ‘blkcnt_t’ has a previous declaration as ‘typedef u64 blkcnt_t’
> In file included from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/flowpacket.h:23,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/storedflow.h:4,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/itemtype.h:11,
>                 LD [M]
>   /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myelementpackage.o
> make[2]: Leaving directory `/usr/src/linux-headers-2.6.32-38-generic'
>      from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/nodetype.h:12,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree/btree.h:16,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelement.hh:9,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myhbfelementafterqueue.hh:8,
>                   from
> /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/kpackage.cc:8:
> /usr/include/stdlib.h:766: error: expected unqualified-id before ‘{’ token
> /usr/include/stdlib.h:766: error: expected ‘)’ before ‘{’ token
> /usr/include/stdlib.h:766: error: expected unqualified-id before ‘)’ token
> ld: /mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/btree.ko: No
> such file: No such file or directory
> make[3]: ***
> [/mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6/myelementpackage.o]
> Error 1
> make[2]: ***
> [_module_/mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6] Error 2
> make[1]: *** [myelementpackage.ko] Error 2
> make[1]: Leaving directory
> `/mnt/hgfs/sharedFolderWithUbuntu/myelementpackage_temp_6'
> make: *** [myelementpackage.ko] Error 2
>
> ----------------------------------
> ----------------------------------
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list