Gcc Error Ndiswrapper
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Unable to compile Linux kernel up vote 3 down vote favorite I am trying to upgrade my kernel to 4.5 in Linux Mint 17.3, but I get the following error: Makefile:666: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler LD /var/lib/dkms/ndiswrapper/1.59/build/built-in.o MKEXPORT /var/lib/dkms/ndiswrapper/1.59/build/crt_exports.h MKEXPORT /var/lib/dkms/ndiswrapper/1.59/build/hal_exports.h MKEXPORT /var/lib/dkms/ndiswrapper/1.59/build/ndis_exports.h MKEXPORT /var/lib/dkms/ndiswrapper/1.59/build/ntoskernel_exports.h MKEXPORT /var/lib/dkms/ndiswrapper/1.59/build/ntoskernel_io_exports.h MKEXPORT /var/lib/dkms/ndiswrapper/1.59/build/rtl_exports.h MKEXPORT /var/lib/dkms/ndiswrapper/1.59/build/usb_exports.h MKSTUBS /var/lib/dkms/ndiswrapper/1.59/build/win2lin_stubs.h CC [M] /var/lib/dkms/ndiswrapper/1.59/build/crt.o gcc: error: unrecognized command line option ‘-fstack-protector-strong’ make[1]: *** [/var/lib/dkms/ndiswrapper/1.59/build/crt.o] Error 1 make: *** [_module_/var/lib/dkms/ndiswrapper/1.59/build] Error 2 make: Leaving directory `/usr/src/linux-headers-4.5.0-040500-generic' I have GCC version 4.8.4. Following is the error after upgrading gcc to 4.9. I read somewhere that this is a bug? DKMS make.log for ndiswrapper-1.59 for kernel 4.5.0-040500-generic (x86_64) make: Entering directory `/usr/src/linux-headers-4.5.0-040500-generic' LD /var/lib/dkms/ndiswrapper/1.59/build/built-in.o MKEXPORT /var/lib/dkms/ndiswrapper/1.59/build/crt_exports.h MKEXPORT /var/lib/dkms/ndiswrapper/1.59/build/hal_exports.h MKEXPORT /var/lib/dkms/ndiswrapper/1.59/build/ndis_exports.h MKEXPORT /var/lib/dkms/ndiswrapper/1.59/build/ntoskernel_exports.h MKEXPORT /var/lib/dkms/ndi
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Trying to install NDISWrapper, but http://unix.stackexchange.com/questions/270978/unable-to-compile-linux-kernel get error after “make” command up vote 1 down vote favorite I installed Ubuntu a few days ago, and i am trying to get my internet adapter (the TP-LINK 8200ND, through USB) working, even though drivers don't support linux. I am trying to install NDISWrapper, as a lot of people reccomended when i searched for solutions. i follow instructions: "Change directory to that folder, and type in the commands: make uninstall" OK, that works http://askubuntu.com/questions/813296/trying-to-install-ndiswrapper-but-get-error-after-make-command/813317 fine, i see no errors. "make" Here is the output: make -C utils make[1]: Entering directory '/home/raiden/Desktop/ndiswrapper-1.60/utils' gcc -g -Wall -I../driver -o loadndisdriver loadndisdriver.c In file included from loadndisdriver.c:37:0: ../driver/loader.h:19:41: error: missing binary operator before token "(" #if LINUX_VERSION_CODE > KERNEL_VERSION(4,0,0) ^ Makefile:16: recipe for target 'loadndisdriver' failed make[1]: *** [loadndisdriver] Error 1 make[1]: Leaving directory '/home/raiden/Desktop/ndiswrapper-1.60/utils' Makefile:23: recipe for target 'utils' failed make: *** [utils] Error 2 I tried continuing, hoping it's nothing, but the next command (make install as root) gives the same output, and the wrapper doesn't work. Anyone has an idea how to fix this? Note: I do not have internet on Ubuntu. I am writing this from Windows where the drivers work fine, so keep that in mind if you wanted to suggest something that needs internet. Thanks! Edit: lsusb output: Bus 001 Device 005: ID 058f:6387 Alcor Micro Corp. Flash Drive Bus 001 Device 007: ID 2357:0100 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 003: ID 04f3:0103 Elan Microelectronics Corp. ActiveJet K-2024 Multimedia Keyboard Bus 003 Device 002: ID 045e:00cb Microsoft Corp. Basic Optical Mouse v2.0 Bus 003 Device 001: ID 1d6b:0001 Linux Foundatio
1.13 & 1.7 fail to build on FC5 kernel 2080 Date: http://www.centos.org/forums/viewtopic.php?t=37354 Fri, 14 Apr 2006 14:00:19 -0500 Both versions of ndiswrapper fail with same errors. [bmcclure localhost gcc error ~]$ rpm -q kernel kernel-2.6.15-1.2054_FC5 kernel-2.6.16-1.2080_FC5 [bmcclure localhost ~]$ rpm -q kernel-devel kernel-devel-2.6.15-1.2054_FC5 kernel-devel-2.6.16-1.2080_FC5 [bmcclure localhost ~]$ cd ~/downloads/ndiswrapper-1.7 [bmcclure localhost ndiswrapper-1.7]$ make make -C driver make[1]: Entering directory `/home/bmcclure/downloads/ndiswrapper-1.7/driver' make -C gcc error ndiswrapper /lib/modules/2.6.16-1.2080_FC5/build SUBDIRS=/home/bmcclure/downloads/ndiswrapper-1.7/driver \ DRIVER_VERSION=1.7 /usr/src/kernels/2.6.16-1.2080_FC5-i686/scripts/gcc-version.sh: line 11: gcc: command not found /usr/src/kernels/2.6.16-1.2080_FC5-i686/scripts/gcc-version.sh: line 12: gcc: command not found make[2]: gcc: Command not found make[2]: Entering directory `/usr/src/kernels/2.6.16-1.2080_FC5-i686' CC [M] /home/bmcclure/downloads/ndiswrapper-1.7/driver/hal.o /bin/sh: gcc: command not found make[3]: *** [/home/bmcclure/downloads/ndiswrapper-1.7/driver/hal.o] Error 127 make[2]: *** [_module_/home/bmcclure/downloads/ndiswrapper-1.7/driver] Error 2 make[2]: Leaving directory `/usr/src/kernels/2.6.16-1.2080_FC5-i686' make[1]: *** [default] Error 2 make[1]: Leaving directory `/home/bmcclure/downloads/ndiswrapper-1.7/driver' make: *** [all] Error 2 [bmcclure localhost ndiswrapper-1.7]$ cd ~/downloads/ndiswrapper-1.13 [bmcclure localhost ndiswrapper-1.13]$ make make -C driver make[1]: Entering directory `/home/bmcclure/downloads/ndiswrapper-1.13/driver' make -C /lib/modules/2.6.16-1.2080_FC5/build SUBDIRS=/home/bmcclure/downloads/ndiswrapper-1.13/driver \ DRIVER_VERSION=1.13 /usr/src/kernels/2.6.16-1.2080_FC5-i686/scripts/gcc-version.sh: line 11: gcc: command not found /usr/src/kernels/2.6.16-1.2080_FC5-i686/scripts/gcc-versi
help with ndiswrapper Issues related to software problems Post Reply Print view Search Advanced search 8 posts • Page 1 of 1 rune-san Posts: 4 Joined: 2007/02/06 02:01:21 Location: USA Contact: Contact rune-san Website Yahoo Messenger AOL I really need help with ndiswrapper Quote Postby rune-san » 2007/02/06 02:19:41 I dont want to come across as someone who just wants to move on Believe me guys I've tried... I'm a self-taught Linux noob and while ive tried to get ndiswrapper installed I simply cant do it.. I downloaded ndiswrapper-1.37untarred..changed directory to ndiswrapper-1.37make distcleanand then make and i always get this error:Code: Select all[root@localhost ndiswrapper-1.37]# make
make -C driver
make[1]: Entering directory `/root/ndiswrapper-1.37/driver'
make -C /lib/modules/2.6.9-42.0.8.EL/build SUBDIRS=/root/ndiswrapper-1.37/driver
/usr/src/kernels/2.6.9-42.0.8.EL-i686/scripts/gcc-version.sh: line 11: gcc: command not found
/usr/src/kernels/2.6.9-42.0.8.EL-i686/scripts/gcc-version.sh: line 12: gcc: command not found
make[2]: Entering directory `/usr/src/kernels/2.6.9-42.0.8.EL-i686'
LD /root/ndiswrapper-1.37/driver/built-in.o
CC [M] /root/ndiswrapper-1.37/driver/crt.o
/bin/sh: gcc: command not found
make[3]: *** [/root/ndiswrapper-1.37/driver/crt.o] Error 127
make[2]: *** [_module_/root/ndiswrapper-1.37/driver] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.9-42.0.8.EL-i686'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/root/ndiswrapper-1.37/driver'
make: *** [all] Error 2
It seemed to me like it doesn't like the kernel... Im running a s