LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-19-2008, 03:01 PM   #1
darthaxul
Member
 
Registered: Aug 2008
Distribution: Gentoo; Debian; FreeBSD
Posts: 223

Rep: Reputation: 18
soundcard header


I need to compile sound in application. It was working before now I installed new libs or something new and sound is gone now. here is config part. Is this mean the headers are not compatible?
...
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking soundcard.h usability... no
checking soundcard.h presence... no
checking for soundcard.h... no
...
here is config.log part
...
configure:10601: checking sys/soundcard.h usability
configure:10618: gcc -c -g -O2 -Wall -DFD_DATADIR='"$(pkgdatadir)"' -ffast-math -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT conftest.c >&5
configure:10624: $? = 0
configure:10638: result: yes
configure:10642: checking sys/soundcard.h presence
configure:10657: gcc -E conftest.c
configure:10663: $? = 0
configure:10677: result: yes
configure:10705: checking for sys/soundcard.h
configure:10713: result: yes
configure:10601: checking soundcard.h usability
configure:10618: gcc -c -g -O2 -Wall -DFD_DATADIR='"$(pkgdatadir)"' -ffast-math -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT conftest.c >&5
conftest.c:75:23: error: soundcard.h: No such file or directory
configure:10624: $? = 1
configure: failed program was:
| /* confdefs.h. */
...
 
Old 10-19-2008, 03:05 PM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Do you have the kernel headers installed?
 
Old 10-19-2008, 03:05 PM   #3
darthaxul
Member
 
Registered: Aug 2008
Distribution: Gentoo; Debian; FreeBSD
Posts: 223

Original Poster
Rep: Reputation: 18
cd /usr/include/SDL/
ln -s /usr/include/linux/soundcard.h

then I get this(still doesnt work)
...
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking soundcard.h usability... yes
checking soundcard.h presence... no
configure: WARNING: soundcard.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: soundcard.h: proceeding with the compiler's result
checking for soundcard.h... yes
...
 
Old 10-19-2008, 03:08 PM   #4
darthaxul
Member
 
Registered: Aug 2008
Distribution: Gentoo; Debian; FreeBSD
Posts: 223

Original Poster
Rep: Reputation: 18
yeah headers are fine in fact I reinstalled headers package and still no go.
 
Old 10-20-2008, 05:03 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,391

Rep: Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604
Your application is asking for "soundcard.h" in a non standard
(AFAIK) location = /usr/include .

/usr/include/linux/soundcard.h is from kernel headers.
/usr/include/sys/soundcard.h is from glibc-devel .

Suggest : Edit the application to look in the proper location.
And by the way : which application ??

Regards
 
Old 10-20-2008, 03:34 PM   #6
darthaxul
Member
 
Registered: Aug 2008
Distribution: Gentoo; Debian; FreeBSD
Posts: 223

Original Poster
Rep: Reputation: 18
No, thats impossible because I didnt change any source code of that application; it had to be something else.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Soundcard Driver for ALi M5451 Soundcard (Trident Module) xianzai Linux - Hardware 3 12-15-2006 12:00 PM
Soundcard doesn't work until I run system-config-soundcard The_Nerd Linux - Software 2 02-11-2006 09:53 AM
Getting CD audio through PCI soundcard NOT motherboard soundcard HalfDiminished Debian 0 01-11-2005 06:59 AM
c header files in linux in place of header files in windows? harun_acs Programming 1 03-17-2004 02:24 AM
Missing header files installing soundcard on Knoppix 3.3 bureado Linux - Hardware 0 11-23-2003 08:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration