cant compile Ndiswrapper

  • capoeira
Posted: Tue, 05/05/2009 - 19:33
cant compile Ndiswrapper i have installed the 2.6.29.2-rt11 Kernel and Headers. can anybody give me a help. i allready googled but not found anything. OUTPUT: ---------------------------- fabio@host:~/Desktop/ndiswrapper-1.54$ make make -C driver make[1]: Entering directory `/home/fabio/Desktop/ndiswrapper-1.54/driver' make -C /usr/src/linux-headers-2.6.29.2-rt11.2b3.090503 M=/home/fabio/Desktop/ndiswrapper-1.54/driver make[2]: Entering directory `/usr/src/linux-headers-2.6.29.2-rt11.2b3.090503' /usr/src/linux-headers-2.6.29.2-rt11.2b3.090503/arch/x86/Makefile:41: /usr/src/linux-headers-2.6.29.2-rt11.2b3.090503/arch/x86/Makefile_32.cpu: No such file or directory make[2]: *** No rule to make target `/usr/src/linux-headers-2.6.29.2-rt11.2b3.090503/arch/x86/Makefile_32.cpu'. Stop. make[2]: Leaving directory `/usr/src/linux-headers-2.6.29.2-rt11.2b3.090503' make[1]: *** [modules] Error 2 make[1]: Leaving directory `/home/fabio/Desktop/ndiswrapper-1.54/driver' make: *** [all] Error 2 fabio@host:~/Desktop/ndiswrapper-1.54$ -----------------------------

i mean, i do not understand

  • capoeira
  • 05/01/09
  • Tue, 07/21/2009 - 02:24
i mean, i do not understand almost nothing of this things, only for knowing: will ndiswrapper be supported in final-release?

is nobody using wireless

  • capoeira
  • 05/01/09
  • Tue, 07/21/2009 - 02:19
is nobody using wireless here??????? what are you using instead? still cant "make" l ooks like it is a error in the kernel wich is only fixed in 2.6.31-3.19: http://www.mail-archive.com/karmic-changes@lists.ubuntu.com/msg03764.html and: http://sourceforge.net/tracker/?func=detail&aid=2807437&group_id=93482&atid=604450 what does the man in the coment mean with: "things like the 2.6.29.5-rt22 patch already contain this, so these users have to manually weed the ndis copy out before compiling."? what is to do? is there any chance of getting that kernel in the next weeks?

no, i gave it up that

  • capoeira
  • 05/01/09
  • Thu, 07/16/2009 - 21:33
no, i gave it up that day... but i am thinking of giving it an other try, to get rid o the cable in the middle of the room...... post here if you manage it

f_ck

  • capoeira
  • 05/01/09
  • Tue, 05/26/2009 - 12:51
i don't have patiance for this. made a Makefile_32.cpu with the text from the link, seemed to work - until running to next problem: ---------------- fabio@host:~/Desktop/ndiswrapper-1.54$ make make -C driver make[1]: Entering directory `/home/fabio/Desktop/ndiswrapper-1.54/driver' make -C /usr/src/linux-headers-2.6.29-1-multimedia-686 M=/home/fabio/Desktop/ndiswrapper-1.54/driver make[2]: Entering directory `/usr/src/linux-headers-2.6.29-1-multimedia-686' MKEXPORT /home/fabio/Desktop/ndiswrapper-1.54/driver/crt_exports.h CC [M] /home/fabio/Desktop/ndiswrapper-1.54/driver/crt.o In file included from /home/fabio/Desktop/ndiswrapper-1.54/driver/crt.c:16: /home/fabio/Desktop/ndiswrapper-1.54/driver/ntoskernel.h:887: error: conflicting types for ‘cmpxchg8b’ /usr/src/linux-headers-2.6.29-1-common-multimedia/arch/x86/include/asm/atomic_32.h:269: error: previous definition of ‘cmpxchg8b’ was here make[5]: *** [/home/fabio/Desktop/ndiswrapper-1.54/driver/crt.o] Error 1 make[4]: *** [_module_/home/fabio/Desktop/ndiswrapper-1.54/driver] Error 2 make[3]: *** [sub-make] Error 2 make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/src/linux-headers-2.6.29-1-multimedia-686' make[1]: *** [modules] Error 2 make[1]: Leaving directory `/home/fabio/Desktop/ndiswrapper-1.54/driver' make: *** [all] Error 2 fabio@host:~/Desktop/ndiswrapper-1.54$ --------------------- compiling is for verry pacient men wondering if NOBODY here is using ndiswrapper in 3.0beta!?

capoeira, did you fix your

  • muza
  • 07/16/09
  • Thu, 07/16/2009 - 20:53
capoeira, did you fix your issue? i'm in the exactly point of your last post. thanx!

thanks, skullnotions. i will

  • capoeira
  • 05/01/09
  • Wed, 05/06/2009 - 06:14
thanks, skullnotions. i will see that later as im working on my audio-packages now

Downloaded 2.6.26

  • skullnotions
  • 09/29/07
  • Wed, 05/06/2009 - 03:05
Downloaded 2.6.26 source. 2.6.26/arch/x86/Makefile_32.cp Try using this file and see if the build works. Cheers! Dave.

Makefile_32.cpu

  • skullnotions
  • 09/29/07
  • Wed, 05/06/2009 - 02:32
I've got two installs using this kernel. One is the original build + headers & source, the other is a clean install with the kernel & headers from the repositories. The .config is there in both, I don't use ndiswrapper but the ndiswrapper build fails to build on both with the same error as above. Googled: /x86/Makefile_32.cpu: No such file or directory make[2] Googled: linux-headers-2.6.29 Makefile_32.cpu file missing Finds hits like this: On installation of the package there should be a file installed /usr/src/linux-headers-2.6.29-1-common/arch/x86/Makefile_32.cpu This file has traditionally contained the cpu tuning information. An extra driver which I use (virtualbox) when compiled with this header refused to compile when I installed 2.6.29 kernel from sid and the related headers. On inspection of the output I found this file is missing. The output on compiling was as follows:- [.....] My module seems to compile when I put equivalent file from the stock 2.6.26 kernel headers which ships with Lenny release and it seemed to work. Request the maintainers to please put the file so that other people like me building drivers needing the above mentioned file are able to do so. It seems to be missing from the this kernel header package. and: Solved - Downloaded the source of kernel.org, took the Makefile_32.cpu off that. Cheers! Dave.

.config

  • Quentin Harley
  • 05/24/07
  • Tue, 05/05/2009 - 20:43

.config is a hidden file.

First run the following command to make sure it really is not there:
ls -a /lib/modules/`uname -r`/build
Adding -a option shows hidden files as well.

If not, to get the .config in there (by force) do the following:

sudo cp /boot/config-`uname -r` /lib/modules/`uname -r`/build/.config

Then try again.

OK

  • capoeira
  • 05/01/09
  • Wed, 05/06/2009 - 02:07
".config" was already there - so i don't know what to do. installed latest ndiswrapper with deb-pakages i found but the module doesn't work.

the read-me file says this

  • capoeira
  • 05/01/09
  • Tue, 05/05/2009 - 19:51

the read-me file says this:

-------------------
Prerequisites

You need a recent kernel, at least 2.6.16, with header files for the
kernel. Make sure there is a link to the kernel source from the modules
directory. The command

ls /lib/modules/`uname -r`/build

should have at least 'include' directory and '.config' file.

...................

it does list a "include" directory but no ".config" file. what do i do here?