Make modules error 2

The build fails at make step with the error: [ 87%] Linking CXX static library libmicrosim_devices.a [ 87%] Built target microsim_devices [ 87%] Linking CXX static library libmicrosim.a [ 87%] Buil...

The build fails at make step with the error:

[ 87%] Linking CXX static library libmicrosim_devices.a
[ 87%] Built target microsim_devices
[ 87%] Linking CXX static library libmicrosim.a
[ 87%] Built target microsim
make: *** [Makefile:141: all] Error 2

More information below.

cmake ../.. output:

-- CMAKE_BINARY_DIR: /home/parthj/sumo-1.6.0
-- CMAKE_SOURCE_DIR: /home/parthj/sumo-1.6.0
-- 
-- Platform: 
--     Host: Linux-3.10.0-1062.12.1.el7.x86_64 x86_64
--     Target: Linux-3.10.0-1062.12.1.el7.x86_64 x86_64
--     CMake: 3.8.2
--     CMake generator: Unix Makefiles
--     CMake build tool: /usr/bin/gmake
--     Compiler: GNU 5.4.0
-- 
-- Found Python: /cvmfs/soft.computecanada.ca/easybuild/software/2017/Core/python/3.6.3/bin/python
-- Found GTest: /cvmfs/soft.computecanada.ca/easybuild/software/2017/Core/gtest/1.10.0/lib64/libgtest.a  
-- Found Proj: /project/6019546/parthj/repos/sumo-gui-deps/proj-7.1.1/build/lib/libproj.so
-- Found Fox: -L/home/parthj/projects/def-ssanner/parthj/repos/fox-1.6.57/build/lib -lFOX-1.6 -lX11 -lXext -lfreetype -lfontconfig -lXft -lXcursor -lXrender -lXrandr -lXfixes -lXi -lGL -lGLU -ldl -lpthread -lrt -ljpeg -lpng -ltiff -lz -lbz2 -lGLU -lGL
-- Warning, could not run java -version
-- Found Java: /usr/bin/java  found components:  Development 
-- Warning, could not run java -version
-- Found Java: /usr/bin/java  
-- Enabled features: Linux-3.10.0-1062.12.1.el7.x86_64 x86_64 GNU 5.4.0 Release Proj GUI SWIG GDAL FFmpeg OSG GL2PS Eigen
-- Configuring done
-- Generating done
-- Build files have been written to: /home/parthj/sumo-1.6.0

Below error that shows in the middle of the make process, but make process continues to progress:

