khh
May 25th, 2008, 11:04 PM
I've got Kubuntu 8.04, fully updated, on my laptop.
Yes, I've installed the kernel headers. Yes, I've installed the kernel source.
I've been able to build many other applications, so that's not it.
I've got the build-essentials package (only spelled correctly).
Under I've copied the content from the terminal when trying to build iee80211.
khh@Unknown:~/ieee80211-1.2.18$ make
Makefile:17:
Makefile:18: WARNING: $SHELL not set to bash.
Makefile:19: If you experience build errors, try
Makefile:20: 'make SHELL=/bin/bash'.
Makefile:21:
Checking in /lib/modules/2.6.24-16-generic for ieee80211 components...
make -C /lib/modules/2.6.24-16-generic/build M=/home/khh/ieee80211-1.2.18 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic'
/home/khh/ieee80211-1.2.18/Makefile:17:
/home/khh/ieee80211-1.2.18/Makefile:18: WARNING: $SHELL not set to bash.
/home/khh/ieee80211-1.2.18/Makefile:19: If you experience build errors, try
/home/khh/ieee80211-1.2.18/Makefile:20: 'make SHELL=/bin/bash'.
/home/khh/ieee80211-1.2.18/Makefile:21:
CC [M] /home/khh/ieee80211-1.2.18/ieee80211_module.o
/home/khh/ieee80211-1.2.18/ieee80211_module.c: In function ‘ieee80211_init’:
/home/khh/ieee80211-1.2.18/ieee80211_module.c:268: error: ‘proc_net’ undeclared (first use in this function)
/home/khh/ieee80211-1.2.18/ieee80211_module.c:268: error: (Each undeclared identifier is reported only once
/home/khh/ieee80211-1.2.18/ieee80211_module.c:268: error: for each function it appears in.)
/home/khh/ieee80211-1.2.18/ieee80211_module.c: In function ‘ieee80211_exit’:
/home/khh/ieee80211-1.2.18/ieee80211_module.c:297: error: ‘proc_net’ undeclared (first use in this function)
{standard input}: Assembler messages:
{standard input}:9: Warning: can't open .lst: Permission denied
GAS LISTING page 1
1 .file "ieee80211_module.c"
9 .Ltext0:
GAS LISTING page 2
DEFINED SYMBOLS
*ABS*:0000000000000000 ieee80211_module.c
NO UNDEFINED SYMBOLS
make[2]: *** [/home/khh/ieee80211-1.2.18/ieee80211_module.o] Error 1
make[1]: *** [_module_/home/khh/ieee80211-1.2.18] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic'
make: *** [modules] Error 2
khh@Unknown:~/ieee80211-1.2.18$ make SHELL=/bin/bash
Checking in /lib/modules/2.6.24-16-generic for ieee80211 components...
make -C /lib/modules/2.6.24-16-generic/build M=/home/khh/ieee80211-1.2.18 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic'
CC [M] /home/khh/ieee80211-1.2.18/ieee80211_module.o
/home/khh/ieee80211-1.2.18/ieee80211_module.c: In function ‘ieee80211_init’:
/home/khh/ieee80211-1.2.18/ieee80211_module.c:268: error: ‘proc_net’ undeclared (first use in this function)
/home/khh/ieee80211-1.2.18/ieee80211_module.c:268: error: (Each undeclared identifier is reported only once
/home/khh/ieee80211-1.2.18/ieee80211_module.c:268: error: for each function it appears in.)
/home/khh/ieee80211-1.2.18/ieee80211_module.c: In function ‘ieee80211_exit’:
/home/khh/ieee80211-1.2.18/ieee80211_module.c:297: error: ‘proc_net’ undeclared (first use in this function)
{standard input}: Assembler messages:
{standard input}:9: Warning: can't open .lst: Permission denied
GAS LISTING page 1
1 .file "ieee80211_module.c"
9 .Ltext0:
GAS LISTING page 2
DEFINED SYMBOLS
*ABS*:0000000000000000 ieee80211_module.c
NO UNDEFINED SYMBOLS
make[2]: *** [/home/khh/ieee80211-1.2.18/ieee80211_module.o] Error 1
make[1]: *** [_module_/home/khh/ieee80211-1.2.18] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic'
make: *** [modules] Error 2
khh@Unknown:~/ieee80211-1.2.18$ sudo make
[sudo] password for khh:
Makefile:17:
Makefile:18: WARNING: $SHELL not set to bash.
Makefile:19: If you experience build errors, try
Makefile:20: 'make SHELL=/bin/bash'.
Makefile:21:
Checking in /lib/modules/2.6.24-16-generic for ieee80211 components...
make -C /lib/modules/2.6.24-16-generic/build M=/home/khh/ieee80211-1.2.18 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic'
/home/khh/ieee80211-1.2.18/Makefile:17:
/home/khh/ieee80211-1.2.18/Makefile:18: WARNING: $SHELL not set to bash.
/home/khh/ieee80211-1.2.18/Makefile:19: If you experience build errors, try
/home/khh/ieee80211-1.2.18/Makefile:20: 'make SHELL=/bin/bash'.
/home/khh/ieee80211-1.2.18/Makefile:21:
CC [M] /home/khh/ieee80211-1.2.18/ieee80211_module.o
/home/khh/ieee80211-1.2.18/ieee80211_module.c: In function ‘ieee80211_init’:
/home/khh/ieee80211-1.2.18/ieee80211_module.c:268: error: ‘proc_net’ undeclared (first use in this function)
/home/khh/ieee80211-1.2.18/ieee80211_module.c:268: error: (Each undeclared identifier is reported only once
/home/khh/ieee80211-1.2.18/ieee80211_module.c:268: error: for each function it appears in.)
/home/khh/ieee80211-1.2.18/ieee80211_module.c: In function ‘ieee80211_exit’:
/home/khh/ieee80211-1.2.18/ieee80211_module.c:297: error: ‘proc_net’ undeclared (first use in this function)
make[2]: *** [/home/khh/ieee80211-1.2.18/ieee80211_module.o] Error 1
make[1]: *** [_module_/home/khh/ieee80211-1.2.18] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic'
make: *** [modules] Error 2
khh@Unknown:~/ieee80211-1.2.18$ sudo make SHELL=/bin/bash
Checking in /lib/modules/2.6.24-16-generic for ieee80211 components...
make -C /lib/modules/2.6.24-16-generic/build M=/home/khh/ieee80211-1.2.18 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic'
CC [M] /home/khh/ieee80211-1.2.18/ieee80211_module.o
/home/khh/ieee80211-1.2.18/ieee80211_module.c: In function ‘ieee80211_init’:
/home/khh/ieee80211-1.2.18/ieee80211_module.c:268: error: ‘proc_net’ undeclared (first use in this function)
/home/khh/ieee80211-1.2.18/ieee80211_module.c:268: error: (Each undeclared identifier is reported only once
/home/khh/ieee80211-1.2.18/ieee80211_module.c:268: error: for each function it appears in.)
/home/khh/ieee80211-1.2.18/ieee80211_module.c: In function ‘ieee80211_exit’:
/home/khh/ieee80211-1.2.18/ieee80211_module.c:297: error: ‘proc_net’ undeclared (first use in this function)
make[2]: *** [/home/khh/ieee80211-1.2.18/ieee80211_module.o] Error 1
make[1]: *** [_module_/home/khh/ieee80211-1.2.18] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic'
make: *** [modules] Error 2
khh@Unknown:~/ieee80211-1.2.18$
Now, this makes it look as if there's something wrong with the source code of this application, but this is not the case. I've got a server running 7.10 (fully updated), and when I tried compiling the exact same package (copied over the very tar.gz file i've used on my laptop), it compiled without any errors what so ever.
Any help would be greatly appriciated.
Yes, I've installed the kernel headers. Yes, I've installed the kernel source.
I've been able to build many other applications, so that's not it.
I've got the build-essentials package (only spelled correctly).
Under I've copied the content from the terminal when trying to build iee80211.
khh@Unknown:~/ieee80211-1.2.18$ make
Makefile:17:
Makefile:18: WARNING: $SHELL not set to bash.
Makefile:19: If you experience build errors, try
Makefile:20: 'make SHELL=/bin/bash'.
Makefile:21:
Checking in /lib/modules/2.6.24-16-generic for ieee80211 components...
make -C /lib/modules/2.6.24-16-generic/build M=/home/khh/ieee80211-1.2.18 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic'
/home/khh/ieee80211-1.2.18/Makefile:17:
/home/khh/ieee80211-1.2.18/Makefile:18: WARNING: $SHELL not set to bash.
/home/khh/ieee80211-1.2.18/Makefile:19: If you experience build errors, try
/home/khh/ieee80211-1.2.18/Makefile:20: 'make SHELL=/bin/bash'.
/home/khh/ieee80211-1.2.18/Makefile:21:
CC [M] /home/khh/ieee80211-1.2.18/ieee80211_module.o
/home/khh/ieee80211-1.2.18/ieee80211_module.c: In function ‘ieee80211_init’:
/home/khh/ieee80211-1.2.18/ieee80211_module.c:268: error: ‘proc_net’ undeclared (first use in this function)
/home/khh/ieee80211-1.2.18/ieee80211_module.c:268: error: (Each undeclared identifier is reported only once
/home/khh/ieee80211-1.2.18/ieee80211_module.c:268: error: for each function it appears in.)
/home/khh/ieee80211-1.2.18/ieee80211_module.c: In function ‘ieee80211_exit’:
/home/khh/ieee80211-1.2.18/ieee80211_module.c:297: error: ‘proc_net’ undeclared (first use in this function)
{standard input}: Assembler messages:
{standard input}:9: Warning: can't open .lst: Permission denied
GAS LISTING page 1
1 .file "ieee80211_module.c"
9 .Ltext0:
GAS LISTING page 2
DEFINED SYMBOLS
*ABS*:0000000000000000 ieee80211_module.c
NO UNDEFINED SYMBOLS
make[2]: *** [/home/khh/ieee80211-1.2.18/ieee80211_module.o] Error 1
make[1]: *** [_module_/home/khh/ieee80211-1.2.18] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic'
make: *** [modules] Error 2
khh@Unknown:~/ieee80211-1.2.18$ make SHELL=/bin/bash
Checking in /lib/modules/2.6.24-16-generic for ieee80211 components...
make -C /lib/modules/2.6.24-16-generic/build M=/home/khh/ieee80211-1.2.18 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic'
CC [M] /home/khh/ieee80211-1.2.18/ieee80211_module.o
/home/khh/ieee80211-1.2.18/ieee80211_module.c: In function ‘ieee80211_init’:
/home/khh/ieee80211-1.2.18/ieee80211_module.c:268: error: ‘proc_net’ undeclared (first use in this function)
/home/khh/ieee80211-1.2.18/ieee80211_module.c:268: error: (Each undeclared identifier is reported only once
/home/khh/ieee80211-1.2.18/ieee80211_module.c:268: error: for each function it appears in.)
/home/khh/ieee80211-1.2.18/ieee80211_module.c: In function ‘ieee80211_exit’:
/home/khh/ieee80211-1.2.18/ieee80211_module.c:297: error: ‘proc_net’ undeclared (first use in this function)
{standard input}: Assembler messages:
{standard input}:9: Warning: can't open .lst: Permission denied
GAS LISTING page 1
1 .file "ieee80211_module.c"
9 .Ltext0:
GAS LISTING page 2
DEFINED SYMBOLS
*ABS*:0000000000000000 ieee80211_module.c
NO UNDEFINED SYMBOLS
make[2]: *** [/home/khh/ieee80211-1.2.18/ieee80211_module.o] Error 1
make[1]: *** [_module_/home/khh/ieee80211-1.2.18] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic'
make: *** [modules] Error 2
khh@Unknown:~/ieee80211-1.2.18$ sudo make
[sudo] password for khh:
Makefile:17:
Makefile:18: WARNING: $SHELL not set to bash.
Makefile:19: If you experience build errors, try
Makefile:20: 'make SHELL=/bin/bash'.
Makefile:21:
Checking in /lib/modules/2.6.24-16-generic for ieee80211 components...
make -C /lib/modules/2.6.24-16-generic/build M=/home/khh/ieee80211-1.2.18 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic'
/home/khh/ieee80211-1.2.18/Makefile:17:
/home/khh/ieee80211-1.2.18/Makefile:18: WARNING: $SHELL not set to bash.
/home/khh/ieee80211-1.2.18/Makefile:19: If you experience build errors, try
/home/khh/ieee80211-1.2.18/Makefile:20: 'make SHELL=/bin/bash'.
/home/khh/ieee80211-1.2.18/Makefile:21:
CC [M] /home/khh/ieee80211-1.2.18/ieee80211_module.o
/home/khh/ieee80211-1.2.18/ieee80211_module.c: In function ‘ieee80211_init’:
/home/khh/ieee80211-1.2.18/ieee80211_module.c:268: error: ‘proc_net’ undeclared (first use in this function)
/home/khh/ieee80211-1.2.18/ieee80211_module.c:268: error: (Each undeclared identifier is reported only once
/home/khh/ieee80211-1.2.18/ieee80211_module.c:268: error: for each function it appears in.)
/home/khh/ieee80211-1.2.18/ieee80211_module.c: In function ‘ieee80211_exit’:
/home/khh/ieee80211-1.2.18/ieee80211_module.c:297: error: ‘proc_net’ undeclared (first use in this function)
make[2]: *** [/home/khh/ieee80211-1.2.18/ieee80211_module.o] Error 1
make[1]: *** [_module_/home/khh/ieee80211-1.2.18] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic'
make: *** [modules] Error 2
khh@Unknown:~/ieee80211-1.2.18$ sudo make SHELL=/bin/bash
Checking in /lib/modules/2.6.24-16-generic for ieee80211 components...
make -C /lib/modules/2.6.24-16-generic/build M=/home/khh/ieee80211-1.2.18 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic'
CC [M] /home/khh/ieee80211-1.2.18/ieee80211_module.o
/home/khh/ieee80211-1.2.18/ieee80211_module.c: In function ‘ieee80211_init’:
/home/khh/ieee80211-1.2.18/ieee80211_module.c:268: error: ‘proc_net’ undeclared (first use in this function)
/home/khh/ieee80211-1.2.18/ieee80211_module.c:268: error: (Each undeclared identifier is reported only once
/home/khh/ieee80211-1.2.18/ieee80211_module.c:268: error: for each function it appears in.)
/home/khh/ieee80211-1.2.18/ieee80211_module.c: In function ‘ieee80211_exit’:
/home/khh/ieee80211-1.2.18/ieee80211_module.c:297: error: ‘proc_net’ undeclared (first use in this function)
make[2]: *** [/home/khh/ieee80211-1.2.18/ieee80211_module.o] Error 1
make[1]: *** [_module_/home/khh/ieee80211-1.2.18] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic'
make: *** [modules] Error 2
khh@Unknown:~/ieee80211-1.2.18$
Now, this makes it look as if there's something wrong with the source code of this application, but this is not the case. I've got a server running 7.10 (fully updated), and when I tried compiling the exact same package (copied over the very tar.gz file i've used on my laptop), it compiled without any errors what so ever.
Any help would be greatly appriciated.