LINUX.ORG.RU

aureal help звук VORTEX2


0

0

Поставел себе linux mandrake re spring 2001 скачал драйвера для aureal vortex2 начел ставить, какда начел инсталироват появилась ощибка make: *** [au.audio.o] ошибка 1 что делать подскажите пожалуйста. Да драйвера скачал самые последние 1.1.2

anonymous

Запости сюда текст сообщения об ошибке.

nobody ★★
()

Вот все мои действия по установке драйвера подскажи чего делать [root@andrey /root]# tar zxvf au88xx-1.1.2.tar.gz aureal/ aureal/asp30.o aureal/au_core.c aureal/COPYING aureal/asp10.o aureal/au_utils.c aureal/Makefile aureal/au_mixer.c aureal/au_vortex.c aureal/asp20.o aureal/au_audio.c aureal/au_midi.c aureal/au_vortex.h aureal/mod_conf aureal/ChangeLog aureal/au_sndstat.c aureal/README [root@andrey /root]# cd aureal [root@andrey aureal]# su [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

anonymous
()

У тебя нет заголовков ядра. Поставь исходные тексты ядра из своего дистрибутива. Сделай в каталоге ядра "make config". Тебе будут задаваться вопросы. Как на них отвечать - не важно. Главное, что будут созданы необходимые файлы и символьные ссылки. Компилить ядро тоже не надо. После "make config" собирай драйвер для звуковухи.
ЗЫ: в следующий раз, когда станешь такие вещи сюда постить, выбери, pls, "User line breaks" вместо "Ignore line breaks" над кнопкой "Post/Послать". А то читать такие мессаги без разбиения по строкам очень уж напряжно.

nobody ★★
()

Привет Nobody я новичек и не фига не понял где взять эти заголовки ядра что это такое как они выгледят можеш обяснить, если не трудно скинь на мыло andreika@beep.ru или на асю 100462218 зарание спасибо

Andreika
()

Заголовки ядра - это в данном случае включаемые по #include файлы с расширением ".h". Если ты посмотришь файлы своего драйвера (с расширением ".c"), то увидишь в них эти инструкции. Заголовочные файлы ядра идут вместе с исходниками ядра. Поставить их (вместе с ядром) можно с помощью программы "rpm". Лежат они на том же CD, с которого ты линукс ставил.

Рассказать тебе, как пользоваться rpm я не могу, т.к. у меня его нет. Набери команду
man rpm

Чтобы узнать, как называется пакет, в котором находятся исходники ядра, выполни следующие команды:
mount /dev/cdrom /mnt/cdrom
cd /mnt/cdrom/каталог/в/котором/находятся/пакеты
ls linux*

Я полагаю, что пакеты ядра у тебя называются "linux-x.x.x", где "x.x.x" - версия ядра. Инсталлировать надо ту версию, которой у тебя ядро. Получить версию установленного у тебя ядра можно командой
uname -r.

После инсталляции исходных текстов ядра сделай
cd /usr/src/linux
make config
Тебе будут задаваться вопросы. Отвечай на них как угодно. После того, как это закончится, собирай свой драйвер.
Если что-то еще непонятно, задавай вопросы :).

nobody ★★
()

В аналогичной ситуации я поставил дрова от Open Sound System

ONI
()
2 августа 2001 г.

Привет! Я ставил эти дрова, все нормально, только в Makefile в одном месте прописано /etc/modules.conf, а через пару строк /etc/conf.modules. Так что просто перепеши вторую строчку на /etc/modules.conf и все пойдет!

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