Hi Juanito,
I tried the instructions as described in the link and everything worked beautifully.
For the second attempt I replaced linux-3.8.13-patched with the kernel I want to use (linux-3.13.6) and I receive the following error(s) when I attempt to make the wl module:
make: Entering directory `/usr/src/linux-3.13.6'
CFG80211 API specified in command line
Using CFG80211 API
CC [M] /usr/src/hybrid_wl/src/wl/sys/wl_linux.o
/usr/src/hybrid_wl/src/wl/sys/wl_linux.c: In function 'wl_tkip_printstats':
/usr/src/hybrid_wl/src/wl/sys/wl_linux.c:3246:7: warning: passing argument 1 of 'wl->tkipmodops->print_stats' from incompatible pointer type [enabled by default]
/usr/src/hybrid_wl/src/wl/sys/wl_linux.c:3246:7: note: expected 'struct seq_file *' but argument is of type 'char *'
/usr/src/hybrid_wl/src/wl/sys/wl_linux.c:3249:4: warning: passing argument 1 of 'wl->tkipmodops->print_stats' from incompatible pointer type [enabled by default]
/usr/src/hybrid_wl/src/wl/sys/wl_linux.c:3249:4: note: expected 'struct seq_file *' but argument is of type 'char *'
/usr/src/hybrid_wl/src/wl/sys/wl_linux.c: In function 'wl_reg_proc_entry':
/usr/src/hybrid_wl/src/wl/sys/wl_linux.c:3470:2: error: implicit declaration of function 'create_proc_entry' [-Werror=implicit-function-declaration]
/usr/src/hybrid_wl/src/wl/sys/wl_linux.c:3470:22: warning: assignment makes pointer from integer without a cast [enabled by default]
/usr/src/hybrid_wl/src/wl/sys/wl_linux.c:3475:16: error: dereferencing pointer to incomplete type
/usr/src/hybrid_wl/src/wl/sys/wl_linux.c:3476:16: error: dereferencing pointer to incomplete type
/usr/src/hybrid_wl/src/wl/sys/wl_linux.c:3477:16: error: dereferencing pointer to incomplete type
cc1: some warnings being treated as errors
make[1]: *** [/usr/src/hybrid_wl/src/wl/sys/wl_linux.o] Error 1
make: *** [_module_/usr/src/hybrid_wl] Error 2
make: Leaving directory `/usr/src/linux-3.13.6'
This seems to be the function that's causing the error:
static int
wl_reg_proc_entry(wl_info_t *wl)
{
char tmp[32];
sprintf(tmp, "%s%d", HYBRID_PROC, wl->pub->unit);
if ((wl->proc_entry = create_proc_entry(tmp, 0644, NULL)) == NULL) {
WL_ERROR(("%s: create_proc_entry %s failed\n", __FUNCTION__, tmp));
ASSERT(0);
return -1;
}
wl->proc_entry->read_proc = wl_proc_read;
wl->proc_entry->write_proc = wl_proc_write;
wl->proc_entry->data = wl;
return 0;
}
Is there anything I can do about this? Note: my knowledge of C and C++ is nearly laughable.
Thanks.