Page 1 of 1

make: *** [modules] Error 2

PostPosted: 2017-08-30 14:48
by r0b0
i encounter with "make: *** [modules] Error 2"
when i want to install compat-wireless-2010-06-26-p or any driver.
i use debian and i installed headers but don't resolved

Re: make: *** [modules] Error 2

PostPosted: 2017-08-30 16:22
by Segfault
Where is the error?

Re: make: *** [modules] Error 2

PostPosted: 2017-08-30 20:00
by r0b0
/bin/sh: 1: [: -gt: argument expected
/bin/sh: 1: test: -ge: unexpected operator
/sbin/modprobe: invalid option -- 'l'
/sbin/modprobe: invalid option -- 'l'
make -C /lib/modules/4.12.0-kali1-amd64/build M=/root/Downloads/compat-wireless-2010-06-26-p modules
make[1]: Entering directory '/usr/src/linux-headers-4.12.0-kali1-amd64'
/sbin/modprobe: invalid option -- 'l'
/sbin/modprobe: invalid option -- 'l'
CC [M] /root/Downloads/compat-wireless-2010-06-26-p/compat/main.o
In file included from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/qrwlock.h:5:0,
from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/spinlock.h:42,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/spinlock.h:87,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/seqlock.h:35,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/time.h:5,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/ktime.h:24,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/timer.h:5,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:28,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.29.h:5,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.h:24,
from <command-line>:0:
/usr/src/linux-headers-4.12.0-kali1-common/include/asm-generic/qrwlock.h: In function ‘__qrwlock_write_byte’:
/usr/src/linux-headers-4.12.0-kali1-common/include/asm-generic/qrwlock.h:156:26: error: implicit declaration of function ‘IS_BUILTIN’ [-Werror=implicit-function-declaration]
return (u8 *)lock + 3 * IS_BUILTIN(CONFIG_CPU_BIG_ENDIAN);
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/asm-generic/qrwlock.h:156:37: error: ‘CONFIG_CPU_BIG_ENDIAN’ undeclared (first use in this function)
return (u8 *)lock + 3 * IS_BUILTIN(CONFIG_CPU_BIG_ENDIAN);
^~~~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/asm-generic/qrwlock.h:156:37: note: each undeclared identifier is reported only once for each function it appears in
In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/rculist.h:10:0,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:37,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.29.h:5,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.h:24,
from <command-line>:0:
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/rcupdate.h: In function ‘__rcu_read_lock’:
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/rcupdate.h:274:6: error: implicit declaration of function ‘IS_ENABLED’ [-Werror=implicit-function-declaration]
if (IS_ENABLED(CONFIG_PREEMPT_COUNT))
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/rcupdate.h:274:17: error: ‘CONFIG_PREEMPT_COUNT’ undeclared (first use in this function)
if (IS_ENABLED(CONFIG_PREEMPT_COUNT))
^~~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/rcupdate.h: In function ‘__rcu_read_unlock’:
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/rcupdate.h:280:17: error: ‘CONFIG_PREEMPT_COUNT’ undeclared (first use in this function)
if (IS_ENABLED(CONFIG_PREEMPT_COUNT))
^~~~~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/gfp.h:5:0,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:16,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/device.h:17,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/dmaengine.h:20,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:38,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.29.h:5,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.h:24,
from <command-line>:0:
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmzone.h: At top level:
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmzone.h:134:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_ZSMALLOC)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/mmzone.h:134:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_ZSMALLOC)
^
In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:15:0,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kernfs.h:14,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sysfs.h:15,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/kobject.h:21,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/device.h:17,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/dmaengine.h:20,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:38,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.29.h:5,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.h:24,
from <command-line>:0:
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h: In function ‘idr_init’:
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/gfp.h:191:43: error: ‘CONFIG_LOCKDEP’ undeclared (first use in this function)
#define __GFP_BITS_SHIFT (25 + IS_ENABLED(CONFIG_LOCKDEP))
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:127:22: note: in definition of macro ‘INIT_RADIX_TREE’
(root)->gfp_mask = (mask); \
^~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:31:46: note: in expansion of macro ‘__GFP_BITS_SHIFT’
#define IDR_RT_MARKER ((__force gfp_t)(3 << __GFP_BITS_SHIFT))
^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:98:32: note: in expansion of macro ‘IDR_RT_MARKER’
INIT_RADIX_TREE(&idr->idr_rt, IDR_RT_MARKER);
^~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h: In function ‘ida_init’:
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/gfp.h:191:43: error: ‘CONFIG_LOCKDEP’ undeclared (first use in this function)
#define __GFP_BITS_SHIFT (25 + IS_ENABLED(CONFIG_LOCKDEP))
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/radix-tree.h:127:22: note: in definition of macro ‘INIT_RADIX_TREE’
(root)->gfp_mask = (mask); \
^~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:31:46: note: in expansion of macro ‘__GFP_BITS_SHIFT’
#define IDR_RT_MARKER ((__force gfp_t)(3 << __GFP_BITS_SHIFT))
^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/idr.h:197:32: note: in expansion of macro ‘IDR_RT_MARKER’
INIT_RADIX_TREE(&ida->ida_rt, IDR_RT_MARKER | GFP_NOWAIT);
^~~~~~~~~~~~~
In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/dcache.h:12:0,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/fs.h:7,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/seq_file.h:10,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/pinctrl/consumer.h:17,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/pinctrl/devinfo.h:21,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/device.h:24,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/dmaengine.h:20,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:38,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.29.h:5,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.h:24,
from <command-line>:0:
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/lockref.h: At top level:
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/lockref.h:21:3: warning: "IS_ENABLED" is not defined [-Wundef]
(IS_ENABLED(CONFIG_ARCH_USE_CMPXCHG_LOCKREF) && \
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/lockref.h:26:5: note: in expansion of macro ‘USE_CMPXCHG_LOCKREF’
#if USE_CMPXCHG_LOCKREF
^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/lockref.h:21:13: error: missing binary operator before token "("
(IS_ENABLED(CONFIG_ARCH_USE_CMPXCHG_LOCKREF) && \
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/lockref.h:26:5: note: in expansion of macro ‘USE_CMPXCHG_LOCKREF’
#if USE_CMPXCHG_LOCKREF
^~~~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/seq_file.h:10:0,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/pinctrl/consumer.h:17,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/pinctrl/devinfo.h:21,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/device.h:24,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/dmaengine.h:20,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:38,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.29.h:5,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.h:24,
from <command-line>:0:
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/fs.h:651:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_FS_ENCRYPTION)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/fs.h:651:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_FS_ENCRYPTION)
^
In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sched.h:19:0,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/cred.h:21,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/seq_file.h:11,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/pinctrl/consumer.h:17,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/pinctrl/devinfo.h:21,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/device.h:24,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/dmaengine.h:20,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:38,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.29.h:5,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.h:24,
from <command-line>:0:
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/hrtimer.h: In function ‘__hrtimer_expires_remaining_adjusted’:
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/hrtimer.h:319:17: error: ‘CONFIG_TIME_LOW_RES’ undeclared (first use in this function)
if (IS_ENABLED(CONFIG_TIME_LOW_RES) && timer->is_rel)
^~~~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/dmaengine.h:20:0,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:38,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.29.h:5,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.h:24,
from <command-line>:0:
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/device.h: In function ‘dev_of_node’:
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/device.h:1109:18: error: ‘CONFIG_OF’ undeclared (first use in this function)
if (!IS_ENABLED(CONFIG_OF))
^~~~~~~~~
In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/sched.h:27:0,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/cred.h:21,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/seq_file.h:11,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/pinctrl/consumer.h:17,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/pinctrl/devinfo.h:21,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/device.h:24,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/dmaengine.h:20,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:38,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.29.h:5,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.h:24,
from <command-line>:0:
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm_types.h: At top level:
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm_types_task.h:19:3: warning: "IS_ENABLED" is not defined [-Wundef]
IS_ENABLED(CONFIG_ARCH_ENABLE_SPLIT_PMD_PTLOCK))
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm_types.h:159:45: note: in expansion of macro ‘USE_SPLIT_PMD_PTLOCKS’
#if defined(CONFIG_TRANSPARENT_HUGEPAGE) && USE_SPLIT_PMD_PTLOCKS
^~~~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm_types_task.h:19:13: error: missing binary operator before token "("
IS_ENABLED(CONFIG_ARCH_ENABLE_SPLIT_PMD_PTLOCK))
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm_types.h:159:45: note: in expansion of macro ‘USE_SPLIT_PMD_PTLOCKS’
#if defined(CONFIG_TRANSPARENT_HUGEPAGE) && USE_SPLIT_PMD_PTLOCKS
^~~~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm_types_task.h:19:3: warning: "IS_ENABLED" is not defined [-Wundef]
IS_ENABLED(CONFIG_ARCH_ENABLE_SPLIT_PMD_PTLOCK))
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm_types.h:472:46: note: in expansion of macro ‘USE_SPLIT_PMD_PTLOCKS’
#if defined(CONFIG_TRANSPARENT_HUGEPAGE) && !USE_SPLIT_PMD_PTLOCKS
^~~~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm_types_task.h:19:13: error: missing binary operator before token "("
IS_ENABLED(CONFIG_ARCH_ENABLE_SPLIT_PMD_PTLOCK))
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm_types.h:472:46: note: in expansion of macro ‘USE_SPLIT_PMD_PTLOCKS’
#if defined(CONFIG_TRANSPARENT_HUGEPAGE) && !USE_SPLIT_PMD_PTLOCKS
^~~~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm_types_task.h:19:3: warning: "IS_ENABLED" is not defined [-Wundef]
IS_ENABLED(CONFIG_ARCH_ENABLE_SPLIT_PMD_PTLOCK))
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:1783:5: note: in expansion of macro ‘USE_SPLIT_PMD_PTLOCKS’
#if USE_SPLIT_PMD_PTLOCKS
^~~~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm_types_task.h:19:13: error: missing binary operator before token "("
IS_ENABLED(CONFIG_ARCH_ENABLE_SPLIT_PMD_PTLOCK))
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/mm.h:1783:5: note: in expansion of macro ‘USE_SPLIT_PMD_PTLOCKS’
#if USE_SPLIT_PMD_PTLOCKS
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/if_ether.h:23:0,
from /usr/src/linux-headers-4.12.0-kali1-common/include/uapi/linux/ethtool.h:18,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/ethtool.h:17,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:42,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.29.h:5,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.h:24,
from <command-line>:0:
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/skbuff.h:251:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_BRIDGE_NETFILTER)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/skbuff.h:251:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_BRIDGE_NETFILTER)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/skbuff.h:680:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_BRIDGE_NETFILTER)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/skbuff.h:680:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_BRIDGE_NETFILTER)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/skbuff.h: In function ‘skb_nfct’:
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/skbuff.h:3573:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_NF_CONNTRACK)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/skbuff.h:3573:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_NF_CONNTRACK)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/skbuff.h: At top level:
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/skbuff.h:3593:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_BRIDGE_NETFILTER)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/skbuff.h:3593:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_BRIDGE_NETFILTER)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/skbuff.h: In function ‘nf_reset’:
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/skbuff.h:3611:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_BRIDGE_NETFILTER)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/skbuff.h:3611:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_BRIDGE_NETFILTER)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/skbuff.h: In function ‘nf_reset_trace’:
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/skbuff.h:3619:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_NETFILTER_XT_TARGET_TRACE) || defined(CONFIG_NF_TABLES)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/skbuff.h:3619:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_NETFILTER_XT_TARGET_TRACE) || defined(CONFIG_NF_TABLES)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/skbuff.h: In function ‘__nf_copy’:
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/skbuff.h:3632:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_BRIDGE_NETFILTER)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/skbuff.h:3632:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_BRIDGE_NETFILTER)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/skbuff.h:3636:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_NETFILTER_XT_TARGET_TRACE) || defined(CONFIG_NF_TABLES)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/skbuff.h:3636:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_NETFILTER_XT_TARGET_TRACE) || defined(CONFIG_NF_TABLES)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/skbuff.h: In function ‘nf_copy’:
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/skbuff.h:3647:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_BRIDGE_NETFILTER)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/skbuff.h:3647:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_BRIDGE_NETFILTER)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/skbuff.h: In function ‘skb_irq_freeable’:
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/skbuff.h:3674:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_XFRM)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/skbuff.h:3674:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_XFRM)
^
In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/net/net_namespace.h:14:0,
from /root/Downloads/compat-wireless-2010-06-26-p/include/net/net_namespace.h:7,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:43,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.29.h:5,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.h:24,
from <command-line>:0:
/usr/src/linux-headers-4.12.0-kali1-common/include/net/netns/mib.h: At top level:
/usr/src/linux-headers-4.12.0-kali1-common/include/net/netns/mib.h:15:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_IPV6)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/net/netns/mib.h:15:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_IPV6)
^
In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/net/net_namespace.h:18:0,
from /root/Downloads/compat-wireless-2010-06-26-p/include/net/net_namespace.h:7,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:43,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.29.h:5,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.h:24,
from <command-line>:0:
/usr/src/linux-headers-4.12.0-kali1-common/include/net/netns/ipv6.h:91:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_NF_DEFRAG_IPV6)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/net/netns/ipv6.h:91:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_NF_DEFRAG_IPV6)
^
In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/net/net_namespace.h:22:0,
from /root/Downloads/compat-wireless-2010-06-26-p/include/net/net_namespace.h:7,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:43,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.29.h:5,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.h:24,
from <command-line>:0:
/usr/src/linux-headers-4.12.0-kali1-common/include/net/netns/netfilter.h:20:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_NF_DEFRAG_IPV4)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/net/netns/netfilter.h:20:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_NF_DEFRAG_IPV4)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/net/netns/netfilter.h:23:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_NF_DEFRAG_IPV6)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/net/netns/netfilter.h:23:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_NF_DEFRAG_IPV6)
^
In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/irq.h:457:0,
from /usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/hardirq.h:5,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/hardirq.h:8,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/interrupt.h:12,
from /usr/src/linux-headers-4.12.0-kali1-common/include/net/flowcache.h:4,
from /usr/src/linux-headers-4.12.0-kali1-common/include/net/netns/xfrm.h:9,
from /usr/src/linux-headers-4.12.0-kali1-common/include/net/net_namespace.h:28,
from /root/Downloads/compat-wireless-2010-06-26-p/include/net/net_namespace.h:7,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:43,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.29.h:5,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.h:24,
from <command-line>:0:
/usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/hw_irq.h:133:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_VMD)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/hw_irq.h:133:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_VMD)
^
In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/hardirq.h:8:0,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/interrupt.h:12,
from /usr/src/linux-headers-4.12.0-kali1-common/include/net/flowcache.h:4,
from /usr/src/linux-headers-4.12.0-kali1-common/include/net/netns/xfrm.h:9,
from /usr/src/linux-headers-4.12.0-kali1-common/include/net/net_namespace.h:28,
from /root/Downloads/compat-wireless-2010-06-26-p/include/net/net_namespace.h:7,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:43,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.29.h:5,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.h:24,
from <command-line>:0:
/usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/hardirq.h:36:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_HYPERV) || defined(CONFIG_XEN)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/arch/x86/include/asm/hardirq.h:36:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_HYPERV) || defined(CONFIG_XEN)
^
In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/net/net_namespace.h:28:0,
from /root/Downloads/compat-wireless-2010-06-26-p/include/net/net_namespace.h:7,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:43,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.29.h:5,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.h:24,
from <command-line>:0:
/usr/src/linux-headers-4.12.0-kali1-common/include/net/netns/xfrm.h:70:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_IPV6)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/net/netns/xfrm.h:70:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_IPV6)
^
In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/net/net_namespace.h:30:0,
from /root/Downloads/compat-wireless-2010-06-26-p/include/net/net_namespace.h:7,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:43,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.29.h:5,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.h:24,
from <command-line>:0:
/usr/src/linux-headers-4.12.0-kali1-common/include/net/netns/can.h:15:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_PROC_FS)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/net/netns/can.h:15:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_PROC_FS)
^
In file included from /root/Downloads/compat-wireless-2010-06-26-p/include/net/net_namespace.h:7:0,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:43,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.29.h:5,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.h:24,
from <command-line>:0:
/usr/src/linux-headers-4.12.0-kali1-common/include/net/net_namespace.h:97:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_IPV6)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/net/net_namespace.h:97:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_IPV6)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/net/net_namespace.h:100:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_IEEE802154_6LOWPAN)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/net/net_namespace.h:100:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_IEEE802154_6LOWPAN)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/net/net_namespace.h:118:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_NF_DEFRAG_IPV6)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/net/net_namespace.h:118:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_NF_DEFRAG_IPV6)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/net/net_namespace.h:123:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_NETFILTER_NETLINK_ACCT)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/net/net_namespace.h:123:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_NETFILTER_NETLINK_ACCT)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/net/net_namespace.h:126:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_NF_CT_NETLINK_TIMEOUT)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/net/net_namespace.h:126:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_NF_CT_NETLINK_TIMEOUT)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/net/net_namespace.h:139:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_IP_VS)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/net/net_namespace.h:139:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_IP_VS)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/net/net_namespace.h:142:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_MPLS)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/net/net_namespace.h:142:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_MPLS)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/net/net_namespace.h:145:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CAN)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/net/net_namespace.h:145:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CAN)
^
In file included from /root/Downloads/compat-wireless-2010-06-26-p/include/net/net_namespace.h:7:0,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:43,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.29.h:5,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.h:24,
from <command-line>:0:
/usr/src/linux-headers-4.12.0-kali1-common/include/net/net_namespace.h:363:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_IEEE802154_6LOWPAN)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/net/net_namespace.h:363:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_IEEE802154_6LOWPAN)
^
In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup-defs.h:40:0,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup.h:26,
from /usr/src/linux-headers-4.12.0-kali1-common/include/net/netprio_cgroup.h:17,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:47,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.29.h:5,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.h:24,
from <command-line>:0:
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:11:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CPUSETS)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:11:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CPUSETS)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:15:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CGROUP_SCHED)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:15:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CGROUP_SCHED)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:19:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CGROUP_CPUACCT)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:19:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CGROUP_CPUACCT)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:23:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_BLK_CGROUP)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:23:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_BLK_CGROUP)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:27:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_MEMCG)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:27:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_MEMCG)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:31:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CGROUP_DEVICE)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:31:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CGROUP_DEVICE)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:35:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CGROUP_FREEZER)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:35:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CGROUP_FREEZER)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:39:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CGROUP_NET_CLASSID)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:39:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CGROUP_NET_CLASSID)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:43:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CGROUP_PERF)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:43:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CGROUP_PERF)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:47:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CGROUP_NET_PRIO)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:47:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CGROUP_NET_PRIO)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:51:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CGROUP_HUGETLB)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:51:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CGROUP_HUGETLB)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:55:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CGROUP_PIDS)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:55:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CGROUP_PIDS)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:59:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CGROUP_RDMA)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:59:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CGROUP_RDMA)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:66:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CGROUP_DEBUG)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:66:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CGROUP_DEBUG)
^
In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup.h:59:0,
from /usr/src/linux-headers-4.12.0-kali1-common/include/net/netprio_cgroup.h:17,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:47,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.29.h:5,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.h:24,
from <command-line>:0:
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:11:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CPUSETS)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:11:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CPUSETS)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:15:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CGROUP_SCHED)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:15:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CGROUP_SCHED)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:19:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CGROUP_CPUACCT)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:19:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CGROUP_CPUACCT)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:23:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_BLK_CGROUP)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:23:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_BLK_CGROUP)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:27:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_MEMCG)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:27:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_MEMCG)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:31:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CGROUP_DEVICE)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:31:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CGROUP_DEVICE)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:35:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CGROUP_FREEZER)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:35:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CGROUP_FREEZER)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:39:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CGROUP_NET_CLASSID)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:39:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CGROUP_NET_CLASSID)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:43:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CGROUP_PERF)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:43:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CGROUP_PERF)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:47:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CGROUP_NET_PRIO)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:47:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CGROUP_NET_PRIO)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:51:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CGROUP_HUGETLB)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:51:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CGROUP_HUGETLB)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:55:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CGROUP_PIDS)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:55:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CGROUP_PIDS)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:59:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CGROUP_RDMA)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:59:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CGROUP_RDMA)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:66:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CGROUP_DEBUG)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:66:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CGROUP_DEBUG)
^
In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup.h:65:0,
from /usr/src/linux-headers-4.12.0-kali1-common/include/net/netprio_cgroup.h:17,
from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:47,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.29.h:5,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.h:24,
from <command-line>:0:
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:11:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CPUSETS)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:11:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CPUSETS)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:15:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CGROUP_SCHED)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:15:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CGROUP_SCHED)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:19:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CGROUP_CPUACCT)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:19:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CGROUP_CPUACCT)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:23:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_BLK_CGROUP)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:23:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_BLK_CGROUP)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:27:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_MEMCG)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:27:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_MEMCG)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:31:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CGROUP_DEVICE)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:31:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CGROUP_DEVICE)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:35:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CGROUP_FREEZER)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:35:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CGROUP_FREEZER)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:39:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CGROUP_NET_CLASSID)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:39:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CGROUP_NET_CLASSID)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:43:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CGROUP_PERF)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:43:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CGROUP_PERF)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:47:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CGROUP_NET_PRIO)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:47:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CGROUP_NET_PRIO)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:51:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CGROUP_HUGETLB)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:51:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CGROUP_HUGETLB)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:55:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CGROUP_PIDS)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:55:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CGROUP_PIDS)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:59:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CGROUP_RDMA)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:59:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CGROUP_RDMA)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:66:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CGROUP_DEBUG)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/cgroup_subsys.h:66:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CGROUP_DEBUG)
^
In file included from /usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:47:0,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.29.h:5,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.h:24,
from <command-line>:0:
/usr/src/linux-headers-4.12.0-kali1-common/include/net/netprio_cgroup.h:21:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CGROUP_NET_PRIO)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/net/netprio_cgroup.h:21:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CGROUP_NET_PRIO)
^
In file included from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.29.h:5:0,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.h:24,
from <command-line>:0:
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:141:41: error: missing binary operator before token "("
#elif defined(CONFIG_WLAN) || IS_ENABLED(CONFIG_AX25)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:151:6: warning: "IS_ENABLED" is not defined [-Wundef]
#if !IS_ENABLED(CONFIG_NET_IPIP) && !IS_ENABLED(CONFIG_NET_IPGRE) && \
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:151:16: error: missing binary operator before token "("
#if !IS_ENABLED(CONFIG_NET_IPIP) && !IS_ENABLED(CONFIG_NET_IPGRE) && \
^
In file included from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.29.h:5:0,
from /root/Downloads/compat-wireless-2010-06-26-p/include/linux/compat-2.6.h:24,
from <command-line>:0:
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:1227:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_FCOE)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:1227:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_FCOE)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:1244:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_LIBFCOE)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:1244:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_LIBFCOE)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:1709:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_IPV6)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:1709:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_IPV6)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:1764:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_VLAN_8021Q)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:1764:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_VLAN_8021Q)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:1767:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_NET_DSA)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:1767:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_NET_DSA)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:1770:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_TIPC)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:1770:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_TIPC)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:1780:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_MPLS_ROUTING)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:1780:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_MPLS_ROUTING)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:1878:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_GARP)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:1878:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_GARP)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:1881:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_MRP)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:1881:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_MRP)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:1904:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_FCOE)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:1904:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_FCOE)
^
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:1907:5: warning: "IS_ENABLED" is not defined [-Wundef]
#if IS_ENABLED(CONFIG_CGROUP_NET_PRIO)
^~~~~~~~~~
/usr/src/linux-headers-4.12.0-kali1-common/include/linux/netdevice.h:1907:15: error: missing binary operator before token "("
#if IS_ENABLED(CONFIG_CGROUP_NET_PRIO)
^
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:307: recipe for target '/root/Downloads/compat-wireless-2010-06-26-p/compat/main.o' failed
make[5]: *** [/root/Downloads/compat-wireless-2010-06-26-p/compat/main.o] Error 1
/usr/src/linux-headers-4.12.0-kali1-common/scripts/Makefile.build:566: recipe for target '/root/Downloads/compat-wireless-2010-06-26-p/compat' failed
make[4]: *** [/root/Downloads/compat-wireless-2010-06-26-p/compat] Error 2
/usr/src/linux-headers-4.12.0-kali1-common/Makefile:1532: recipe for target '_module_/root/Downloads/compat-wireless-2010-06-26-p' failed
make[3]: *** [_module_/root/Downloads/compat-wireless-2010-06-26-p] Error 2
Makefile:152: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.12.0-kali1-amd64'
Makefile:62: recipe for target 'modules' failed
make: *** [modules] Error 2

Re: make: *** [modules] Error 2

PostPosted: 2017-08-30 20:47
by stevepusser
Sigh...volume does not equal precision.

Insert obligatory "Kali is NOT Debian" statement here:________________

Anyway...can you explain why you are trying to build old, old, old drivers from whatever kernel version was current in 2010 for the current 4.12 kernel? That's at the root of your issue--those aren't compatible with a modern kernel.

Re: make: *** [modules] Error 2

PostPosted: 2017-08-30 21:18
by r0b0
you alright. could you say compatible driver with kernel version
because i have not found. i can't configure usb wireless adapter's monitor mode.

kernel version : 4.9.0-3-amd64

Re: make: *** [modules] Error 2

PostPosted: 2017-08-30 21:29
by stevepusser
It's hard to help when we know nothing about what USB hardware you have, and what support Kali has for the monitor mode for that driver already. Has anyone else with the same hardware solved the issue? Is there a patched driver source out there someplace? Maybe...maybe not. Google awaits your searches.

All I know is that the 2010 compat-wireless source is just the driver source from the vanilla kernel at the time, nothing fancy.

Re: make: *** [modules] Error 2

PostPosted: 2017-08-30 21:38
by r0b0
my friends said : they use tplink wn722n usb, wear and launch" but i don't work. Same adapter.

and also they said "we don't install any driver, only added to vmware"

Re: make: *** [modules] Error 2

PostPosted: 2017-08-30 22:24
by stevepusser
Why do you mention vmware? Are you running Kali in a virtual machine?

Re: make: *** [modules] Error 2

PostPosted: 2017-08-30 23:50
by GarryRicketson
Hello Mr. r0bo,
by r0b0 » i use debian and i installed headers but don't resolved


In the code you show, and it is hard to read with out code boxes, please use them:
Attachments, How to post a screen shot and use code boxes

Any way, I don't see anything about Debian, in any of that, so What does any of this
have to do with Debian ?

My thoughts are this belongs in the "off topic" board, I don't see what it has to do with Debian.

Re: make: *** [modules] Error 2

PostPosted: 2017-08-31 00:01
by sunrat
This driver might work - https://github.com/Mange/rtl8192eu-linux-driver/
TP-Link have a bad habit of using different chipsets in different versions of the same device eg. TL-822N V2 has Atheros chipset whereas V4 has Realtek which uses above driver (the one from Realtek website doesn't work).

And yeah, Kali is not Debian so no guarantees. Try asking in Kali forum.

Re: make: *** [modules] Error 2

PostPosted: 2017-08-31 00:03
by Segfault
This is why you search for driver by USB ID, not model name.

They do not like wannabe hackers on Kali forums.

Re: make: *** [modules] Error 2

PostPosted: 2017-08-31 07:11
by r0b0
yeap i use kali on vmware.

usb adapter run but the problem is i can not install downloaded drivers.

the reason of this, Is it because the drivers are older than the kernel version?

Re: make: *** [modules] Error 2

PostPosted: 2017-08-31 08:21
by dilberts_left_nut
r0b0 wrote:i use debian
No, you don't - moved to offtopic.
...and locked for fibbing.