Feisty 2.6.20-15-generic, ei /dev/dvb-kansiota, firmware on /lib/modules/
dmesg tunnistaa af9015
mutta kun yritin asentaa sudo make/ sudo make install udev-121:n niin mikään ei toiminu.
missä vika, paitsi minussa ?
T: Frank Zappa
sudo make
GENHDR udev_version.h
CC udev_device.o
udev_device.c:20:20: error: stdlib.h: No such file or directory
udev_device.c:21:19: error: stdio.h: No such file or directory
udev_device.c:23:20: error: unistd.h: No such file or directory
udev_device.c:24:19: error: fcntl.h: No such file or directory
udev_device.c:25:19: error: errno.h: No such file or directory
udev_device.c:26:19: error: ctype.h: No such file or directory
udev_device.c:27:23: error: sys/ioctl.h: No such file or directory
udev_device.c:28:24: error: sys/socket.h: No such file or directory
udev_device.c:29:20: error: net/if.h: No such file or directory
udev_device.c:30:27: error: linux/sockios.h: No such file or directory
In file included from udev_device.c:32:
udev.h:23:23: error: sys/types.h: No such file or directory
udev.h:24:23: error: sys/param.h: No such file or directory
In file included from udev.h:27,
from udev_device.c:32:
logging.h:34:20: error: syslog.h: No such file or directory
In file included from udev.h:27,
from udev_device.c:32:
logging.h: In function ‘logging_init’:
logging.h:62: warning: implicit declaration of function ‘openlog’
logging.h:62: warning: nested extern declaration of ‘openlog’
logging.h:62: error: ‘LOG_PID’ undeclared (first use in this function)
logging.h:62: error: (Each undeclared identifier is reported only once
logging.h:62: error: for each function it appears in.)
logging.h:62: error: ‘LOG_CONS’ undeclared (first use in this function)
logging.h:62: error: ‘LOG_DAEMON’ undeclared (first use in this function)
logging.h: In function ‘logging_close’:
logging.h:68: warning: implicit declaration of function ‘closelog’
logging.h:68: warning: nested extern declaration of ‘closelog’
In file included from udev.h:28,
from udev_device.c:32:
udev_sysdeps.h:24:20: error: string.h: No such file or directory
udev_sysdeps.h:26:20: error: stdint.h: No such file or directory
udev_sysdeps.h:29:25: error: sys/syscall.h: No such file or directory
udev_sysdeps.h:112:25: error: sys/inotify.h: No such file or directory
In file included from udev_device.c:32:
udev.h: At top level:
udev.h:82: error: expected specifier-qualifier-list before ‘mode_t’
udev.h:112: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘udev_device_get_devt’
udev.h:128: error: expected declaration specifiers or ‘...’ before ‘dev_t’
udev.h:128: error: expected declaration specifiers or ‘...’ before ‘mode_t’
udev.h:128: error: expected declaration specifiers or ‘...’ before ‘uid_t’
udev.h:128: error: expected declaration specifiers or ‘...’ before ‘gid_t’
udev.h:154: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘lookup_user’
udev.h:155: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘lookup_group’
In file included from udev_device.c:33:
udev_rules.h:85: error: expected specifier-qualifier-list before ‘mode_t’
udev_device.c: In function ‘udev_device_init’:
udev_device.c:39: warning: implicit declaration of function ‘malloc’
udev_device.c:39: warning: incompatible implicit declaration of built-in function ‘malloc’
udev_device.c:42: warning: implicit declaration of function ‘memset’
udev_device.c:42: warning: incompatible implicit declaration of built-in function ‘memset’
udev_device.c:45: error: ‘struct udevice’ has no member named ‘run_list’
udev_device.c:45: error: ‘struct udevice’ has no member named ‘run_list’
udev_device.c:45: error: ‘struct udevice’ has no member named ‘run_list’
udev_device.c:45: error: ‘struct udevice’ has no member named ‘run_list’
udev_device.c:46: error: ‘struct udevice’ has no member named ‘env_list’
udev_device.c:46: error: ‘struct udevice’ has no member named ‘env_list’
udev_device.c:46: error: ‘struct udevice’ has no member named ‘env_list’
udev_device.c:46: error: ‘struct udevice’ has no member named ‘env_list’
udev_device.c:52: error: ‘struct udevice’ has no member named ‘mode’
udev_device.c:53: warning: implicit declaration of function ‘strcpy’
udev_device.c:53: warning: incompatible implicit declaration of built-in function ‘strcpy’
udev_device.c:56: error: ‘struct udevice’ has no member named ‘event_timeout’
udev_device.c: In function ‘udev_device_cleanup’:
udev_device.c:64: error: ‘struct udevice’ has no member named ‘run_list’
udev_device.c:65: error: ‘struct udevice’ has no member named ‘env_list’
udev_device.c:66: warning: implicit declaration of function ‘free’
udev_device.c:66: warning: nested extern declaration of ‘free’
udev_device.c: At top level:
udev_device.c:69: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘udev_device_get_devt’
udev_device.c:83: warning: ‘struct ifreq’ declared inside parameter list
udev_device.c:83: warning: its scope is only this definition or declaration, which is probably not what you want
udev_device.c:83: error: parameter 1 (‘ifr’) has incomplete type
udev_device.c: In function ‘kernel_log’:
udev_device.c:86: error: ‘FILE’ undeclared (first use in this function)
udev_device.c:86: error: ‘f’ undeclared (first use in this function)
udev_device.c:88: warning: implicit declaration of function ‘open’
udev_device.c:88: warning: nested extern declaration of ‘open’
udev_device.c:88: error: ‘O_WRONLY’ undeclared (first use in this function)
udev_device.c:92: warning: implicit declaration of function ‘fdopen’
udev_device.c:92: warning: nested extern declaration of ‘fdopen’
udev_device.c:94: warning: implicit declaration of function ‘close’
udev_device.c:94: warning: nested extern declaration of ‘close’
udev_device.c:98: warning: implicit declaration of function ‘fprintf’
udev_device.c:98: warning: incompatible implicit declaration of built-in function ‘fprintf’
udev_device.c:100: warning: implicit declaration of function ‘fclose’
udev_device.c:100: warning: nested extern declaration of ‘fclose’
udev_device.c: In function ‘rename_netif’:
udev_device.c:106: error: storage size of ‘ifr’ isn’t known
udev_device.c:109: error: ‘LOG_INFO’ undeclared (first use in this function)
udev_device.c:110: error: ‘struct udevice’ has no member named ‘test_run’
udev_device.c:113: warning: implicit declaration of function ‘socket’
udev_device.c:113: warning: nested extern declaration of ‘socket’
udev_device.c:113: error: ‘PF_INET’ undeclared (first use in this function)
udev_device.c:113: error: ‘SOCK_DGRAM’ undeclared (first use in this function)
udev_device.c:115: error: ‘LOG_ERR’ undeclared (first use in this function)
udev_device.c:115: warning: implicit declaration of function ‘strerror’
udev_device.c:115: warning: nested extern declaration of ‘strerror’
udev_device.c:115: error: ‘errno’ undeclared (first use in this function)
udev_device.c:115: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
udev_device.c:119: warning: incompatible implicit declaration of built-in function ‘memset’
udev_device.c:119: error: invalid application of ‘sizeof’ to incomplete type ‘struct ifreq’
udev_device.c:120: error: ‘IFNAMSIZ’ undeclared (first use in this function)
udev_device.c:122: warning: implicit declaration of function ‘ioctl’
udev_device.c:122: warning: nested extern declaration of ‘ioctl’
udev_device.c:122: error: ‘SIOCSIFNAME’ undeclared (first use in this function)
udev_device.c:124: error: type of formal parameter 1 is incomplete
udev_device.c:129: error: ‘EEXIST’ undeclared (first use in this function)
udev_device.c:130: warning: format ‘%s’ expects type ‘char *’, but argument 6 has type ‘int’
udev_device.c:139: warning: format ‘%s’ expects type ‘char *’, but argument 6 has type ‘int’
udev_device.c:150: error: type of formal parameter 1 is incomplete
udev_device.c:155: warning: format ‘%s’ expects type ‘char *’, but argument 6 has type ‘int’
udev_device.c:160: warning: implicit declaration of function ‘usleep’
udev_device.c:160: warning: nested extern declaration of ‘usleep’
udev_device.c:106: warning: unused variable ‘ifr’
udev_device.c: In function ‘udev_device_event’:
udev_device.c:175: error: ‘LOG_INFO’ undeclared (first use in this function)
udev_device.c:178: warning: implicit declaration of function ‘major’
udev_device.c:178: warning: nested extern declaration of ‘major’
udev_device.c:178: error: ‘struct udevice’ has no member named ‘devt’
udev_device.c:179: warning: implicit declaration of function ‘strcmp’
udev_device.c:185: error: ‘struct udevice’ has no member named ‘ignore_device’
udev_device.c:197: error: ‘struct udevice’ has no member named ‘test_run’
udev_device.c:197: error: ‘struct udevice’ has no member named ‘test_run’
udev_device.c:227: error: ‘struct udevice’ has no member named ‘ignore_device’
udev_device.c:238: error: ‘PATH_MAX’ undeclared (first use in this function)
udev_device.c:247: warning: implicit declaration of function ‘setenv’
udev_device.c:247: warning: nested extern declaration of ‘setenv’
udev_device.c:251: warning: implicit declaration of function ‘strrchr’
udev_device.c:251: warning: incompatible implicit declaration of built-in function ‘strrchr’
udev_device.c:238: warning: unused variable ‘devpath’
udev_device.c:265: error: ‘struct udevice’ has no member named ‘devt’
udev_device.c:272: error: ‘struct udevice’ has no member named ‘env_list’
udev_device.c:272: error: ‘struct udevice’ has no member named ‘env_list’
udev_device.c:273: warning: implicit declaration of function ‘putenv’
udev_device.c:273: warning: nested extern declaration of ‘putenv’
udev_device.c:281: error: ‘struct udevice’ has no member named ‘ignore_device’
udev_device.c:286: error: ‘struct udevice’ has no member named ‘ignore_remove’
udev_device.c:300: error: ‘struct udevice’ has no member named ‘ignore_device’
make: *** [udev_device.o] Error 1