Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to install the ALSA sound drivers (0.5.1 version) and I'm getting the dreaded "syntax error - missing version.h" error.
I've searched the forum and read some other posts. The thing is, I have a valid 2.4.7-10 kernel source, as I have already recompiled my kernel previously.
I tried, as suggested in another post, the "ldconfig" and "depmod -a" commands just to make sure my kernel is cool. These had no effect - I'm still getting the missing version.h error.
Any ideas or suggestions on what direction I should head? Thanks!
I'm getting problems with the ol' missing version.h - if you have the kernel source only (like from a linuxformat free CD), how can you install the headers? I assume they can't be generated like version.h
This is the trouble:
I'm trying to compile the ALSA sound module for a newly upgraded kernel and I've got the following problem (commented):
[root@localhost /]# cd /usr/src/redhat/SOURCES/alsa-driver-0.5.12a
# This is the directory from where you compile the module.
[root@localhost alsa-driver-0.5.12a]# ./configure
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ranlib... (cached) ranlib
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for linux/fs.h... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether gcc needs -traditional... (cached) no
checking for directory with kernel source... /usr/src/linux
checking for kernel version... expr: syntax error
expr: syntax error
expr: syntax error
failed (probably missing /usr/src/linux/include/linux/version.h)
[root@localhost alsa-driver-0.5.12a]
well check the config.log or whichever log file it's using to find what the error actually was. might also help flicking through the configure script itself too. i'd gues that it's not actually looking in that directory. the Probably... message is most likely hard coded.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.