Re: AlSA 1.0.0 make error

From: OS.IS.LINUX (linuxuser_at_bigmailbox.net)
Date: 01/22/04

  • Next message: Benny: "Software RAID1 setup on RH9"
    Date: Thu, 22 Jan 2004 18:45:31 GMT
    
    

    "OS.IS.LINUX" <linuxuser@bigmailbox.net> writes:

    > Need to compile ALSA for my on-board AC97 sound-card, so I downloaded
    > the newest Alsa-driver (version 1.0.1) but make breaks up with the
    > descriptive error 1.

    It is _not_ that I don't try to get the necessary info-s so I went back
    to the ALSA Home Page and found this:

    http://alsa.opensrc.org/index.php?page=AlsaBuild2.6

    this is the relevant part

    ---
    One can integrate ALSA-driver 1.0.1 into the Linux Kernel 2.6.0 or
    2.6.1 source tree pretty painlessly, here's how you do it: 
    1. Unpack your kernel source in /usr/src (/usr/src/linux-2.6.1)
    2. Unpack alsa-driver-1.0.1 tarball into /usr/src (/usr/src/alsa-driver-1.0.1)
    3. cd /usr/src/alsa-driver-1.0.1/alsa-kernel
    4. rm -rf oss
    5. cp -a * /usr/src/linux-2.6.1/sound
    6. cd include
    7. cp -a * /usr/src/linux-2.6.1/include/sound
    [The next two are optional]
    8. cd ../Documentation
    9. cp -a * /usr/src/linux-2.6.1/Documentation
    One can then configure your kernel source as normal and compile, enjoy!
    ---------------------------------
    sure :-( 
    oswald@PURE-JOY-II:/usr/src/kernel-source-2.6.0$ make 
      HOSTCC  scripts/modpost.o
      HOSTLD  scripts/modpost
    make[1]: ?arch/i386/kernel/asm-offsets.s? ist bereits aktualisiert.
      CHK     include/linux/compile.h
      CC [M]  sound/core/pcm.o
    sound/core/pcm.c: In function `snd_pcm_stream_proc_init':
    sound/core/pcm.c:411: Warnung: passing arg 3 of `snd_info_set_text_ops' makes pointer from integer without a cast
    sound/core/pcm.c:411: error: too many arguments to function `snd_info_set_text_ops'
    sound/core/pcm.c: In function `snd_pcm_substream_proc_init':
    sound/core/pcm.c:454: Warnung: passing arg 3 of `snd_info_set_text_ops' makes pointer from integer without a cast
    sound/core/pcm.c:454: error: too many arguments to function `snd_info_set_text_ops'
    sound/core/pcm.c:463: Warnung: passing arg 3 of `snd_info_set_text_ops' makes pointer from integer without a cast
    sound/core/pcm.c:463: error: too many arguments to function `snd_info_set_text_ops'
    sound/core/pcm.c:472: Warnung: passing arg 3 of `snd_info_set_text_ops' makes pointer from integer without a cast
    sound/core/pcm.c:472: error: too many arguments to function `snd_info_set_text_ops'
    sound/core/pcm.c:481: Warnung: passing arg 3 of `snd_info_set_text_ops' makes pointer from integer without a cast
    sound/core/pcm.c:481: error: too many arguments to function `snd_info_set_text_ops'
    sound/core/pcm.c: In function `alsa_pcm_init':
    sound/core/pcm.c:965: Warnung: passing arg 3 of `snd_info_set_text_ops' makes pointer from integer without a cast
    sound/core/pcm.c:965: error: too many arguments to function `snd_info_set_text_ops'
    make[2]: *** [sound/core/pcm.o] Fehler 1
    make[1]: *** [sound/core] Fehler 2
    make: *** [sound] Fehler 2
    -----------------
    The Saga continues..... 
    and all this trouble because stupid me want to
    use a onboard Sound Card AC97 _together_ with a Soundblaster Live 5.1 :-/ 
    my Kernel config:
    #
    # Sound
    #
    CONFIG_SOUND=y
    #
    # Advanced Linux Sound Architecture
    #
    CONFIG_SND=m
    CONFIG_SND_SEQUENCER=m
    CONFIG_SND_SEQ_DUMMY=m
    CONFIG_SND_OSSEMUL=y
    CONFIG_SND_MIXER_OSS=m
    CONFIG_SND_PCM_OSS=m
    CONFIG_SND_SEQUENCER_OSS=y
    CONFIG_SND_VERBOSE_PRINTK=y
    CONFIG_SND_DEBUG=y
    CONFIG_SND_DEBUG_MEMORY=y
    CONFIG_SND_DEBUG_DETECT=y
    #
    # Generic devices
    #
    # CONFIG_SND_DUMMY is not set
    # CONFIG_SND_VIRMIDI is not set
    # CONFIG_SND_MTPAV is not set
    # CONFIG_SND_SERIAL_U16550 is not set
    # CONFIG_SND_MPU401 is not set
    #
    # ISA devices
    #
    # CONFIG_SND_AD1848 is not set
    # CONFIG_SND_CS4231 is not set
    # CONFIG_SND_CS4232 is not set
    # CONFIG_SND_CS4236 is not set
    # CONFIG_SND_ES1688 is not set
    # CONFIG_SND_ES18XX is not set
    # CONFIG_SND_GUSCLASSIC is not set
    # CONFIG_SND_GUSEXTREME is not set
    # CONFIG_SND_GUSMAX is not set
    # CONFIG_SND_INTERWAVE is not set
    # CONFIG_SND_INTERWAVE_STB is not set
    # CONFIG_SND_OPTI92X_AD1848 is not set
    # CONFIG_SND_OPTI92X_CS4231 is not set
    # CONFIG_SND_OPTI93X is not set
    # CONFIG_SND_SB8 is not set
    # CONFIG_SND_SB16 is not set
    # CONFIG_SND_SBAWE is not set
    # CONFIG_SND_WAVEFRONT is not set
    # CONFIG_SND_CMI8330 is not set
    # CONFIG_SND_OPL3SA2 is not set
    # CONFIG_SND_SGALAXY is not set
    # CONFIG_SND_SSCAPE is not set
    #
    # PCI devices
    #
    # CONFIG_SND_ALI5451 is not set
    # CONFIG_SND_AZT3328 is not set
    # CONFIG_SND_CS46XX is not set
    # CONFIG_SND_CS4281 is not set
    CONFIG_SND_EMU10K1=m
    ##
    CONFIG_SND_VIA82XX=m
    # CONFIG_SND_VX222 is not set
    #
    My patience is wearing thin... I want to do some _serios_ work with
    this PC and _not_ spend endless hours configuring it. 
    >
    > I am _not_ a hacker myself so I hope someone know how to fix this,
    > especially since this a new package, others might run into the same
    > problem. 
    >
    > oswald@PURE-JOY-II:/usr/src/alsa/alsa-driver-1.0.1$ sudo make 
    >
    > make[1]: Entering directory `/usr/src/kernel-source-2.6.0'
    > *** Warning: Overriding SUBDIRS on the command line can cause
    > ***          inconsistencies
    > make[2]: ťarch/i386/kernel/asm-offsets.sŤ ist bereits aktualisiert.
    >   CC [M]  /usr/src/alsa/alsa-driver-1.0.1/acore/hwdep.o
    > In file included from /usr/src/alsa/alsa-driver-1.0.1/include/sound/driver.h:42,
    >                  from /usr/src/alsa/alsa-driver-1.0.1/acore/hwdep.c:22:
    > /usr/src/alsa/alsa-driver-1.0.1/include/adriver.h:134: error: redefinition of `PDE'
    > include/linux/proc_fs.h:253: error: `PDE' previously defined here
    > make[2]: *** [/usr/src/alsa/alsa-driver-1.0.1/acore/hwdep.o] Fehler 1
    > make[1]: *** [/usr/src/alsa/alsa-driver-1.0.1/acore] Fehler 2
    > make[1]: Leaving directory `/usr/src/kernel-source-2.6.0'
    > make: *** [compile] Fehler 1
    >
    LinuxUser aka Josef Oswald linux.os@chello.at 
    --
    registered-linux-user # 134.818 at http://counter.li.org
    The box said Windows, NT or better, so I installed Linux :-) 
    

  • Next message: Benny: "Software RAID1 setup on RH9"

    Relevant Pages