Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 17 of 17
I tried to install with that guide.... But I got many errors, here is my log: Edit: Sorry I saw that I have no C compiler... I installed gcc from ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Just Joined!
    Join Date
    Jun 2006
    Location
    Steiermark - Österreich
    Posts
    12

    I tried to install with that guide....
    But I got many errors, here is my log:

    Edit:
    Sorry I saw that I have no C compiler... I installed gcc from the cds now....
    but I'll get the next errors:
    Code:
    gatesmachine:~ # modinfo soundcore
    filename:       /lib/modules/2.6.16.13-4-default/kernel/sound/soundcore.ko
    description:    Core sound module
    author:         Alan Cox
    license:        GPL
    alias:          char-major-14-*
    vermagic:       2.6.16.13-4-default 586 REGPARM gcc-4.1
    supported:      yes
    depends:
    srcversion:     DD426F1CCA2CC5F060F6F92
    gatesmachine:~ # cd /usr/src
    gatesmachine:/usr/src # cd alsa
    gatesmachine:/usr/src/alsa # bunzip2 alsa-driver-1.0.12rc2.tar.bz2
    gatesmachine:/usr/src/alsa # tar -xf alsa-driver-1.0.12rc2.tar
    gatesmachine:/usr/src/alsa # cd alsa-driver-1.0.12rc2/
    gatesmachine:/usr/src/alsa/alsa-driver-1.0.12rc2 # ./configure --with-cards=hda-intel --with-sequencer=yes;make;make install
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking for ranlib... ranlib
    checking for a BSD-compatible install... /usr/bin/install -c
    checking how to run the C preprocessor... gcc -E
    checking for egrep... grep -E
    checking for ANSI C header files... yes
    checking for an ANSI C-conforming const... yes
    checking for inline... inline
    checking whether time.h and sys/time.h may both be included... yes
    checking whether gcc needs -traditional... no
    checking for current directory... /usr/src/alsa/alsa-driver-1.0.12rc2
    checking cross compile...
    checking for directory with kernel source... /lib/modules/2.6.16.13-4-default/source
    checking for directory with kernel build... /lib/modules/2.6.16.13-4-default/build
    checking for kernel linux/version.h... no
    The file /lib/modules/2.6.16.13-4-default/source/include/linux/version.h does not exist.
    Please install the package with full kernel sources for your distribution
    or use --with-kernel=dir option to specify another directory with kernel
    sources (default is /lib/modules/2.6.16.13-4-default/source).
    make all-deps
    make[1]: Entering directory `/usr/src/alsa/alsa-driver-1.0.12rc2'
    make[1]: Nothing to be done for `all-deps'.
    make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.12rc2'
    
    Please, run the configure script as first...
    
    rm -f /snd*.*o /persist.o /isapnp.o
    make[1]: Entering directory `/usr/src/alsa/alsa-driver-1.0.12rc2/acore'
    Makefile:6: /usr/src/alsa/alsa-driver-1.0.12rc2/Makefile.conf: No such file or directory
    /usr/src/alsa/alsa-driver-1.0.12rc2/Rules.make:75: /Rules.make1: No such file or directory
    make[1]: *** No rule to make target `/Rules.make1'.  Stop.
    make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.12rc2/acore'
    make: *** [install-modules] Error 1

  2. #12
    Linux Guru Vergil83's Avatar
    Join Date
    Mar 2004
    Posts
    2,407
    it seems to be complaing that the kernel source is not installed.... I assume you can do it with yast (?) (I have not used suse in like 5 years so I don't know for sure)
    Brilliant Mediocrity - Making Failure Look Good

  3. #13
    Just Joined!
    Join Date
    Jun 2006
    Location
    Steiermark - Österreich
    Posts
    12
    So, now I installed the kernel-source too (it worked fine with Yast thanks )
    but I get the error message again:

    Code:
    gatesmachine:/usr/src/alsa/alsa-driver-1.0.12rc2 # ./configure --with-cards=hda-intel --with-sequencer=yes;make;make install
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking for ranlib... ranlib
    checking for a BSD-compatible install... /usr/bin/install -c
    checking how to run the C preprocessor... gcc -E
    checking for egrep... grep -E
    checking for ANSI C header files... yes
    checking for an ANSI C-conforming const... yes
    checking for inline... inline
    checking whether time.h and sys/time.h may both be included... yes
    checking whether gcc needs -traditional... no
    checking for current directory... /usr/src/alsa/alsa-driver-1.0.12rc2
    checking cross compile...
    checking for directory with kernel source... /lib/modules/2.6.16.13-4-default/source
    checking for directory with kernel build... /lib/modules/2.6.16.13-4-default/build
    checking for kernel linux/version.h... no
    The file /lib/modules/2.6.16.13-4-default/source/include/linux/version.h does not exist.
    Please install the package with full kernel sources for your distribution
    or use --with-kernel=dir option to specify another directory with kernel
    sources (default is /lib/modules/2.6.16.13-4-default/source).
    make all-deps
    make[1]: Entering directory `/usr/src/alsa/alsa-driver-1.0.12rc2'
    make[1]: Nothing to be done for `all-deps'.
    make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.12rc2'
    
    Please, run the configure script as first...
    
    rm -f /snd*.*o /persist.o /isapnp.o
    make[1]: Entering directory `/usr/src/alsa/alsa-driver-1.0.12rc2/acore'
    Makefile:6: /usr/src/alsa/alsa-driver-1.0.12rc2/Makefile.conf: No such file or directory
    /usr/src/alsa/alsa-driver-1.0.12rc2/Rules.make:75: /Rules.make1: No such file or directory
    make[1]: *** No rule to make target `/Rules.make1'.  Stop.
    make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.12rc2/acore'
    make: *** [install-modules] Error 1
    gatesmachine:/usr/src/alsa/alsa-driver-1.0.12rc2 #

  4. $spacer_open
    $spacer_close
  5. #14
    Linux Guru Vergil83's Avatar
    Join Date
    Mar 2004
    Posts
    2,407
    you might have to use the --with-kernel=dir I would take a look in /lib/modules/ and see if you can find the real location
    Brilliant Mediocrity - Making Failure Look Good

  6. #15
    Just Joined!
    Join Date
    Jun 2006
    Location
    Steiermark - Österreich
    Posts
    12
    ok, i went to
    /lib/modules/2.6.16.13-4-default

    there is a shortcut called "source",
    it links to the following folder:
    /usr/src/linux-2.6.16.13-4/

    BUT:
    in /usr/src/
    are only these folders:

    file:///usr/src/alsa
    file:///usr/src/linux
    file:///usr/src/linux-2.6.16.13-4-obj
    file:///usr/src/linux-2.6.16.21-0.13
    file:///usr/src/linux-2.6.16.21-0.13-obj
    file:///usr/src/linux-obj
    file:///usr/src/packages

    so do I have to take /usr/src/linux-2.6.16.13-4-obj ?
    What would be this command?

    --with-kernel=/usr/src/linux-2.6.16.13-4-obj this?

    The folders and files in usr/src/linux-2.6.16.13-4-obj are:

    file:///usr/src/linux-2.6.16.13-4-obj/i386
    .................................................. ..........................|-default
    .................................................. ................................file: /default/Module.symvers
    file:///usr/src/linux-2.6.16.13-4-obj/i586
    .................................................. ..........................|-default
    .................................................. ................................file: /default/Module.symvers

  7. #16
    Just Joined!
    Join Date
    Dec 2006
    Posts
    2

    Smile Worked with FC but not SUSE

    I am a very new kid around the block in Linux. However, I had the same problem with SUSE 10.2, where it identified the sound card as Intel, and the PC (HP DC7600 minitower) didn't emit any sound. I switched to FC 6, and it recognized the card out of the box and working perfectly.

  8. #17
    Just Joined!
    Join Date
    Jun 2006
    Location
    Steiermark - Österreich
    Posts
    12
    well....
    i'm using windows vista right now....
    faster...beautiful...(yeeeaaaah i know thats in the wrong forum, you'll kill me )..
    and no difficult codes... sorry...

Page 2 of 2 FirstFirst 1 2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •