Mam taki maly problemik z instalacja madwifi pod laptopa acera 5315 i kubuntu.
Kod: Zaznacz cały
root@zaka-laptop:/home/zaka/madifi# ifconfig
eth0 Link encap:Ethernet HWaddr 00:1b:38:70:6b:8c
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:18
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:256 (256.0 B) TX bytes:256 (256.0 B)
Kod: Zaznacz cały
root@zaka-laptop:/home/zaka/madifi# lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
05:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express (rev 02)
06:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
Kod: Zaznacz cały
root@zaka-laptop:/home/zaka/madifi# sudo make
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.24-19-generic/build SUBDIRS=/home/zaka/madifi modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-19-generic'
CC [M] /home/zaka/madifi/ath/if_ath.o
CC [M] /home/zaka/madifi/ath/if_ath_pci.o
LD [M] /home/zaka/madifi/ath/ath_pci.o
CC [M] /home/zaka/madifi/ath_hal/ah_os.o
HOSTCC /home/zaka/madifi/ath_hal/uudecode
/home/zaka/madifi/ath_hal/uudecode.c:26:19: error: stdio.h: No such file or directory
/home/zaka/madifi/ath_hal/uudecode.c:27:19: error: errno.h: No such file or directory
/home/zaka/madifi/ath_hal/uudecode.c:28:20: error: getopt.h: No such file or directory
/home/zaka/madifi/ath_hal/uudecode.c:29:20: error: string.h: No such file or directory
/home/zaka/madifi/ath_hal/uudecode.c:30:20: error: stdlib.h: No such file or directory
/home/zaka/madifi/ath_hal/uudecode.c:32:23: error: sys/fcntl.h: No such file or directory
/home/zaka/madifi/ath_hal/uudecode.c:33:22: error: sys/stat.h: No such file or directory
/home/zaka/madifi/ath_hal/uudecode.c: In function 'uudecode_usage':
/home/zaka/madifi/ath_hal/uudecode.c:37: warning: implicit declaration of function 'printf'
/home/zaka/madifi/ath_hal/uudecode.c:37: warning: incompatible implicit declaration of built-in function 'printf'
/home/zaka/madifi/ath_hal/uudecode.c: At top level:
/home/zaka/madifi/ath_hal/uudecode.c:40: error: expected ')' before '*' token
/home/zaka/madifi/ath_hal/uudecode.c:70: error: expected ')' before '*' token
/home/zaka/madifi/ath_hal/uudecode.c: In function 'main':
/home/zaka/madifi/ath_hal/uudecode.c:121: error: 'FILE' undeclared (first use in this function)
/home/zaka/madifi/ath_hal/uudecode.c:121: error: (Each undeclared identifier is reported only once
/home/zaka/madifi/ath_hal/uudecode.c:121: error: for each function it appears in.)
/home/zaka/madifi/ath_hal/uudecode.c:121: error: 'src_stream' undeclared (first use in this function)
/home/zaka/madifi/ath_hal/uudecode.c:122: error: 'dst_stream' undeclared (first use in this function)
/home/zaka/madifi/ath_hal/uudecode.c:122: error: 'NULL' undeclared (first use in this function)
/home/zaka/madifi/ath_hal/uudecode.c:130: warning: implicit declaration of function 'getopt'
/home/zaka/madifi/ath_hal/uudecode.c:134: error: 'optarg' undeclared (first use in this function)
/home/zaka/madifi/ath_hal/uudecode.c:138: warning: implicit declaration of function 'exit'
/home/zaka/madifi/ath_hal/uudecode.c:138: warning: incompatible implicit declaration of built-in function 'exit'
/home/zaka/madifi/ath_hal/uudecode.c:141: error: 'optind' undeclared (first use in this function)
/home/zaka/madifi/ath_hal/uudecode.c:142: error: 'stdin' undeclared (first use in this function)
/home/zaka/madifi/ath_hal/uudecode.c:144: warning: implicit declaration of function 'fopen'
/home/zaka/madifi/ath_hal/uudecode.c:146: warning: implicit declaration of function 'fprintf'
/home/zaka/madifi/ath_hal/uudecode.c:146: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/zaka/madifi/ath_hal/uudecode.c:146: error: 'stderr' undeclared (first use in this function)
/home/zaka/madifi/ath_hal/uudecode.c:147: warning: implicit declaration of function 'strerror'
/home/zaka/madifi/ath_hal/uudecode.c:147: error: 'errno' undeclared (first use in this function)
/home/zaka/madifi/ath_hal/uudecode.c:147: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/home/zaka/madifi/ath_hal/uudecode.c:148: warning: incompatible implicit declaration of built-in function 'exit'
/home/zaka/madifi/ath_hal/uudecode.c:152: warning: incompatible implicit declaration of built-in function 'exit'
/home/zaka/madifi/ath_hal/uudecode.c:156: warning: implicit declaration of function 'get_line_from_file'
/home/zaka/madifi/ath_hal/uudecode.c:156: warning: assignment makes pointer from integer without a cast
/home/zaka/madifi/ath_hal/uudecode.c:157: warning: implicit declaration of function 'strncmp'
/home/zaka/madifi/ath_hal/uudecode.c:164: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/zaka/madifi/ath_hal/uudecode.c:165: warning: incompatible implicit declaration of built-in function 'exit'
/home/zaka/madifi/ath_hal/uudecode.c:168: warning: implicit declaration of function 'strtoul'
/home/zaka/madifi/ath_hal/uudecode.c:170: warning: implicit declaration of function 'strchr'
/home/zaka/madifi/ath_hal/uudecode.c:170: warning: incompatible implicit declaration of built-in function 'strchr'
/home/zaka/madifi/ath_hal/uudecode.c:172: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/zaka/madifi/ath_hal/uudecode.c:173: warning: incompatible implicit declaration of built-in function 'exit'
/home/zaka/madifi/ath_hal/uudecode.c:178: warning: implicit declaration of function 'strcmp'
/home/zaka/madifi/ath_hal/uudecode.c:179: error: 'stdout' undeclared (first use in this function)
/home/zaka/madifi/ath_hal/uudecode.c:182: error: 'O_WRONLY' undeclared (first use in this function)
/home/zaka/madifi/ath_hal/uudecode.c:182: error: 'O_CREAT' undeclared (first use in this function)
/home/zaka/madifi/ath_hal/uudecode.c:182: error: 'O_TRUNC' undeclared (first use in this function)
/home/zaka/madifi/ath_hal/uudecode.c:186: error: 'O_EXCL' undeclared (first use in this function)
/home/zaka/madifi/ath_hal/uudecode.c:188: warning: implicit declaration of function 'open'
/home/zaka/madifi/ath_hal/uudecode.c:189: error: 'S_IRWXU' undeclared (first use in this function)
/home/zaka/madifi/ath_hal/uudecode.c:189: error: 'S_IRWXG' undeclared (first use in this function)
/home/zaka/madifi/ath_hal/uudecode.c:189: error: 'S_IRWXO' undeclared (first use in this function)
/home/zaka/madifi/ath_hal/uudecode.c:191: warning: implicit declaration of function 'fdopen'
/home/zaka/madifi/ath_hal/uudecode.c:193: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/zaka/madifi/ath_hal/uudecode.c:194: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/home/zaka/madifi/ath_hal/uudecode.c:195: warning: incompatible implicit declaration of built-in function 'exit'
/home/zaka/madifi/ath_hal/uudecode.c:199: warning: implicit declaration of function 'read_stduu'
/home/zaka/madifi/ath_hal/uudecode.c:201: warning: implicit declaration of function 'fclose'
make[3]: *** [/home/zaka/madifi/ath_hal/uudecode] Error 1
make[2]: *** [/home/zaka/madifi/ath_hal] Error 2
make[1]: *** [_module_/home/zaka/madifi] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-19-generic'
make: *** [modules] Error 2
tez mam prblemy z isntalacja ndsiwrapper
Kod: Zaznacz cały
oot@zaka-laptop:/home/zaka/ndi# sudo make
make -C driver
make[1]: Entering directory `/home/zaka/ndi/driver'
make -C /usr/src/linux-headers-2.6.24-19-generic M=/home/zaka/ndi/driver
make[2]: Entering directory `/usr/src/linux-headers-2.6.24-19-generic'
Building modules, stage 2.
MODPOST 1 modules
make[2]: Leaving directory `/usr/src/linux-headers-2.6.24-19-generic'
make[1]: Leaving directory `/home/zaka/ndi/driver'
make -C utils
make[1]: Entering directory `/home/zaka/ndi/utils'
gcc -g -Wall -I../driver -o loadndisdriver loadndisdriver.c
loadndisdriver.c:15:20: error: stdlib.h: No such file or directory
loadndisdriver.c:16:19: error: stdio.h: No such file or directory
loadndisdriver.c:17:19: error: errno.h: No such file or directory
loadndisdriver.c:18:20: error: string.h: No such file or directory
loadndisdriver.c:19:20: error: libgen.h: No such file or directory
loadndisdriver.c:21:22: error: sys/mman.h: No such file or directory
loadndisdriver.c:23:23: error: sys/types.h: No such file or directory
loadndisdriver.c:24:23: error: sys/ioctl.h: No such file or directory
loadndisdriver.c:25:22: error: sys/stat.h: No such file or directory
loadndisdriver.c:26:20: error: unistd.h: No such file or directory
loadndisdriver.c:27:19: error: fcntl.h: No such file or directory
In file included from /usr/lib/gcc/i486-linux-gnu/4.2.3/include/syslimits.h:7,
from /usr/lib/gcc/i486-linux-gnu/4.2.3/include/limits.h:11,
from loadndisdriver.c:28:
/usr/lib/gcc/i486-linux-gnu/4.2.3/include/limits.h:122:61: error: limits.h: No such file or directory
loadndisdriver.c:29:19: error: ctype.h: No such file or directory
loadndisdriver.c:30:20: error: dirent.h: No such file or directory
loadndisdriver.c:31:20: error: syslog.h: No such file or directory
loadndisdriver.c:34:25: error: linux/major.h: No such file or directory
loadndisdriver.c:35:25: error: linux/ioctl.h: No such file or directory
In file included from loadndisdriver.c:37:
../driver/loader.h:28: error: expected specifier-qualifier-list before
loadndisdriver.c: In function :
loadndisdriver.c:67: error: undeclared (first use in this function)
loadndisdriver.c:67: error: (Each undeclared identifier is reported only once
loadndisdriver.c:67: error: for each function it appears in.)
loadndisdriver.c:67: error: expected before
loadndisdriver.c:68: error: undeclared (first use in this function)
loadndisdriver.c:69: error: storage size of isnbasenameopenO_RDONLYsyslogLOG_KERNLOG_INFOstrerrorerrnoEINVALfstatclosesizemmapPROT_READMAP_PRIVATEMAP_FAILEDstrncpystrncpystruct load_driver_filesizestruct load_driver_filedatastatbufparse_setting_lineisspacestrchrstrchrNULLLOG_KERNLOG_INFOEINVALstrlenstrlenread_conf_filestatbuft known
loadndisdriver.c:151: error: undeclared (first use in this function)
loadndisdriver.c:151: error: undeclared (first use in this function)
loadndisdriver.c:157: warning: implicit declaration of function
loadndisdriver.c:158: error: undeclared (first use in this function)
loadndisdriver.c:158: error: undeclared (first use in this function)
loadndisdriver.c:158: error: undeclared (first use in this function)
loadndisdriver.c:160: error: undeclared (first use in this function)
loadndisdriver.c:163: warning: implicit declaration of function
loadndisdriver.c:163: warning: incompatible implicit declaration of built-in function
loadndisdriver.c:178: warning: implicit declaration of function
loadndisdriver.c:178: error: undeclared (first use in this function)
loadndisdriver.c:182: warning: implicit declaration of function
loadndisdriver.c:194: warning: incompatible implicit declaration of built-in function
loadndisdriver.c:205: warning: implicit declaration of function
loadndisdriver.c:150: warning: unused variable
loadndisdriver.c: In function :
loadndisdriver.c:217: error: undeclared (first use in this function)
loadndisdriver.c:217: error: undeclared (first use in this function)
loadndisdriver.c:219: warning: implicit declaration of function
loadndisdriver.c:221: warning: implicit declaration of function
loadndisdriver.c:222: error: undeclared (first use in this function)
loadndisdriver.c:224: error: undeclared (first use in this function)
loadndisdriver.c:230: warning: incompatible implicit declaration of built-in function
loadndisdriver.c:232: warning: implicit declaration of function
loadndisdriver.c:232: warning: implicit declaration of function
loadndisdriver.c:232: error: expected expression before
loadndisdriver.c: In function :
loadndisdriver.c:249: error: undeclared (first use in this function)
loadndisdriver.c:249: error: undeclared (first use in this function)
loadndisdriver.c:251: error: undeclared (first use in this function)
loadndisdriver.c:255: error: undeclared (first use in this function)
loadndisdriver.c:255: error: undeclared (first use in this function)
loadndisdriver.c:257: error: undeclared (first use in this function)
loadndisdriver.c:259: error: undeclared (first use in this function)
loadndisdriver.c:261: warning: implicit declaration of function
loadndisdriver.c:267: warning: implicit declaration of function
loadndisdriver.c:267: warning: incompatible implicit declaration of built-in function
loadndisdriver.c:271: warning: implicit declaration of function
loadndisdriver.c:271: warning: incompatible implicit declaration of built-in function
loadndisdriver.c:272: warning: incompatible implicit declaration of built-in function
loadndisdriver.c:280: warning: implicit declaration of function
loadndisdriver.c:280: warning: assignment makes pointer from integer without a cast
loadndisdriver.c:282: error: storage size of isnstatS_ISREGstrlenstrcasecmpstrcpystrcpystruct load_driver_filesizestruct load_driver_filedatastatbufstructclosedirfreemunmapstruct load_driver_filedatastruct load_driver_filesizestruct load_driver_filedatastruct load_driver_filesizeget_devicestatbuft known
loadndisdriver.c:370: error: undeclared (first use in this function)
loadndisdriver.c:370: error: undeclared (first use in this function)
loadndisdriver.c:373: error: undeclared (first use in this function)
loadndisdriver.c:374: error: undeclared (first use in this function)
loadndisdriver.c:376: warning: implicit declaration of function
loadndisdriver.c:376: warning: incompatible implicit declaration of built-in function
loadndisdriver.c:407: warning: incompatible implicit declaration of built-in function
loadndisdriver.c:367: warning: unused variable
loadndisdriver.c: In function :
loadndisdriver.c:419: error: undeclared (first use in this function)
loadndisdriver.c:419: error: undeclared (first use in this function)
loadndisdriver.c:423: error: undeclared (first use in this function)
loadndisdriver.c:423: error: undeclared (first use in this function)
loadndisdriver.c:424: warning: incompatible implicit declaration of built-in function
loadndisdriver.c:426: error: undeclared (first use in this function)
loadndisdriver.c:427: error: undeclared (first use in this function)
loadndisdriver.c:429: error: undeclared (first use in this function)
loadndisdriver.c:434: warning: assignment makes pointer from integer without a cast
loadndisdriver.c:435: error: dereferencing pointer to incomplete type
loadndisdriver.c:436: error: dereferencing pointer to incomplete type
loadndisdriver.c:439: error: dereferencing pointer to incomplete type
loadndisdriver.c:447: error: expected expression before
loadndisdriver.c: In function :
loadndisdriver.c:464: error: undeclared (first use in this function)
loadndisdriver.c:464: error: undeclared (first use in this function)
loadndisdriver.c:472: warning: implicit declaration of function
loadndisdriver.c:472: warning: incompatible implicit declaration of built-in function
loadndisdriver.c:473: warning: implicit declaration of function
loadndisdriver.c:473: error: undeclared (first use in this function)
loadndisdriver.c:483: error: undeclared (first use in this function)
loadndisdriver.c:483: error: undeclared (first use in this function)
loadndisdriver.c:488: warning: implicit declaration of function
loadndisdriver.c:489: warning: implicit declaration of function
loadndisdriver.c:489: error: undeclared (first use in this function)
loadndisdriver.c:489: error: undeclared (first use in this function)
loadndisdriver.c:490: error: undeclared (first use in this function)
loadndisdriver.c:495: error: undeclared (first use in this function)
loadndisdriver.c: In function :
loadndisdriver.c:511: warning: implicit declaration of function
loadndisdriver.c:511: error: undeclared (first use in this function)
loadndisdriver.c:511: error: undeclared (first use in this function)
loadndisdriver.c:511: error: undeclared (first use in this function)
loadndisdriver.c:511: error: undeclared (first use in this function)
loadndisdriver.c:513: error: undeclared (first use in this function)
loadndisdriver.c:515: warning: implicit declaration of function
loadndisdriver.c:517: warning: implicit declaration of function
loadndisdriver.c:517: warning: incompatible implicit declaration of built-in function
loadndisdriver.c:527: warning: implicit declaration of function
loadndisdriver.c:542: warning: implicit declaration of function
loadndisdriver.c:549: warning: implicit declaration of function
loadndisdriver.c:556: warning: incompatible implicit declaration of built-in function
loadndisdriver.c:590: warning: implicit declaration of function
make[1]: *** [loadndisdriver] Error 1
make[1]: Leaving directory `/home/zaka/ndi/utils'
make: *** [all] Error 2