Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I've done some web searching and messing around and still get this not-so-descriptive error when compiling ndiswrapper-1.17.
make spitts out this
In file included from include/asm/thread_info.h:16,
include/asm/processor.h:87: error: array type has incomplete element type
In file included from include/asm/mpspec.h:5,
include/asm/mpspec_def.h:78: warning: 'packed' attribute ignored for field of type 'unsigned char[5u]'
In file included from include/linux/netdevice.h:151,
include/linux/skbuff.h: In function 'skb_add_data':
include/linux/skbuff.h:1018: warning: pointer targets in passing argument 2 of 'csum_and_copy_from_user' differ in signedness
make: *** [/home/matthew/ndiswrapper-1.17/driver/hal.o] Error 1
make: *** [_module_/home/matthew/ndiswrapper-1.17/driver] Error 2
make: *** [default] Error 2
make: *** [all] Error 2
Can anyone make sense of that?
I'm running slackware 10 on a very old IBM thinkpad 600.
I compiled as root becuse as a user I ran into some Permission Denied error.
Hmm, you know now that I'm thinking about it, this might be a problem with gcc.
I just upgraded to gcc-4.1.1 as it was another prerequisite. And this is the first thing I have tried to compile with it. Maybe I should try compiling something else and see if I get a similar error.
Ok, I just succesfully compiled nano, this little command line text editor. The build went fine. That dosn't mean that it's not a compiler issue though. There may still be some library out of place. I don't know. I don't even know what the error is.
The latest versions of ndiswrapper require a newer gcc than is in Slackware 10.2. The easiest way around this is to use an older ndiswrapper (I think 1.15 or older). I'm not sure if Slackware current has a newer version of gcc or not (you can check a mirror), but if it does, you could upgrade to -current. Personally, I would try an older ndiswrapper first as I don't really like running boxes off of -current.
Slackware has two branches. The numbered branches (like 10.2) are very stable and the packages are usually only updated for bug fixes and security patches. On the other hand, the current branch is the testing ground for the next release of Slackware. It has the latest and greatest, but because of that, it is also frequently changing and sometimes those changes break your install unless you're paying attention to the changelogs.
One of the problems with upgrading gcc is that stuff compiled with newer versions of gcc aren't always compatible with stuff compiled with older gcc versions. I know you said nano compilied cleanly, but nano doesn't have any kernel dependencies like ndiswrapper does. In your first post, you say you're on Slackware 10. Is that 10 or 10.x? If you are still on 10, then I would believe that upgrading just gcc is causing all sorts of problems.
The errors you've got look like broken code, but I haven't seen any reports that ndiswrapper 1.17 is that broken. If this were generally happening, there would be a lot more fuss going on. That leads me to suspect that upgrading gcc to 4.1.1, while running on a machine largely compiled with earlier versions, is leading to trouble. If I were in your shoes, I'd roll back the gcc upgrade and try an earlier ndiswrapper version. Either that or update your entire box to be on the current branch, including the kernel.