alecwh
October 6th, 2007, 06:01 PM
I'm trying to get my sound working on ALSA, so I found a guide here: https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/131133/comments/61 . After I cd to the directory, and type ./configure --with-cards=hda-intel, I get this: checking for C compiler default output file name... configure: error: C compiler cannot create executables. Can someone help?
wgrant
October 7th, 2007, 06:09 AM
Try installing the `build-essential' package.
amternes
October 9th, 2007, 07:13 AM
Hi,
I had the same problem when installing additional modules for R. I also installed the "build-essentials" but that didn't help. By running the "configure" manually, I found out the script was trying to run "gcc-4.2". So, I made a link in /usr/bin/ from "gcc-4.2". to "gcc", and from then on, no more problems.
Funny though, my "gcc-4.2" links to "gcc" (ok, that was me) which seems to link to "gcc-4.1" (that was ubuntu).
Anyway, my compilations now run without errors. Hope this helps.
am
vBulletin® v3.8.0 Release Candidate 2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.