LINUX.ORG.RU

Linux+Vortex2=Unreal???


0

0

Здравствуйте! Проблема заключается в том, что я никак не могу установить драйвера для Monster Sound MX300 (au8830). Пробовал ставить 1,05/1,10/1,11/1,12 версии, но всегда одно и тоже:

[root@andrey aureal]# make install cc -D__KERNEL__ -DMODULE -DAU8830 -mpentium -O6 -fomit-frame-pointer -Wall -pipe -I/usr/src/linux/include -c -o au_audio.o au_audio.c In file included from au_audio.c:49: au_vortex.h:39:26: linux/config.h: No such file or directory au_vortex.h:44:27: linux/version.h: No such file or directory au_vortex.h:46:40: missing binary operator before '(' au_vortex.h:50:28: linux/autoconf.h: No such file or directory au_vortex.h:57:26: linux/kernel.h: No such file or directory au_vortex.h:58:26: linux/module.h: No such file or directory au_vortex.h:59:27: linux/version.h: No such file or directory au_vortex.h:60:26: linux/config.h: No such file or directory au_vortex.h:61:26: linux/string.h: No such file or directory au_vortex.h:62:26: linux/ioport.h: No such file or directory au_vortex.h:63:25: linux/sched.h: No such file or directory au_vortex.h:64:25: linux/delay.h: No such file or directory au_vortex.h:65:25: linux/sound.h: No such file or directory au_vortex.h:66:26: linux/malloc.h: No such file or directory au_vortex.h:67:29: linux/soundcard.h: No such file or directory au_vortex.h:68:23: linux/pci.h: No such file or directory au_vortex.h:69:20: asm/io.h: No such file or directory au_vortex.h:70:24: linux/poll.h: No such file or directory au_vortex.h:71:25: asm/uaccess.h: No such file or directory au_vortex.h:72:27: linux/utsname.h: No such file or directory au_vortex.h:74:41: missing binary operator before '(' au_vortex.h:77:26: asm/spinlock.h: No such file or directory au_vortex.h:80:41: missing binary operator before '(' au_vortex.h:118:41: missing binary operator before '(' au_vortex.h:146:41: missing binary operator before '(' au_vortex.h:197:41: missing binary operator before '(' au_audio.c:50:27: linux/version.h: No such file or directory au_audio.c:63:41: missing binary operator before '(' In file included from au_audio.c:50: au_vortex.h:224: `SOUND_MIXER_NRDEVICES' undeclared here (not in a function) au_vortex.h:225: parse error before `spinlock_t' au_vortex.h:225: warning: no semicolon at end of struct or union au_vortex.h:229: parse error before `:' au_vortex.h:230: parse error before `:' au_vortex.h:231: parse error before `:' au_vortex.h:232: warning: type defaults to `int' in declaration of `au_device_t'au_vortex.h:232: warning: data definition has no type or storage class au_vortex.h:253: parse error before `*' au_vortex.h:254: parse error before `*' au_vortex.h:255: parse error before `*' au_vortex.h:256: parse error before `*' au_vortex.h:257: parse error before `*' au_vortex.h:261: parse error before `*' au_vortex.h:262: parse error before `*' au_vortex.h:263: parse error before `*' au_vortex.h:267: parse error before `*' au_vortex.h:268: parse error before `*' au_vortex.h:269: warning: `struct inode' declared inside parameter list au_vortex.h:269: warning: its scope is only this definition or declaration, which is probably not what you want. au_vortex.h:273: parse error before `*' au_vortex.h:274: parse error before `*' au_vortex.h:278: parse error before `*' au_vortex.h:278: warning: type defaults to `int' in declaration of `dev_head' au_vortex.h:278: warning: data definition has no type or storage class au_vortex.h:279: parse error before `*' au_vortex.h:279: warning: type defaults to `int' in declaration of `dev_tail' au_vortex.h:279: warning: data definition has no type or storage class au_vortex.h:282: parse error before `*' au_vortex.h:282: warning: type defaults to `int' in declaration of `find_device'au_vortex.h:282: warning: data definition has no type or storage class au_vortex.h:283: parse error before `*' au_vortex.h:283: warning: type defaults to `int' in declaration of `find_device_by_pcidev' au_vortex.h:283: warning: data definition has no type or storage class au_vortex.h:284: parse error before `*' au_vortex.h:285: parse error before `*' au_vortex.h:287: parse error before `au_llseek' au_vortex.h:287: parse error before `loff_t' au_vortex.h:287: warning: type defaults to `int' in declaration of `au_llseek' au_vortex.h:287: warning: data definition has no type or storage class au_vortex.h:392: parse error before `au_device_t' au_audio.c:52: parse error before `au_audio_read' au_audio.c:52: parse error before `size_t' au_audio.c:52: warning: type defaults to `int' in declaration of `au_audio_read'au_audio.c:52: warning: data definition has no type or storage class au_audio.c:53: parse error before `au_audio_write' au_audio.c:53: parse error before `size_t' au_audio.c:53: warning: type defaults to `int' in declaration of `au_audio_write' au_audio.c:53: warning: data definition has no type or storage class au_audio.c:54: warning: `struct poll_table_struct' declared inside parameter list au_audio.c:55: warning: `struct inode' declared inside parameter list au_audio.c:56: warning: `struct vm_area_struct' declared inside parameter list au_audio.c:57: warning: `struct inode' declared inside parameter list au_audio.c:58: warning: `struct inode' declared inside parameter list au_audio.c:59: parse error before `*' au_audio.c:77: variable `audio_fops' has initializer but incomplete type au_audio.c:78: warning: excess elements in struct initializer au_audio.c:78: warning: (near initialization for `audio_fops') au_audio.c:79: warning: excess elements in struct initializer au_audio.c:79: warning: (near initialization for `audio_fops') au_audio.c:80: warning: excess elements in struct initializer au_audio.c:80: warning: (near initialization for `audio_fops') au_audio.c:81: `NULL' undeclared here (not in a function) au_audio.c:81: warning: excess elements in struct initializer au_audio.c:81: warning: (near initialization for `audio_fops') au_audio.c:82: warning: excess elements in struct initializer au_audio.c:82: warning: (near initialization for `audio_fops') au_audio.c:83: warning: excess elements in struct initializer au_audio.c:83: warning: (near initialization for `audio_fops') au_audio.c:84: warning: excess elements in struct initializer au_audio.c:84: warning: (near initialization for `audio_fops') au_audio.c:85: warning: excess elements in struct initializer au_audio.c:85: warning: (near initialization for `audio_fops') au_audio.c:86: `NULL' undeclared here (not in a function) au_audio.c:86: warning: excess elements in struct initializer au_audio.c:86: warning: (near initialization for `audio_fops') au_audio.c:87: warning: excess elements in struct initializer au_audio.c:87: warning: (near initialization for `audio_fops') au_audio.c:88: `NULL' undeclared here (not in a function) au_audio.c:88: warning: excess elements in struct initializer au_audio.c:88: warning: (near initialization for `audio_fops') au_audio.c:89: `NULL' undeclared here (not in a function) au_audio.c:89: warning: excess elements in struct initializer au_audio.c:89: warning: (near initialization for `audio_fops') au_audio.c:90: `NULL' undeclared here (not in a function) au_audio.c:90: warning: excess elements in struct initializer au_audio.c:90: warning: (near initialization for `audio_fops') au_audio.c:91: `NULL' undeclared here (not in a function) au_audio.c:91: warning: excess elements in struct initializer au_audio.c:91: warning: (near initialization for `audio_fops') au_audio.c:92: `NULL' undeclared here (not in a function) au_audio.c:92: warning: excess elements in struct initializer au_audio.c:92: warning: (near initialization for `audio_fops') au_audio.c:96: parse error before `*' au_audio.c:98: parse error before `*' au_audio.c:99: parse error before `*' au_audio.c:100: parse error before `*' au_audio.c:101: parse error before `*' au_audio.c:102: parse error before `*' au_audio.c:105: parse error before `*' au_audio.c:106: parse error before `*' au_audio.c:113: parse error before `*' au_audio.c: In function `au_dsp_register': au_audio.c:119: `dev' undeclared (first use in this function) au_audio.c:119: (Each undeclared identifier is reported only once au_audio.c:119: for each function it appears in.) au_audio.c:119: warning: implicit declaration of function `register_sound_dsp' au_audio.c: At top level: au_audio.c:123: parse error before `*' au_audio.c: In function `au_dsp_unregister': au_audio.c:126: warning: implicit declaration of function `unregister_sound_dsp'au_audio.c:126: `dev' undeclared (first use in this function) au_audio.c: At top level: au_audio.c:130: parse error before `*' au_audio.c: In function `au_audio_register': au_audio.c:136: `dev' undeclared (first use in this function) au_audio.c:136: warning: implicit declaration of function `register_sound_special' au_audio.c: At top level: au_audio.c:140: parse error before `*' au_audio.c: In function `au_audio_unregister': au_audio.c:142: warning: implicit declaration of function `unregister_sound_special' au_audio.c:142: `dev' undeclared (first use in this function) au_audio.c: At top level: au_audio.c:146: parse error before `au_audio_read' au_audio.c:146: parse error before `size_t' au_audio.c:147: warning: return type defaults to `int' au_audio.c: In function `au_audio_read': au_audio.c:148: `dev' undeclared (first use in this function) au_audio.c:148: `file' undeclared (first use in this function) au_audio.c:149: parse error before `*' au_audio.c:151: `size_t' undeclared (first use in this function) au_audio.c:156: `wdev' undeclared (first use in this function) au_audio.c:158: warning: implicit declaration of function `printk' au_audio.c:158: `KERN_WARNING' undeclared (first use in this function) au_audio.c:158: parse error before string constant au_audio.c:159: `ENXIO' undeclared (first use in this function) au_audio.c:161: `stream' undeclared (first use in this function) au_audio.c:163: `ppos' undeclared (first use in this function) au_audio.c:164: `ESPIPE' undeclared (first use in this function) au_audio.c:167: warning: implicit declaration of function `access_ok' au_audio.c:167: `VERIFY_WRITE' undeclared (first use in this function) au_audio.c:167: `buffer' undeclared (first use in this function) au_audio.c:167: `count' undeclared (first use in this function) au_audio.c:168: `EFAULT' undeclared (first use in this function) au_audio.c:171: `SOUND_MIXER_RECLEV' undeclared (first use in this function) au_audio.c:175: `received' undeclared (first use in this function) au_audio.c:181: `xfer' undeclared (first use in this function) au_audio.c:184: warning: implicit declaration of function `spin_lock_irqsave' au_audio.c:184: `flags' undeclared (first use in this function) au_audio.c:187: warning: implicit declaration of function `spin_unlock_irqrestore' au_audio.c:191: `O_NONBLOCK' undeclared (first use in this function) au_audio.c:192: `ssize_t' undeclared (first use in this function) au_audio.c:192: parse error before `received' au_audio.c:192: `EAGAIN' undeclared (first use in this function) au_audio.c:193: warning: implicit declaration of function `interruptible_sleep_on' au_audio.c:194: warning: implicit declaration of function `signal_pending' au_audio.c:194: `current' undeclared (first use in this function) au_audio.c:195: parse error before `received' au_audio.c:195: duplicate label `received' au_audio.c:195: `ERESTARTSYS' undeclared (first use in this function) au_audio.c:198: parse error before `received' au_audio.c:192: warning: label `received' defined but not used au_audio.c:199: warning: control reaches end of non-void function au_audio.c: At top level: au_audio.c:201: parse error before `au_audio_write' au_audio.c:201: parse error before `size_t' au_audio.c:202: warning: return type defaults to `int' au_audio.c: In function `au_audio_write': au_audio.c:203: `dev' undeclared (first use in this function) au_audio.c:203: `file' undeclared (first use in this function) au_audio.c:204: parse error before `*' au_audio.c:207: `size_t' undeclared (first use in this function) au_audio.c:210: `wdev' undeclared (first use in this function) au_audio.c:212: `KERN_WARNING' undeclared (first use in this function) au_audio.c:212: parse error before string constant au_audio.c:213: `ENXIO' undeclared (first use in this function) au_audio.c:215: `stream' undeclared (first use in this function) au_audio.c:218: `ppos' undeclared (first use in this function) au_audio.c:219: `ESPIPE' undeclared (first use in this function) au_audio.c:223: `VERIFY_READ' undeclared (first use in this function) au_audio.c:223: `buffer' undeclared (first use in this function) au_audio.c:223: `count' undeclared (first use in this function) au_audio.c:224: `EFAULT' undeclared (first use in this function) au_audio.c:231: `sent' undeclared (first use in this function) au_audio.c:235: parse error before `xfer' au_audio.c:237: `xfer' undeclared (first use in this function) au_audio.c:248: `ssize_t' undeclared (first use in this function) au_audio.c:248: parse error before `sent' au_audio.c:257: `O_NONBLOCK' undeclared (first use in this function) au_audio.c:259: parse error before `sent' au_audio.c:262: `current' undeclared (first use in this function) au_audio.c:265: parse error before `sent' au_audio.c:274: `flags' undeclared (first use in this function) au_audio.c:285: parse error before `sent' au_audio.c:291: parse error before `sent' au_audio.c: At top level: au_audio.c:294: warning: `struct poll_table_struct' declared inside parameter list au_audio.c:295: conflicting types for `au_audio_poll' au_audio.c:54: previous declaration of `au_audio_poll' au_audio.c: In function `au_audio_poll': au_audio.c:296: `dev' undeclared (first use in this function) au_audio.c:296: dereferencing pointer to incomplete type au_audio.c:297: parse error before `*' au_audio.c:304: `wdev' undeclared (first use in this function) au_audio.c:306: `KERN_WARNING' undeclared (first use in this function) au_audio.c:306: parse error before string constant au_audio.c:307: `ENXIO' undeclared (first use in this function) au_audio.c:310: dereferencing pointer to incomplete type au_audio.c:310: `FMODE_WRITE' undeclared (first use in this function) au_audio.c:311: warning: implicit declaration of function `poll_wait' au_audio.c:312: dereferencing pointer to incomplete type au_audio.c:312: `FMODE_READ' undeclared (first use in this function) au_audio.c:315: `flags' undeclared (first use in this function) au_audio.c:316: dereferencing pointer to incomplete type au_audio.c:317: `i' undeclared (first use in this function) au_audio.c:319: `mask' undeclared (first use in this function) au_audio.c:319: `POLLIN' undeclared (first use in this function) au_audio.c:319: `POLLRDNORM' undeclared (first use in this function) au_audio.c:325: `b_count' undeclared (first use in this function) au_audio.c:326: dereferencing pointer to incomplete type au_audio.c:329: `POLLOUT' undeclared (first use in this function) au_audio.c:329: `POLLWRNORM' undeclared (first use in this function) au_audio.c:337: warning: control reaches end of non-void function au_audio.c: At top level: au_audio.c:339: warning: `struct inode' declared inside parameter list au_audio.c:340: conflicting types for `au_audio_ioctl' au_audio.c:55: previous declaration of `au_audio_ioctl' au_audio.c: In function `au_audio_ioctl': au_audio.c:341: `dev' undeclared (first use in this function) au_audio.c:341: dereferencing pointer to incomplete type au_audio.c:342: parse error before `*' au_audio.c:344: `audio_buf_info' undeclared (first use in this function) au_audio.c:345: `count_info' undeclared (first use in this function) au_audio.c:350: `wdev' undeclared (first use in this function) au_audio.c:352: `KERN_WARNING' undeclared (first use in this function) au_audio.c:352: parse error before string constant au_audio.c:353: `ENXIO' undeclared (first use in this function) au_audio.c:357: `OSS_GETVERSION' undeclared (first use in this function) au_audio.c:358: warning: implicit declaration of function `put_user' au_audio.c:358: `SOUND_VERSION' undeclared (first use in this function) au_audio.c:360: `SNDCTL_DSP_POST' undeclared (first use in this function) au_audio.c:362: `EINVAL' undeclared (first use in this function) au_audio.c:364: dereferencing pointer to incomplete type au_audio.c:364: `O_NONBLOCK' undeclared (first use in this function) au_audio.c:368: `SNDCTL_DSP_SYNC' undeclared (first use in this function) au_audio.c:371: dereferencing pointer to incomplete type au_audio.c:378: `SNDCTL_DSP_SETDUPLEX' undeclared (first use in this function) au_audio.c:382: `SNDCTL_DSP_GETCAPS' undeclared (first use in this function) au_audio.c:384: `DSP_CAP_DUPLEX' undeclared (first use in this function) au_audio.c:384: `DSP_CAP_REALTIME' undeclared (first use in this function) au_audio.c:384: `DSP_CAP_TRIGGER' undeclared (first use in this function) au_audio.c:384: `DSP_CAP_MMAP' undeclared (first use in this function) au_audio.c:386: `SNDCTL_DSP_RESET' undeclared (first use in this function) au_audio.c:392: `SNDCTL_DSP_SPEED' undeclared (first use in this function) au_audio.c:394: warning: implicit declaration of function `get_user' au_audio.c:394: `val' undeclared (first use in this function) au_audio.c:395: `EFAULT' undeclared (first use in this function) au_audio.c:399: `SNDCTL_DSP_STEREO' undeclared (first use in this function) au_audio.c:406: `SNDCTL_DSP_CHANNELS' undeclared (first use in this function) au_audio.c:606:41: missing binary operator before '(' au_audio.c:666:40: missing binary operator before '(' au_audio.c:690:40: missing binary operator before '(' au_audio.c:414: `SNDCTL_DSP_GETFMTS' undeclared (first use in this function) au_audio.c:416: `AFMT_MU_LAW' undeclared (first use in this function) au_audio.c:416: `AFMT_A_LAW' undeclared (first use in this function) au_audio.c:416: `AFMT_S16_LE' undeclared (first use in this function) au_audio.c:416: `AFMT_U8' undeclared (first use in this function) au_audio.c:418: `SNDCTL_DSP_SETFMT' undeclared (first use in this function) au_audio.c:422: `AFMT_QUERY' undeclared (first use in this function) au_audio.c:428: `SNDCTL_DSP_GETTRIGGER' undeclared (first use in this function) au_audio.c:432: `PCM_ENABLE_INPUT' undeclared (first use in this function) au_audio.c:434: `PCM_ENABLE_OUTPUT' undeclared (first use in this function) au_audio.c:437: `SNDCTL_DSP_SETTRIGGER' undeclared (first use in this function) au_audio.c:440: dereferencing pointer to incomplete type au_audio.c:440: `FMODE_READ' undeclared (first use in this function) au_audio.c:443: `stream' undeclared (first use in this function) au_audio.c:445: `flags' undeclared (first use in this function) au_audio.c:448: `i' undeclared (first use in this function) au_audio.c:465: dereferencing pointer to incomplete type au_audio.c:465: `FMODE_WRITE' undeclared (first use in this function) au_audio.c:476: warning: implicit declaration of function `memset' au_audio.c:767:41: missing binary operator before '(' au_audio.c:825:41: missing binary operator before '(' au_audio.c:496: `SNDCTL_DSP_GETOSPACE' undeclared (first use in this function) au_audio.c:499: `abinfo' undeclared (first use in this function) au_audio.c:514: warning: implicit declaration of function `copy_to_user' au_audio.c:516: `SNDCTL_DSP_GETISPACE' undeclared (first use in this function) au_audio.c:534: `SNDCTL_DSP_NONBLOCK' undeclared (first use in this function) au_audio.c:536: dereferencing pointer to incomplete type au_audio.c:539: `SNDCTL_DSP_GETODELAY' undeclared (first use in this function) au_audio.c:546: `SNDCTL_DSP_GETIPTR' undeclared (first use in this function) au_audio.c:548: `cinfo' undeclared (first use in this function) au_audio.c:553: `SNDCTL_DSP_GETOPTR' undeclared (first use in this function) au_audio.c:562: `SNDCTL_DSP_GETBLKSIZE' undeclared (first use in this function) au_audio.c:566: `SNDCTL_DSP_SETFRAGMENT' undeclared (first use in this function)au_audio.c:838:41: missing binary operator before '(' au_audio.c:859:41: missing binary operator before '(' au_audio.c:867:41: missing binary operator before '(' au_audio.c:879:41: missing binary operator before '(' au_audio.c:573: `SNDCTL_DSP_SUBDIVIDE' undeclared (first use in this function) au_audio.c:580: `SOUND_PCM_WRITE_FILTER' undeclared (first use in this function)au_audio.c:581: `SNDCTL_DSP_SETSYNCRO' undeclared (first use in this function) au_audio.c:582: `SOUND_PCM_READ_RATE' undeclared (first use in this function) au_audio.c:583: `SOUND_PCM_READ_CHANNELS' undeclared (first use in this function) au_audio.c:584: `SOUND_PCM_READ_BITS' undeclared (first use in this function) au_audio.c:585: `SOUND_PCM_READ_FILTER' undeclared (first use in this function) au_audio.c:358: warning: unreachable code at beginning of switch statement au_audio.c:589: warning: passing arg 1 of `au_mixer_ioctl' from incompatible pointer type au_audio.c: At top level: au_audio.c:592: warning: `struct vm_area_struct' declared inside parameter list au_audio.c:593: conflicting types for `au_audio_mmap' au_audio.c:56: previous declaration of `au_audio_mmap' au_audio.c: In function `au_audio_mmap': au_audio.c:594: `dev' undeclared (first use in this function) au_audio.c:594: dereferencing pointer to incomplete type au_audio.c:595: parse error before `*' au_audio.c:600: `wdev' undeclared (first use in this function) au_audio.c:602: `KERN_WARNING' undeclared (first use in this function) au_audio.c:602: parse error before string constant au_audio.c:603: `ENODEV' undeclared (first use in this function) au_audio.c:609: dereferencing pointer to incomplete type au_audio.c:611: `EINVAL' undeclared (first use in this function) au_audio.c:612: `size' undeclared (first use in this function) au_audio.c:612: dereferencing pointer to incomplete type au_audio.c:612: dereferencing pointer to incomplete type au_audio.c:614: dereferencing pointer to incomplete type au_audio.c:614: `VM_WRITE' undeclared (first use in this function) au_audio.c:618: `PAGE_SIZE' undeclared (first use in this function) au_audio.c:620: warning: implicit declaration of function `remap_page_range' au_audio.c:620: dereferencing pointer to incomplete type au_audio.c:620: warning: implicit declaration of function `virt_to_phys' au_audio.c:620: dereferencing pointer to incomplete type au_audio.c:621: `EAGAIN' undeclared (first use in this function) au_audio.c:624: dereferencing pointer to incomplete type au_audio.c:624: `VM_READ' undeclared (first use in this function) au_audio.c:630: dereferencing pointer to incomplete type au_audio.c:630: dereferencing pointer to incomplete type au_audio.c: At top level: au_audio.c:647: warning: `struct inode' declared inside parameter list au_audio.c:648: conflicting types for `au_audio_open' au_audio.c:57: previous declaration of `au_audio_open' au_audio.c: In function `au_audio_open': au_audio.c:649: `dev' undeclared (first use in this function) au_audio.c:649: warning: statement with no effect au_audio.c:650: parse error before `int' au_audio.c:654: `minor_num' undeclared (first use in this function) au_audio.c:656: `KERN_WARNING' undeclared (first use in this function) au_audio.c:656: parse error before string constant au_audio.c:657: `ENODEV' undeclared (first use in this function) au_audio.c:660: `status' undeclared (first use in this function) au_audio.c:660: `dev_type' undeclared (first use in this function) au_audio.c:662: parse error before string constant au_audio.c:665: dereferencing pointer to incomplete type au_audio.c: At top level: au_audio.c:672: warning: `struct inode' declared inside parameter list au_audio.c:673: conflicting types for `au_audio_release' au_audio.c:58: previous declaration of `au_audio_release' au_audio.c: In function `au_audio_release': au_audio.c:674: `dev' undeclared (first use in this function) au_audio.c:674: dereferencing pointer to incomplete type au_audio.c:675: parse error before `*' au_audio.c:677: `wdev' undeclared (first use in this function) au_audio.c:679: `KERN_WARNING' undeclared (first use in this function) au_audio.c:679: parse error before string constant au_audio.c:680: `ENODEV' undeclared (first use in this function) au_audio.c:683: dereferencing pointer to incomplete type au_audio.c:683: `O_NONBLOCK' undeclared (first use in this function) au_audio.c: At top level: au_audio.c:696: parse error before `*' au_audio.c: In function `drain_playback': au_audio.c:699: `wdev' undeclared (first use in this function) au_audio.c:709: `dev' undeclared (first use in this function) au_audio.c:722: `nonblock' undeclared (first use in this function) au_audio.c:725: `current' undeclared (first use in this function) au_audio.c: At top level: au_audio.c:733: parse error before `*' au_audio.c: In function `add_wave_device': au_audio.c:738: `file' undeclared (first use in this function) au_audio.c:738: `FMODE_WRITE' undeclared (first use in this function) au_audio.c:739: `FMODE_READ' undeclared (first use in this function) au_audio.c:743: `dev' undeclared (first use in this function) au_audio.c:744: `EBUSY' undeclared (first use in this function) au_audio.c:745: warning: implicit declaration of function `kmalloc' au_audio.c:745: `GFP_KERNEL' undeclared (first use in this function) au_audio.c:747: `ENOMEM' undeclared (first use in this function) au_audio.c:754: `dev_type' undeclared (first use in this function) au_audio.c:755: case label not within a switch statement au_audio.c:756: default label not within a switch statement au_audio.c:757: `AFMT_U8' undeclared (first use in this function) au_audio.c:759: break statement not within loop or switch au_audio.c:760: case label not within a switch statement au_audio.c:761: `AFMT_MU_LAW' undeclared (first use in this function) au_audio.c:763: break statement not within loop or switch au_audio.c:771: warning: implicit declaration of function `init_waitqueue' au_audio.c:776: `PAGE_SIZE' undeclared (first use in this function) au_audio.c:783: `KERN_WARNING' undeclared (first use in this function) au_audio.c:783: parse error before string constant au_audio.c:789: parse error before string constant au_audio.c:796: parse error before string constant au_audio.c:802: parse error before string constant au_audio.c: In function `get_frags': au_audio.c:832: warning: implicit declaration of function `__get_free_pages' au_audio.c:832: `GFP_KERNEL' undeclared (first use in this function) au_audio.c:834: `ENOMEM' undeclared (first use in this function) au_audio.c:843: warning: implicit declaration of function `MAP_NR' au_audio.c:843: `PAGE_SIZE' undeclared (first use in this function) au_audio.c:845: warning: implicit declaration of function `set_bit' au_audio.c:845: `PG_reserved' undeclared (first use in this function) au_audio.c:845: `mem_map' undeclared (first use in this function) au_audio.c: At top level: au_audio.c:856: parse error before `*' au_audio.c: In function `free_wave_device': au_audio.c:865: `wdev' undeclared (first use in this function) au_audio.c:872: `PAGE_SIZE' undeclared (first use in this function) au_audio.c:874: warning: implicit declaration of function `clear_bit' au_audio.c:874: `PG_reserved' undeclared (first use in this function) au_audio.c:874: `mem_map' undeclared (first use in this function) au_audio.c:876: warning: implicit declaration of function `free_pages' au_audio.c:891: `dev' undeclared (first use in this function) au_audio.c:900: warning: implicit declaration of function `kfree' au_audio.c: At top level: au_audio.c:903: parse error before `*' au_audio.c: In function `find_wave_device': au_audio.c:909: `dev' undeclared (first use in this function) au_audio.c:913: `file' undeclared (first use in this function) au_audio.c: At top level: au_audio.c:922: parse error before `*' au_audio.c: In function `remove_wave_device': au_audio.c:925: `dev' undeclared (first use in this function) au_audio.c:927: `wdev' undeclared (first use in this function) au_audio.c:930: `NULL' undeclared (first use in this function) au_audio.c: In function `set_data_format': au_audio.c:948: `AFMT_MU_LAW' undeclared (first use in this function) au_audio.c:949: `AFMT_A_LAW' undeclared (first use in this function) au_audio.c:950: `AFMT_S16_LE' undeclared (first use in this function) au_audio.c:951: `AFMT_U8' undeclared (first use in this function) au_audio.c:954: `AFMT_S16_BE' undeclared (first use in this function) au_audio.c:955: `AFMT_U16_LE' undeclared (first use in this function) au_audio.c:956: `AFMT_U16_BE' undeclared (first use in this function) au_audio.c:957: `AFMT_IMA_ADPCM' undeclared (first use in this function) au_audio.c:958: `AFMT_S8' undeclared (first use in this function) au_audio.c:952: warning: unreachable code at beginning of switch statement au_audio.c: In function `set_asp_format': au_audio.c:970: `AFMT_S16_LE' undeclared (first use in this function) au_audio.c:975: `AFMT_U8' undeclared (first use in this function) au_audio.c:979: `AFMT_A_LAW' undeclared (first use in this function) au_audio.c:983: `AFMT_MU_LAW' undeclared (first use in this function) au_audio.c: At top level: au_audio.c:994: parse error before `*' au_audio.c: In function `stop_wave': au_audio.c:999: `stream' undeclared (first use in this function) au_audio.c:1000: `dev' undeclared (first use in this function) au_audio.c: At top level: au_audio.c:1013: parse error before `*' au_audio.c: In function `receive_mem': au_audio.c:1023: `stream' undeclared (first use in this function) au_audio.c:1024: `dev' undeclared (first use in this function) au_audio.c:1034: `max_size' undeclared (first use in this function) au_audio.c:1036: `mem' undeclared (first use in this function) au_audio.c: At top level: au_audio.c:1056: parse error before `*' au_audio.c: In function `send_mem': au_audio.c:1061: `stream' undeclared (first use in this function) au_audio.c:1067: `size' undeclared (first use in this function) au_audio.c:1070: warning: implicit declaration of function `copy_from_user' au_audio.c:1070: `mem' undeclared (first use in this function) au_audio.c:1083: `dev' undeclared (first use in this function) au_audio.c: At top level: au_audio.c:1105: parse error before `*' au_audio.c: In function `au_handle_timer': au_audio.c:1107: `dev' undeclared (first use in this function) au_audio.c:1121: warning: implicit declaration of function `wake_up_interruptible' au_audio.c: In function `au_dsp_register': au_audio.c:115: warning: `status' might be used uninitialized in this function au_audio.c: In function `au_audio_register': au_audio.c:132: warning: `status' might be used uninitialized in this function make: *** [au_audio.o] Ошибка 1

Пакет kernel-source установлен, в ядре sound enabled, ошибку в makefile, связанную с .conf исправил, но ничего не помагает! (Моя система: ядро 2,4,18-3 Red Hat 7.3 CPU - iP3;и ещё, у меня на матери стоит VIA chipset, слышал,что в Windows бывают какие-то проблемы, связанные с этим, у меня их не было, но может это как-то связано с этим?) Help! please!!! а то я уже совсем отчаялся...

anonymous

Re: Linux+Vortex2=Unreal???

У тебя ответ на твою проблему в самом начале...
Твой модуль собирается с хедерами от ядра, в опциях компилятора
указан путь на хедеры как -I/usr/src/linux/include, наверняка
такого пути у тебя нет, скорее всего /usr/src/linux-2.4.18-3 или
вообще нет исходников. Ответ прост - сделай линк, если нет
исходников ядра, то установи их, либо правь Makefile твоего модуля
на тему -I/usr/src/linux-2.4.18-3/include

McMCC ★★★ ()

Re: Linux+Vortex2=Unreal???

Спасибо, McMCC. Ошибки ?1 уже нет, но всё равно чё-то не пашет:

mv -f /etc/modules.conf /etc/modules.conf.old
gawk -f mod_conf /etc/modules.conf.old > /etc/modules.conf
echo "alias sound au8830" >> /etc/modules.conf
echo "alias midi au8830" >> /etc/modules.conf
mkdir -p /lib/modules/2.4.18-3/misc
cp -f au8830.o /lib/modules/2.4.18-3/misc
/sbin/depmod -a
depmod: *** Unresolved symbols in /lib/modules/2.4.18-3/misc/au8830.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18-3/drivers/sound/au8830.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18-3/drivers/sound/au_audio.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18-3/drivers/sound/au_core.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18-3/drivers/sound/au_midi.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18-3/drivers/sound/au_mixer.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18-3/drivers/sound/au_sndstat.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18-3/drivers/sound/au_vortex.o
make: [install] пЫЙВЛБ 1 (ЙЗОПТЙТПЧБОБ)
/sbin/rmmod au8830
rmmod: module au8830 is not loaded
make: [install] пЫЙВЛБ 1 (ЙЗОПТЙТПЧБОБ)
/sbin/modprobe au8830
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol __get_free_pages_Rsmp_4784e424
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol iomem_resource_Rsmp_9efed5af
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol free_irq_Rsmp_f20dabd8
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol pci_register_driver_Rsmp_9e6cd8b6
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol __request_region_Rsmp_1a1a4f09
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol pci_unregister_driver_Rsmp_6387cfd3
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol unregister_sound_midi_Rsmp_fdab6de3
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol add_timer_Rsmp_a19eacf8
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol del_timer_Rsmp_fc62f16d
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol unregister_sound_mixer_Rsmp_7afc9d8a
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol iounmap_Rsmp_5fb196d4
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol __generic_copy_to_user_Rsmp_d523fdd3
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol pci_enable_device_Rsmp_bd4d327a
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol unregister_sound_special_Rsmp_99c95fa5
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol sprintf_Rsmp_1d26aa98
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol __ioremap_Rsmp_9eac042a
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol pci_set_master_Rsmp_1fb64c17
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol __wake_up_Rsmp_127fda83
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol __check_region_Rsmp_f1d0cdab
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol register_sound_special_Rsmp_3a650025
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol register_sound_midi_Rsmp_a8d2cdde
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol printk_Rsmp_1b7d4074
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol kfree_Rsmp_037a0cba
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol unregister_sound_dsp_Rsmp_cd083b10
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol ioport_resource_Rsmp_865ebccd
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol remap_page_range_Rsmp_69d01e73
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol register_sound_dsp_Rsmp_95f2becb
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol free_pages_Rsmp_9941ccb8
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol mem_map_Rsmp_ed75ce01
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol kmalloc_Rsmp_93d4cfe6
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol interruptible_sleep_on_Rsmp_8c23e4cb
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol __udelay_Rsmp_9e7d6bd0
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol register_sound_mixer_Rsmp_05d9f2bb
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol __generic_copy_from_user_Rsmp_116166aa
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol jiffies_Rsmp_0da02d67
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol request_irq_Rsmp_0c60f2e0
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol system_utsname_Rsmp_b12cdfe7
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol __release_region_Rsmp_d49501d4
/lib/modules/2.4.18-3/misc/au8830.o: unresolved symbol __pollwait_Rsmp_4c541ea9
/lib/modules/2.4.18-3/misc/au8830.o:
Hint: You are trying to load a module without a GPL compatible license
and it has unresolved symbols. Contact the module supplier for
assistance, only they can help you.

/lib/modules/2.4.18-3/misc/au8830.o: insmod /lib/modules/2.4.18-3/misc/au8830.o failed
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol __get_free_pages_Rsmp_4784e424
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol iomem_resource_Rsmp_9efed5af
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol free_irq_Rsmp_f20dabd8
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol kernel_flag_Rsmp_a99dd800
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol pci_register_driver_Rsmp_9e6cd8b6
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol __request_region_Rsmp_1a1a4f09
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol pci_unregister_driver_Rsmp_6387cfd3
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol unregister_sound_midi_Rsmp_fdab6de3
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol add_timer_Rsmp_a19eacf8
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol del_timer_Rsmp_fc62f16d
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol unregister_sound_mixer_Rsmp_7afc9d8a
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol iounmap_Rsmp_5fb196d4
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol __generic_copy_to_user_Rsmp_d523fdd3
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol pci_enable_device_Rsmp_bd4d327a
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol unregister_sound_special_Rsmp_99c95fa5
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol sprintf_Rsmp_1d26aa98
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol __ioremap_Rsmp_9eac042a
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol pci_set_master_Rsmp_1fb64c17
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol __wake_up_Rsmp_127fda83
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol __check_region_Rsmp_f1d0cdab
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol register_sound_special_Rsmp_3a650025
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol register_sound_midi_Rsmp_a8d2cdde
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol printk_Rsmp_1b7d4074
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol kfree_Rsmp_037a0cba
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol unregister_sound_dsp_Rsmp_cd083b10
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol ioport_resource_Rsmp_865ebccd
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol remap_page_range_Rsmp_69d01e73
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol register_sound_dsp_Rsmp_95f2becb
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol free_pages_Rsmp_9941ccb8
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol mem_map_Rsmp_ed75ce01
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol kmalloc_Rsmp_93d4cfe6
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol interruptible_sleep_on_Rsmp_8c23e4cb
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol __udelay_Rsmp_9e7d6bd0
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol register_sound_mixer_Rsmp_05d9f2bb
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol __generic_copy_from_user_Rsmp_116166aa
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol jiffies_Rsmp_0da02d67
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol request_irq_Rsmp_0c60f2e0
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol system_utsname_Rsmp_b12cdfe7
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol __release_region_Rsmp_d49501d4
/lib/modules/2.4.18-3/drivers/sound/au8830.o: unresolved symbol __pollwait_Rsmp_4c541ea9
/lib/modules/2.4.18-3/drivers/sound/au8830.o:
Hint: You are trying to load a module without a GPL compatible license
and it has unresolved symbols. Contact the module supplier for
assistance, only they can help you.