<path>/sumo-1.6.0/unittest/src/utils/common/StringTokenizerTest.cpp:22:25: fatal error: gtest/gtest.h: No such file or directory
compilation terminated.
make[2]: *** [unittest/src/utils/common/CMakeFiles/testcommon.dir/build.make:63: unittest/src/utils/common/CMakeFiles/testcommon.dir/StringTokenizerTest.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:5893: unittest/src/utils/common/CMakeFiles/testcommon.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

The make error points to line 141 of MakeFile. Clipped code from that file with line numbers as comments:

# The main all target  # 138
all: cmake_check_build_system  # 139
	$(CMAKE_COMMAND) -E cmake_progress_start /home/parthj/sumo-1.6.0/CMakeFiles /home/parthj/sumo-1.6.0/CMakeFiles/progress.marks  # 140
	$(MAKE) -f CMakeFiles/Makefile2 all  # 141
	$(CMAKE_COMMAND) -E cmake_progress_start /home/parthj/sumo-1.6.0/CMakeFiles 0  # 142
.PHONY : all  # 143

Not sure where to proceed from here. Thanks.

Edit1:
Ran again with make -d -j$(nproc). Got the error:

[ 98%] Linking CXX executable ../../bin/testlibsumo
Reaping winning child 0x9fa370 PID 22778 
Live child 0x9fa370 (bin/testlibsumo) PID 22786 
/cvmfs/soft.computecanada.ca/nix/store/aj0bl3ac193y0y66iaj258n3z8hvz19f-binutils-2.28/bin/ld: warning: libFOX-1.6.so.0, needed by ../../tools/libsumo/libsumoc.so, not found (try using -rpath or -rpath-link)
../../tools/libsumo/libsumoc.so: undefined reference to `FX::FXCondition::signal()'
../../tools/libsumo/libsumoc.so: undefined reference to `FX::FXThread::join()'
../../tools/libsumo/libsumoc.so: undefined reference to `FX::FXCondition::FXCondition()'
../../tools/libsumo/libsumoc.so: undefined reference to `FX::FXThread::FXThread()'
../../tools/libsumo/libsumoc.so: undefined reference to `FX::FXMutex::unlock()'
../../tools/libsumo/libsumoc.so: undefined reference to `FX::FXCondition::~FXCondition()'
../../tools/libsumo/libsumoc.so: undefined reference to `FX::FXCondition::wait(FX::FXMutex&)'
../../tools/libsumo/libsumoc.so: undefined reference to `FX::FXThread::start(unsigned long)'
../../tools/libsumo/libsumoc.so: undefined reference to `FX::FXMutex::~FXMutex()'
../../tools/libsumo/libsumoc.so: undefined reference to `FX::FXMutex::lock()'
../../tools/libsumo/libsumoc.so: undefined reference to `typeinfo for FX::FXThread'
../../tools/libsumo/libsumoc.so: undefined reference to `FX::FXThread::~FXThread()'
../../tools/libsumo/libsumoc.so: undefined reference to `FX::FXMutex::FXMutex(unsigned char)'
collect2: error: ld returned 1 exit status
Reaping losing child 0x9fa370 PID 22786 
make[2]: *** [src/traci_testclient/CMakeFiles/testlibsumo.dir/build.make:96: bin/testlibsumo] Error 1
Removing child 0x9fa370 PID 22786 from chain.
Reaping losing child 0x1492fe0 PID 22773 
make[1]: *** [CMakeFiles/Makefile2:3294: src/traci_testclient/CMakeFiles/testlibsumo.dir/all] Error 2
Removing child 0x1492fe0 PID 22773 from chain.
Released token for child 0x1492fe0 (src/traci_testclient/CMakeFiles/testlibsumo.dir/all).
make[1]: *** Waiting for unfinished jobs....
Live child 0x159a6f0 (src/libsumo/CMakeFiles/libsumojni.dir/all) PID 22526 
Live child 0x15916d0 (src/libsumo/CMakeFiles/_libsumo.dir/all) PID 22527 
Reaping winning child 0x17f3de0 PID 22614 
Live child 0x17f3de0 (bin/liblibsumojni.so) PID 23338 
Error occurred during initialization of VM
Could not allocate metaspace: 1073741824 bytes
Reaping losing child 0x17f3de0 PID 23338 
make[2]: *** [src/libsumo/CMakeFiles/libsumojni.dir/build.make:165: bin/liblibsumojni.so] Error 1
make[2]: *** Deleting file 'bin/liblibsumojni.so'

Edit2:
Above seems error due to the fox library so adding below lines from CMakeCache.txt that represent fox paths:

//Path to a program.
FOX_CONFIG:FILEPATH=<path>/repos/fox-1.6.57/build/bin/fox-config

//Path to a file.
FOX_INCLUDE_DIR:PATH=<path>/repos/fox-1.6.57/build/include

//Path to a library.
FOX_LIBRARY:FILEPATH=<path>/repos/fox-1.6.57/build/lib/libFOX-1.6.so
  • Печать

Страницы: [1]   Вниз

Тема: ошибка Make — Error 2  (Прочитано 16901 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн
perlito

Добро всем!
Люди добрые случаем никто не знает что за ошыбка make Error 2?

я столкнулся с ней при использовании PAR  архиватора(Perl)

make catalyst_par
cp lib/BookStore/Model/DB.pm blib/lib/BookStore/Model/DB.pm
cp lib/BookStore/Schema/Result/UserRole.pm blib/lib/BookStore/Schema/Result/UserRole.pm
cp lib/BookStore/Schema/Result/BookAuthor.pm blib/lib/BookStore/Schema/Result/BookAuthor.pm
cp lib/BookStore/Controller/Root.pm blib/lib/BookStore/Controller/Root.pm
cp lib/BookStore/View/HTML.pm blib/lib/BookStore/View/HTML.pm
cp lib/BookStore/Schema/Result/Author.pm blib/lib/BookStore/Schema/Result/Author.pm
cp lib/BookStore/Schema/Result/User.pm blib/lib/BookStore/Schema/Result/User.pm
cp lib/BookStore.pm blib/lib/BookStore.pm
cp lib/BookStore/Schema/Result/Role.pm blib/lib/BookStore/Schema/Result/Role.pm
cp lib/BookStore/Controller/Logout.pm blib/lib/BookStore/Controller/Logout.pm
cp lib/BookStore/Controller/Login.pm blib/lib/BookStore/Controller/Login.pm
cp lib/BookStore/Schema.pm blib/lib/BookStore/Schema.pm
cp lib/BookStore/Schema/Result/Book.pm blib/lib/BookStore/Schema/Result/Book.pm
cp lib/BookStore/Controller/Books.pm blib/lib/BookStore/Controller/Books.pm
cp script/bookstore_test.pl blib/script/bookstore_test.pl
/usr/bin/perl «-Iinc» -MExtUtils::MY -e ‘MY->fixin(shift)’ — blib/script/bookstore_test.pl
cp script/bookstore_cgi.pl blib/script/bookstore_cgi.pl
/usr/bin/perl «-Iinc» -MExtUtils::MY -e ‘MY->fixin(shift)’ — blib/script/bookstore_cgi.pl
cp script/bookstore_server.pl blib/script/bookstore_server.pl
/usr/bin/perl «-Iinc» -MExtUtils::MY -e ‘MY->fixin(shift)’ — blib/script/bookstore_server.pl
cp script/bookstore_fastcgi.pl blib/script/bookstore_fastcgi.pl
/usr/bin/perl «-Iinc» -MExtUtils::MY -e ‘MY->fixin(shift)’ — blib/script/bookstore_fastcgi.pl
cp script/bookstore_create.pl blib/script/bookstore_create.pl
/usr/bin/perl «-Iinc» -MExtUtils::MY -e ‘MY->fixin(shift)’ — blib/script/bookstore_create.pl
Manifying blib/man1/bookstore_test.pl.1p
Manifying blib/man1/bookstore_cgi.pl.1p
Manifying blib/man1/bookstore_server.pl.1p
Manifying blib/man1/bookstore_fastcgi.pl.1p
Manifying blib/man1/bookstore_create.pl.1p
Manifying blib/man3/BookStore::Model::DB.3pm
Manifying blib/man3/BookStore::Schema::Result::BookAuthor.3pm
Manifying blib/man3/BookStore::Schema::Result::UserRole.3pm
Manifying blib/man3/BookStore::Controller::Root.3pm
Manifying blib/man3/BookStore::Schema::Result::Author.3pm
Manifying blib/man3/BookStore::Schema::Result::User.3pm
Manifying blib/man3/BookStore::Schema::Result::Role.3pm
Manifying blib/man3/BookStore.3pm
Manifying blib/man3/BookStore::Controller::Logout.3pm
Manifying blib/man3/BookStore::Schema::Result::Book.3pm
Manifying blib/man3/BookStore::Controller::Login.3pm
Manifying blib/man3/BookStore::Controller::Books.3pm
include /home/tigran/Documents/Development/perl/BookStore/inc/Module/Install.pm
Writing PAR «bookstore.par»
make: *** [catalyst_par] Error 2

« Последнее редактирование: 18 Июня 2012, 14:36:35 от tiko.svyazist »

perlito.ru -> о perl на русском


Оффлайн
Yurror


Оффлайн
perlito

:idiot2: Ну раз обратился сюда значит google не помог

perlito.ru -> о perl на русском


Оффлайн
лесной_зонтик

Извиняюсь, а при чем тут архиватор?

Моя мечта поставить на комп Linux, Unix, *BSD, Mac OS X, OpenSolaris, OS/2, Windows.
Не спрашивайте зачем. Сам не знаю ???


Оффлайн
perlito

ну собственно выдается make: *** [catalyst_par] Error 2
вот я и подумал может make притом, али нет?, может PAR или PAR::Packer? может знает кто?

perlito.ru -> о perl на русском


Оффлайн
Olej

ну собственно выдается make: *** [catalyst_par] Error 2
вот я и подумал может make притом, али нет?, может PAR или PAR::Packer? может знает кто?

/usr/include/asm-generic/errno-base.h

#define ENOENT           2      /* No such file or directory */


Оффлайн
perlito

Что то я не понял, по подробней можно, а то я в Ubuntu новичок

perlito.ru -> о perl на русском


Оффлайн
Olej

по подробней можно

не можно ;)

коды ошибок в Linux фиксированы, их определения находятся в файле, который я показал (и ещё парочка рядом для более экзотических ошибок), ваш код: «нет такого файла или каталога».

а почему нет и какого фала в сценарии Makefile — это вам разбираться.
потому и «не можно» ;)


Оффлайн
perlito

perlito.ru -> о perl на русском


Оффлайн
Yurror

tiko.svyazist, ты бы отрыл что-нибудь еще более экзотическое и просил чтобы за тебя разобрались
Естественно всем влом что-то искать качать ставить разбираться
А жи-ши это так просто

задавай более конкретные вопросы. или просто найди человека который тебе это установит


Оффлайн
Чистый

Удалил сообщения не касающиеся темы, помните что не для всех пользователей форума русский язык является родным! Проявите уважения!

Тестовый репозиторий kdeNeur ppa:devcode/kdeneur
各々が死ぬことをどのように決定する


Оффлайн
perlito

perlito.ru -> о perl на русском


  • Печать

Страницы: [1]   Вверх

Attempting to install a new kernel.
once it is compiled, I enter:

su -c "make modules_install install"

this error populates :

sed: can't read modules.order: No such file or directory
make[1]: *** [Makefile:1304: _modinst_] Error 2
make: *** [Makefile:327: __build_one_by_one] Error 2

What is the solution?

asked Apr 17, 2020 at 17:02

maaaaannn's user avatar

2

I’ve had the same issue compiling Linux Kernel 5.6.14 on Debian 10.4 using config from my current working Linux Kernel 4.19.0 inside VirtualBox.

make oldconfig
make
make modules_install

gave me the same output. After commenting line CONFIG_SYSTEM_TRUSTED_KEYS in config which I copied to Linux Kernel 5.6.14 source directory and repeating from the start make took much longer and then I was able to do make modules_install.

Found here, don’t know why it worked, sorry I’m new at this.

answered May 20, 2020 at 15:16

gacuxz's user avatar

gacuxzgacuxz

1511 silver badge6 bronze badges

1

I just went thru the same thing. The problem appears to be the make commands used to build the kernel and modules. In the old days, you could just do «make bzImage» then a «make modules_install». This current results in no modules. If you are building a newer kernel, you should do «make V=1 all» then a «make modules_install». I think this streamlines the compiling of modules. It is the method recommended in the kernel admin-guide.

answered Oct 21, 2020 at 11:56

Joe Milosch's user avatar

That is actually because you did not compile the modules. Please try make -j nproc before make modules_install again.

answered Dec 16, 2021 at 12:35

konguu's user avatar

I have banana pi and installed debian with kernel 3.19.3-bananapi from http://www.igorpecovnik.com/2014/09/07/banana-pi-debian-sd-image/

So I want to compile a module so I downloaded kernel from kernel.org and when I try to compile any module, like for example I am in the root of kernel tree and execute sudo make M=drivers/android modules

I get error:

Building modules, stage 2.
  MODPOST 0 modules

Here is the output with the deubuging V=1

user1@bananapi:~/linux-3.19.3$ sudo make M=drivers/android modules V=1
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (       
        echo >&2;                                                       
        echo >&2 "  ERROR: Kernel configuration is invalid.";           
        echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";
        echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";      
        echo >&2 ;                                                      
        /bin/false)
mkdir -p drivers/android/.tmp_versions ; rm -f drivers/android/.tmp_versions/*
make -f ./scripts/Makefile.build obj=drivers/android
(cat /dev/null; ) > drivers/android/modules.order
make -f ./scripts/Makefile.modpost
  find drivers/android/.tmp_versions -name '*.mod' | xargs -r grep -h '.ko$' | sort -u | sed 's/.ko$/.o/' | scripts/mod/modpost   -i ./Module.symvers -I drivers/android/Module.symvers  -o drivers/android/Module.symvers -S -w  -s -T -

I have tried to change the GREP_OPTIONS=’—color=always’ to never and auto and got the same error.

the output of uname -r is 3.19.3-bananapi
My headers are installed.

The output of dpkg -l linux*

user1@bananapi:~/linux-3.19.3$ dpkg -l linux*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
ii  linux-dtb-3.19 2.6          armhf        Linux DTB, version 3.19.3-bananap
un  linux-firmware <none>                    (no description available)
un  linux-headers  <none>                    (no description available)
un  linux-headers- <none>                    (no description available)
ii  linux-headers- 2.6          armhf        Linux kernel headers for 3.19.3-b
un  linux-image    <none>                    (no description available)
un  linux-image-2. <none>                    (no description available)
ii  linux-image-3. 2.6          armhf        Linux kernel, version 3.19.3-bana
un  linux-kernel-h <none>                    (no description available)
un  linux-kernel-l <none>                    (no description available)
ii  linux-libc-dev 2.6          armhf        Linux support headers for userspa
un  linux-modules- <none>                    (no description available)
un  linux-sound-ba <none>                    (no description available)
ii  linux-u-boot-3 2.6          all          Uboot loader
un  linux32        <none>                    (no description available)

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

#3

Post

by r0b0 » 2017-08-30 20:00

/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

Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

knowledge91

Make Error 2

Hello ! I am Totally new to this forum so if i miss posted this I am sorry!

I got this problem ..

Trying to install madwifi-ng Before I can install fsaa1655g (its a software for my amilo 1655g for turning on my WLAN card)

but i write
cd /home/benjamin/madwifi
make

output:

Checking requirements… ok.
Checking kernel configuration… ok.
make -C /lib/modules/2.6.32-23-generic/build SUBDIRS=/home/benjamin/madwifi modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-23-generic’
CC [M] /home/benjamin/madwifi/ath/if_ath.o
In file included from /home/benjamin/madwifi/ath/../net80211/ieee80211_monitor.h:45,
from /home/benjamin/madwifi/ath/if_ath.c:71:
/home/benjamin/madwifi/ath/../ath/if_athvar.h:98: error: conflicting types for ‘irqreturn_t’
include/linux/irqreturn.h:16: note: previous declaration of ‘irqreturn_t’ was here
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_attach’:
/home/benjamin/madwifi/ath/if_ath.c:402: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c:678: error: ‘struct net_device’ has no member named ‘open’
/home/benjamin/madwifi/ath/if_ath.c:679: error: ‘struct net_device’ has no member named ‘stop’
/home/benjamin/madwifi/ath/if_ath.c:680: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/home/benjamin/madwifi/ath/if_ath.c:681: error: ‘struct net_device’ has no member named ‘tx_timeout’
/home/benjamin/madwifi/ath/if_ath.c:683: error: ‘struct net_device’ has no member named ‘set_multicast_list’
/home/benjamin/madwifi/ath/if_ath.c:684: error: ‘struct net_device’ has no member named ‘do_ioctl’
/home/benjamin/madwifi/ath/if_ath.c:685: error: ‘struct net_device’ has no member named ‘get_stats’
/home/benjamin/madwifi/ath/if_ath.c:686: error: ‘struct net_device’ has no member named ‘set_mac_address’
/home/benjamin/madwifi/ath/if_ath.c:687: error: ‘struct net_device’ has no member named ‘change_mtu’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_detach’:
/home/benjamin/madwifi/ath/if_ath.c:958: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c:1005: error: ‘struct net_device’ has no member named ‘stop’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_vap_create’:
/home/benjamin/madwifi/ath/if_ath.c:1014: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c:1084: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_vap_delete’:
/home/benjamin/madwifi/ath/if_ath.c:1248: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_suspend’:
/home/benjamin/madwifi/ath/if_ath.c:1350: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_resume’:
/home/benjamin/madwifi/ath/if_ath.c:1359: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_intr’:
/home/benjamin/madwifi/ath/if_ath.c:1652: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_bmiss_tasklet’:
/home/benjamin/madwifi/ath/if_ath.c:1843: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_init’:
/home/benjamin/madwifi/ath/if_ath.c:1886: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_stop_locked’:
/home/benjamin/madwifi/ath/if_ath.c:2014: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_stop’:
/home/benjamin/madwifi/ath/if_ath.c:2078: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_reset’:
/home/benjamin/madwifi/ath/if_ath.c:2182: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_tx_startraw’:
/home/benjamin/madwifi/ath/if_ath.c:2343: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_hardstart’:
/home/benjamin/madwifi/ath/if_ath.c:2558: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_mgtstart’:
/home/benjamin/madwifi/ath/if_ath.c:2875: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_key_alloc’:
/home/benjamin/madwifi/ath/if_ath.c:3237: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_key_delete’:
/home/benjamin/madwifi/ath/if_ath.c:3304: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_key_set’:
/home/benjamin/madwifi/ath/if_ath.c:3380: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_key_update_begin’:
/home/benjamin/madwifi/ath/if_ath.c:3395: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_key_update_end’:
/home/benjamin/madwifi/ath/if_ath.c:3416: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_mode_init’:
/home/benjamin/madwifi/ath/if_ath.c:3504: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_updateslot’:
/home/benjamin/madwifi/ath/if_ath.c:3555: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_beacon_dturbo_config’:
/home/benjamin/madwifi/ath/if_ath.c:3585: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_beacon_dturbo_update’:
/home/benjamin/madwifi/ath/if_ath.c:3633: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_turbo_switch_mode’:
/home/benjamin/madwifi/ath/if_ath.c:3776: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_bstuck_tasklet’:
/home/benjamin/madwifi/ath/if_ath.c:4368: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_node_alloc’:
/home/benjamin/madwifi/ath/if_ath.c:4820: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_node_cleanup’:
/home/benjamin/madwifi/ath/if_ath.c:4855: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_node_free’:
/home/benjamin/madwifi/ath/if_ath.c:4909: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_rx_capture’:
/home/benjamin/madwifi/ath/if_ath.c:5404: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_tx_capture’:
/home/benjamin/madwifi/ath/if_ath.c:5437: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_recv_mgmt’:
/home/benjamin/madwifi/ath/if_ath.c:5502: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_rx_tasklet’:
/home/benjamin/madwifi/ath/if_ath.c:5574: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_grppoll_start’:
/home/benjamin/madwifi/ath/if_ath.c:6013: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_grppoll_stop’:
/home/benjamin/madwifi/ath/if_ath.c:6226: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_wme_update’:
/home/benjamin/madwifi/ath/if_ath.c:6441: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_uapsd_flush’:
/home/benjamin/madwifi/ath/if_ath.c:6460: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_tx_start’:
/home/benjamin/madwifi/ath/if_ath.c:6655: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_tx_tasklet_q0’:
/home/benjamin/madwifi/ath/if_ath.c:7495: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_tx_tasklet_q0123’:
/home/benjamin/madwifi/ath/if_ath.c:7516: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_tx_tasklet’:
/home/benjamin/madwifi/ath/if_ath.c:7551: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_tx_timeout’:
/home/benjamin/madwifi/ath/if_ath.c:7574: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_calibrate’:
/home/benjamin/madwifi/ath/if_ath.c:7937: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_scan_start’:
/home/benjamin/madwifi/ath/if_ath.c:8003: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_scan_end’:
/home/benjamin/madwifi/ath/if_ath.c:8023: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_set_channel’:
/home/benjamin/madwifi/ath/if_ath.c:8041: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_set_coverageclass’:
/home/benjamin/madwifi/ath/if_ath.c:8057: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_mhz2ieee’:
/home/benjamin/madwifi/ath/if_ath.c:8067: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_newstate’:
/home/benjamin/madwifi/ath/if_ath.c:8082: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_setup_stationkey’:
/home/benjamin/madwifi/ath/if_ath.c:8471: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_newassoc’:
/home/benjamin/madwifi/ath/if_ath.c:8631: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_getchannels’:
/home/benjamin/madwifi/ath/if_ath.c:8662: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_xr_rate_setup’:
/home/benjamin/madwifi/ath/if_ath.c:8832: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_setup_subrates’:
/home/benjamin/madwifi/ath/if_ath.c:8861: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_rate_setup’:
/home/benjamin/madwifi/ath/if_ath.c:8904: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_getstats’:
/home/benjamin/madwifi/ath/if_ath.c:9141: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_set_mac_address’:
/home/benjamin/madwifi/ath/if_ath.c:9164: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_change_mtu’:
/home/benjamin/madwifi/ath/if_ath.c:9196: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_ioctl’:
/home/benjamin/madwifi/ath/if_ath.c:9283: error: ‘struct net_device’ has no member named ‘priv’
cc1: warnings being treated as errors
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_sysctl_halparam’:
/home/benjamin/madwifi/ath/if_ath.c:9370: error: passing argument 5 of ‘proc_dointvec’ from incompatible pointer type
include/linux/sysctl.h:985: note: expected ‘loff_t *’ but argument is of type ‘size_t *’
/home/benjamin/madwifi/ath/if_ath.c:9370: error: too many arguments to function ‘proc_dointvec’
/home/benjamin/madwifi/ath/if_ath.c:9562: error: passing argument 5 of ‘proc_dointvec’ from incompatible pointer type
include/linux/sysctl.h:985: note: expected ‘loff_t *’ but argument is of type ‘size_t *’
/home/benjamin/madwifi/ath/if_ath.c:9562: error: too many arguments to function ‘proc_dointvec’
/home/benjamin/madwifi/ath/if_ath.c: At top level:
/home/benjamin/madwifi/ath/if_ath.c:9574: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9580: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9586: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9592: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9598: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9604: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9610: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9616: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9623: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9630: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9636: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9642: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9648: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9654: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9660: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9667: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9673: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9680: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9686: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_announce’:
/home/benjamin/madwifi/ath/if_ath.c:9779: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_rcv_dev_event’:
/home/benjamin/madwifi/ath/if_ath.c:9926: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c:9928: error: ‘struct net_device’ has no member named ‘open’
make[3]: *** [/home/benjamin/madwifi/ath/if_ath.o] Error 1
make[2]: *** [/home/benjamin/madwifi/ath] Error 2
make[1]: *** [_module_/home/benjamin/madwifi] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-23-generic’
make: *** [modules] Error 2

I dont understand whats wrong =/ :oops:

please help me :D

Thanks =)

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.

Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

knowledge91

Re: Make Error 2

Post

by knowledge91 » Fri Sep 10, 2010 3:23 pm

sorry didt help =(

got this :

enjamin@haxLin ~ $
benjamin@haxLin ~ $ cd /home/benjamin/madwifi
benjamin@haxLin ~/madwifi $ sudo make
[sudo] password for benjamin:
Checking requirements… ok.
Checking kernel configuration… ok.
make -C /lib/modules/2.6.32-23-generic/build SUBDIRS=/home/benjamin/madwifi modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-23-generic’
CC [M] /home/benjamin/madwifi/ath/if_ath.o
In file included from /home/benjamin/madwifi/ath/../net80211/ieee80211_monitor.h:45,
from /home/benjamin/madwifi/ath/if_ath.c:71:
/home/benjamin/madwifi/ath/../ath/if_athvar.h:98: error: conflicting types for ‘irqreturn_t’
include/linux/irqreturn.h:16: note: previous declaration of ‘irqreturn_t’ was here
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_attach’:
/home/benjamin/madwifi/ath/if_ath.c:402: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c:678: error: ‘struct net_device’ has no member named ‘open’
/home/benjamin/madwifi/ath/if_ath.c:679: error: ‘struct net_device’ has no member named ‘stop’
/home/benjamin/madwifi/ath/if_ath.c:680: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/home/benjamin/madwifi/ath/if_ath.c:681: error: ‘struct net_device’ has no member named ‘tx_timeout’
/home/benjamin/madwifi/ath/if_ath.c:683: error: ‘struct net_device’ has no member named ‘set_multicast_list’
/home/benjamin/madwifi/ath/if_ath.c:684: error: ‘struct net_device’ has no member named ‘do_ioctl’
/home/benjamin/madwifi/ath/if_ath.c:685: error: ‘struct net_device’ has no member named ‘get_stats’
/home/benjamin/madwifi/ath/if_ath.c:686: error: ‘struct net_device’ has no member named ‘set_mac_address’
/home/benjamin/madwifi/ath/if_ath.c:687: error: ‘struct net_device’ has no member named ‘change_mtu’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_detach’:
/home/benjamin/madwifi/ath/if_ath.c:958: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c:1005: error: ‘struct net_device’ has no member named ‘stop’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_vap_create’:
/home/benjamin/madwifi/ath/if_ath.c:1014: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c:1084: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_vap_delete’:
/home/benjamin/madwifi/ath/if_ath.c:1248: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_suspend’:
/home/benjamin/madwifi/ath/if_ath.c:1350: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_resume’:
/home/benjamin/madwifi/ath/if_ath.c:1359: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_intr’:
/home/benjamin/madwifi/ath/if_ath.c:1652: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_bmiss_tasklet’:
/home/benjamin/madwifi/ath/if_ath.c:1843: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_init’:
/home/benjamin/madwifi/ath/if_ath.c:1886: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_stop_locked’:
/home/benjamin/madwifi/ath/if_ath.c:2014: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_stop’:
/home/benjamin/madwifi/ath/if_ath.c:2078: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_reset’:
/home/benjamin/madwifi/ath/if_ath.c:2182: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_tx_startraw’:
/home/benjamin/madwifi/ath/if_ath.c:2343: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_hardstart’:
/home/benjamin/madwifi/ath/if_ath.c:2558: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_mgtstart’:
/home/benjamin/madwifi/ath/if_ath.c:2875: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_key_alloc’:
/home/benjamin/madwifi/ath/if_ath.c:3237: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_key_delete’:
/home/benjamin/madwifi/ath/if_ath.c:3304: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_key_set’:
/home/benjamin/madwifi/ath/if_ath.c:3380: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_key_update_begin’:
/home/benjamin/madwifi/ath/if_ath.c:3395: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_key_update_end’:
/home/benjamin/madwifi/ath/if_ath.c:3416: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_mode_init’:
/home/benjamin/madwifi/ath/if_ath.c:3504: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_updateslot’:
/home/benjamin/madwifi/ath/if_ath.c:3555: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_beacon_dturbo_config’:
/home/benjamin/madwifi/ath/if_ath.c:3585: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_beacon_dturbo_update’:
/home/benjamin/madwifi/ath/if_ath.c:3633: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_turbo_switch_mode’:
/home/benjamin/madwifi/ath/if_ath.c:3776: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_bstuck_tasklet’:
/home/benjamin/madwifi/ath/if_ath.c:4368: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_node_alloc’:
/home/benjamin/madwifi/ath/if_ath.c:4820: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_node_cleanup’:
/home/benjamin/madwifi/ath/if_ath.c:4855: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_node_free’:
/home/benjamin/madwifi/ath/if_ath.c:4909: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_rx_capture’:
/home/benjamin/madwifi/ath/if_ath.c:5404: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_tx_capture’:
/home/benjamin/madwifi/ath/if_ath.c:5437: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_recv_mgmt’:
/home/benjamin/madwifi/ath/if_ath.c:5502: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_rx_tasklet’:
/home/benjamin/madwifi/ath/if_ath.c:5574: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_grppoll_start’:
/home/benjamin/madwifi/ath/if_ath.c:6013: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_grppoll_stop’:
/home/benjamin/madwifi/ath/if_ath.c:6226: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_wme_update’:
/home/benjamin/madwifi/ath/if_ath.c:6441: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_uapsd_flush’:
/home/benjamin/madwifi/ath/if_ath.c:6460: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_tx_start’:
/home/benjamin/madwifi/ath/if_ath.c:6655: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_tx_tasklet_q0’:
/home/benjamin/madwifi/ath/if_ath.c:7495: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_tx_tasklet_q0123’:
/home/benjamin/madwifi/ath/if_ath.c:7516: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_tx_tasklet’:
/home/benjamin/madwifi/ath/if_ath.c:7551: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_tx_timeout’:
/home/benjamin/madwifi/ath/if_ath.c:7574: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_calibrate’:
/home/benjamin/madwifi/ath/if_ath.c:7937: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_scan_start’:
/home/benjamin/madwifi/ath/if_ath.c:8003: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_scan_end’:
/home/benjamin/madwifi/ath/if_ath.c:8023: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_set_channel’:
/home/benjamin/madwifi/ath/if_ath.c:8041: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_set_coverageclass’:
/home/benjamin/madwifi/ath/if_ath.c:8057: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_mhz2ieee’:
/home/benjamin/madwifi/ath/if_ath.c:8067: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_newstate’:
/home/benjamin/madwifi/ath/if_ath.c:8082: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_setup_stationkey’:
/home/benjamin/madwifi/ath/if_ath.c:8471: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_newassoc’:
/home/benjamin/madwifi/ath/if_ath.c:8631: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_getchannels’:
/home/benjamin/madwifi/ath/if_ath.c:8662: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_xr_rate_setup’:
/home/benjamin/madwifi/ath/if_ath.c:8832: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_setup_subrates’:
/home/benjamin/madwifi/ath/if_ath.c:8861: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_rate_setup’:
/home/benjamin/madwifi/ath/if_ath.c:8904: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_getstats’:
/home/benjamin/madwifi/ath/if_ath.c:9141: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_set_mac_address’:
/home/benjamin/madwifi/ath/if_ath.c:9164: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_change_mtu’:
/home/benjamin/madwifi/ath/if_ath.c:9196: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_ioctl’:
/home/benjamin/madwifi/ath/if_ath.c:9283: error: ‘struct net_device’ has no member named ‘priv’
cc1: warnings being treated as errors
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_sysctl_halparam’:
/home/benjamin/madwifi/ath/if_ath.c:9370: error: passing argument 5 of ‘proc_dointvec’ from incompatible pointer type
include/linux/sysctl.h:985: note: expected ‘loff_t *’ but argument is of type ‘size_t *’
/home/benjamin/madwifi/ath/if_ath.c:9370: error: too many arguments to function ‘proc_dointvec’
/home/benjamin/madwifi/ath/if_ath.c:9562: error: passing argument 5 of ‘proc_dointvec’ from incompatible pointer type
include/linux/sysctl.h:985: note: expected ‘loff_t *’ but argument is of type ‘size_t *’
/home/benjamin/madwifi/ath/if_ath.c:9562: error: too many arguments to function ‘proc_dointvec’
/home/benjamin/madwifi/ath/if_ath.c: At top level:
/home/benjamin/madwifi/ath/if_ath.c:9574: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9580: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9586: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9592: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9598: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9604: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9610: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9616: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9623: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9630: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9636: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9642: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9648: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9654: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9660: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9667: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9673: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9680: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9686: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_announce’:
/home/benjamin/madwifi/ath/if_ath.c:9779: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_rcv_dev_event’:
/home/benjamin/madwifi/ath/if_ath.c:9926: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c:9928: error: ‘struct net_device’ has no member named ‘open’
make[3]: *** [/home/benjamin/madwifi/ath/if_ath.o] Error 1
make[2]: *** [/home/benjamin/madwifi/ath] Error 2
make[1]: *** [_module_/home/benjamin/madwifi] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-23-generic’
make: *** [modules] Error 2

hopefully you know the error ! :D

maybe a reinstall?

bob5

Re: Make Error 2

Post

by bob5 » Fri Sep 10, 2010 5:13 pm

hi ,

were did you download the folder form , could you post the website ! ??

Make sure you have build-essentials installed :

Code: Select all

sudo apt-get install build-essential linux-headers-$(uname -r)

….

-error 2 is running with out sudo mmm I would think

Thanks

knowledge91

Re: Make Error 2

Post

by knowledge91 » Sat Sep 11, 2010 5:42 am

bob5 wrote:hi ,

were did you download the folder form , could you post the website ! ??

Make sure you have build-essentials installed :

Code: Select all

sudo apt-get install build-essential linux-headers-$(uname -r)

….

-error 2 is running with out sudo mmm I would think

Thanks

Dont Remember the Website ! :(

But I reinstalled the OS ( linux Mint xfce 2.6.32-21 generic 32bit)
I am starting from scratch! so what do i need for installing ?=)

knowledge91

Re: Make Error 2

Post

by knowledge91 » Sat Sep 11, 2010 7:52 am

now i am getting this .

make[1]: *** [_module_/home/benjamin/fsaa1655g] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-21-generic’
make: *** [default] Error 2
benjamin@hax-lin ~/fsaa1655g $ sudo make
make -C /lib/modules/2.6.32-21-generic/build SUBDIRS=/home/benjamin/fsaa1655g modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-21-generic’
CC [M] /home/benjamin/fsaa1655g/fsaa1655g.o
/home/benjamin/fsaa1655g/fsaa1655g.c: In function ‘amiloa1655g_proc_cleanup’:
/home/benjamin/fsaa1655g/fsaa1655g.c:148: error: ‘proc_root’ undeclared (first use in this function)
/home/benjamin/fsaa1655g/fsaa1655g.c:148: error: (Each undeclared identifier is reported only once
/home/benjamin/fsaa1655g/fsaa1655g.c:148: error: for each function it appears in.)
/home/benjamin/fsaa1655g/fsaa1655g.c: In function ‘amiloa1655g_proc_init’:
/home/benjamin/fsaa1655g/fsaa1655g.c:159: error: ‘proc_root’ undeclared (first use in this function)
make[2]: *** [/home/benjamin/fsaa1655g/fsaa1655g.o] Error 1
make[1]: *** [_module_/home/benjamin/fsaa1655g] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-21-generic’
make: *** [default] Error 2

I DONT understand ;P

knowledge91

Re: Make Error 2

Post

by knowledge91 » Sat Sep 11, 2010 11:16 am

Hello again mint forum!

I found a solution for my problem!
I had the wrong kernel installed and i tried to install a fsaa1655g for another kernel.

So I fix it

This post is postet from the computer running linux on Wireless!

Thx for the help and fast response !

-Happy boy benjamin aka knowledge-

bob5

Re: Make Error 2

Post

by bob5 » Sat Sep 11, 2010 12:59 pm

hi ,

well done !

PS ,check out th readme next time First it will tell every thing that you need to install !

Понравилась статья? Поделить с друзьями:
  • Main file data integrity crc error
  • Main executable как исправить
  • Main error unable to locate appender serverguiconsole for logger config root
  • Make menuselect error
  • Main error unable to locate appender console for logger config root