Results 1 to 7 of 7
i cannot seem to run any makefiles. when i try to it informs me that certain members cannot be found. on some, it sends errors about "cflags'. please help (i ...
- 01-19-2011 #1Just Joined!
- Join Date
- Jan 2011
- Posts
- 3
makefile problems
i cannot seem to run any makefiles. when i try to it informs me that certain members cannot be found. on some, it sends errors about "cflags'. please help (i already have installed build essentials)
- 01-24-2011 #2Just Joined!
- Join Date
- Mar 2009
- Location
- Norway
- Posts
- 52
Hi!
This doesn't tell us much I'm afraid.
- What do you mean by "certain" members?
- Which language are you trying to compile?
Could you tell us a bit more about the app, language and include the error-messages here?
Also, for future reference: https://www.linuxforums.org/forum/ne...tions-2-a.html
- 01-24-2011 #3
- 01-24-2011 #4Just Joined!
- Join Date
- Jan 2011
- Posts
- 3
i am trying to install a usb dongle driver. i have no idea what language it is.
it says "member "start" not in struct net_struct_device" or something like that
- 01-25-2011 #5Just Joined!
- Join Date
- Mar 2009
- Location
- Norway
- Posts
- 52
Ah, so you are building a kernel module? (Then it's written in C..) If that's the case, you need to download the kernel-headers. In debian you do this by
Where did you find this driver? Could you try to install it and dump the error-messages here?Code:sudo aptitude install linux-kernel-headers
Describing something that ends with "or something like that" makes it a tad difficult to trace down the problem
- 01-26-2011 #6Just Joined!
- Join Date
- Jan 2011
- Posts
- 3
its seems that i already have the header files
this is the error message.
e.c: 11333: error: 'struct net_device' has no member named 'open'
there are multiple errors like this, each with a different member name.
- 01-27-2011 #7Just Joined!
- Join Date
- Mar 2009
- Location
- Norway
- Posts
- 52
Hi,
looks like the driver you are using are quite old. By digging a bit in the kernel, the members was removed in may 2009 [1], [2]. This means that kernels newer than 2.6.29 [3] won't work with your driver.
So, either you need to find an updated driver from your favorite usb-dongle-vendor, or you need to install an older (!) kernel.
The steps required to install a new driver is either an older distro, or building the kernel yourself. I'd try to find an updated driver from the vendor...
1: http://git.kernel.org/?p=linux/kerne...1d41b503f7fbe3
2: http://git.kernel.org/?p=linux/kerne...82091dda4bbe62
3: http://git.kernel.org/?p=linux/kerne...a9b04ce885cd84


Reply With Quote