/lib/modules/2.4.18-3/drivers/sound/au8830.o: insmod /lib/modules/2.4.18-3/drivers/sound/au8830.o failed
/lib/modules/2.4.18-3/drivers/sound/au8830.o: insmod au8830 failed
make: [install] Ошибка 255 (ЙЗОПТЙТПЧБОБ)

В README написано, что надо в kernel делать sound card enabled - не помагает! Help...

anonymous ()

Re: Linux+Vortex2=Unreal???

>В README написано, что надо в kernel делать sound card enabled - не
>помагает! Help...

Что значит не помогает? В kernel не просто нужно сделать sound card enabled,
а обязательно! У тебя должен быть в начале загружен модуль
soundcore.o и возможно sound.o, а уж потом твой au8830.o....

McMCC ★★★ ()

Re: Linux+Vortex2=Unreal???

В ядре sound card enabled точно! Но как разобраться с этими модулями : soundcore.o и sound.o я не понял... Напиши,please!

anonymous ()

Re: Linux+Vortex2=Unreal???

Да, если у тебя всё поставилось ОК в 1.1.2, то неработа лечится толи постановкой слеша (\),
толи его удалением в конце строки,
толи, надо, чтобы после него пустая строчка была (просто нажми Enter в конце строчки, которая содержит au8830).
Всё это в файле modules/2.4.18/modules.dep

PS: aureal-1.1.3 - cvs версия с парой наложенных патчей (вкл. звук поддержку в Dosemu + частично освобождает WineX приложения от хрипа)

SteelRat ()

Re: Linux+Vortex2=Unreal???

ЗАРАБОТАЛА!!!!!!!!!!!!!!! Спасибо, SteelRat! Поставил CVS 1.13 и звук пошёл, но что-то глючит иногда: подвисает, пропадает и т.п. В README написано, что надо набрать setpci -d '12eb:*' 40.B=ff - не помагло! Кто-нибудь знает, как убрать глюки? (у меня chipset VIA)

anonymous ()

Re: Linux+Vortex2=Unreal???

s/PS: aureal-1.1.3/PS: aureal-1.1.3.S/
Насчёт хрипа - незнаю. Как-то раз было на старых дровах.
У меня MX300/440BX/Debian/Самопальный Kernel 2.4.18
Проверь, Ведёт ли /lib/modules/_версия ядра_/build/ на исходники(kernel-source-_VERSION_)/заголовки ядра(kernel-headers-_VERSION_) (кот. совпадают с _версия ядра_).

Версию текущего ядра можешь посмотреть по $uname -a, третья колонка.

SteelRat ()

Re: Linux+Vortex2=Unreal???

CVS брал по
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/aureal login
[2*Enter]
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/aureal co aureal
[Enter]
,надеюсь?
PS: Там форум есть и bug tracker - посмотри, если не заработает, - может там патчи указаны или решения твоей проблемы.

SteelRat ()

Re: Linux+Vortex2=Unreal???

s~Всё это в файле modules/2.4.18/modules.dep~Всё это в файле /lib/modules/_версия ядра_/modules.dep~

SteelRat ()

Re: Linux+Vortex2=Unreal???

Да, у тебя ещё же наверняка осталось:
~~~~~~~~~~~~
/sbin/depmod -a
depmod: *** Unresolved symbols in /lib/modules/2.4.18-3/misc/au8830.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18-3/drivers/sound/au8830.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18-3/drivers/sound/au_audio.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18-3/drivers/sound/au_core.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18-3/drivers/sound/au_midi.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18-3/drivers/sound/au_mixer.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18-3/drivers/sound/au_sndstat.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18-3/drivers/sound/au_vortex.o
~~~~~~~~~~~~
Вся эта хрень от 1.1.2 может мешать. Удали их. И всё прочее, на что depmod ругается.
Впринципе, должно сработать из дирки исходников 1.1.2 #make uninstall

SteelRat ()

Re: Linux+Vortex2=Unreal???

YES!!! Получилось! Немного покапался в настройках KDE->sound и всё (по-поему, VIA тут вовсе была непричём!)

Всем спасибо, linux.org - rulez forever!

anonymous ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.