Compile error

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read how to get help
User avatar
JohnH
Level 4
Level 4
Posts: 215
Joined: Wed Nov 22, 2006 4:15 am
Location: Caboolture, Oz

Compile error

Postby JohnH » Sat May 12, 2007 12:20 am

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

User avatar
JohnH
Level 4
Level 4
Posts: 215
Joined: Wed Nov 22, 2006 4:15 am
Location: Caboolture, Oz

Postby JohnH » Sat May 12, 2007 3:31 am

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


Return to “Other topics”

Who is online

Users browsing this forum: No registered users and 1 guest