Choose style:

Author Topic: Sound card installation driver stumbling block  (Read 1579 times)

0 Members and 1 Guest are viewing this topic.

Offline oceania68

  • nOOb
  • *
  • Posts: 7
  • Karma: 0
  • meow, says Mr Pussinz.... meow..
    • View Profile
  • Peppermint version(s): Peppermint 5
Sound card installation driver stumbling block
« on: May 05, 2014, 11:34:47 am »
Hi, and congrats on new forum look....

I have an issue regarding the configuration of the linux drivers for my sound card.... I have followed the instructions for the installation of the alsa-lib-1.0.11 and that went fine after i installed gcc and g++ as it asked...

The second installation of the alsa-driver-1.0.11 starts of ok but the requires the kernel source... and this is where i am having my issue... I looks for *.h in the usr/src/linux (which of course, there isn't any) to which (At this time I had installed kernel source but whether i did the right thing or not is debatable) though the installation does not install to where the alsa-driver configuration is looking, so at this stage, it is blowing my mind for something that should be so simple yet so tedious...

This is where I get to...

pussinz@pussinz-desktop ~/alsa-driver-1.0.11 $ ./configure --with-cards=cmi8788
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... /home/pussinz/alsa-driver-1.0.11
checking cross compile...
checking for directory with kernel source... /usr/src/linux
checking for directory with kernel build...
checking for kernel linux/version.h... no
The file /usr/src/linux/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 /usr/src/linux).

So now I am stumped, and require some assistance with this issue... better still, an outright easy solution would be much better :D

In regards to the kernel source I have "linux-source-3.8.0" is just sitting here looking good for no reason... and I am reluctant to build it upon this platform knowing it will not play nice... So any thoughts?

Cheer in advanced...
Freedom to be who you are is more freedom than who you are not.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26466
  • Karma: 2884
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Sound card installation driver stumbling block
« Reply #1 on: May 05, 2014, 05:34:40 pm »
Do a full system update:
Code: [Select]
sudo apt-get update
Code: [Select]
sudo apt-get upgrade
Code: [Select]
sudo apt-get dist-upgrade
Now just in case you got a kernel update .. REBOOT

Once rebooted, run:
Code: [Select]
sudo apt-get install build-essential linux-headers-generic
Now try compiling again
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint