Compile error

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
JohnH
Level 4
Level 4
Posts: 215
Joined: Wed Nov 22, 2006 4:15 am
Location: Caboolture, Oz

Compile error

Post by JohnH »

Hi folks,

I have been trying to install the latest rc alsa driver on my HP laptop. I 've this kind of thing before without problems but this driver will not allow me to install. Terminal gives this message:

Code: Select all

john@john-laptop:~/alsa-driver-1.0.14rc4$ ./configure --with-debug=detect --with-cards=hda-intel
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
I have checked the config.log and it means nothing to my untrained eye. This is the suspect part of the log:

Code: Select all

gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
configure:2314: $? = 0
configure:2321: gcc -V >&5
gcc: '-V' option must have argument
configure:2324: $? = 1
configure:2347: checking for C compiler default output file name
configure:2374: gcc    conftest.c  >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2377: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| 
Can someone help me to fix this please,

thanks, John
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
JohnH
Level 4
Level 4
Posts: 215
Joined: Wed Nov 22, 2006 4:15 am
Location: Caboolture, Oz

Post by JohnH »

Just reporting that I have fixed this. It appears that my problem was a permission issue between directories.

I tried the whole compile process in root terminal and it worked. I had previously tried sudo ./compile before but without success. Using root terminal however did the the job.

Cheers
John
Locked

Return to “Other topics”