Sign In | Register Now About Bytes | Help | Site Map
Connecting Tech Pros Worldwide

cannot run c compiled programs

Question posted by: kumarangopi (Newbie) on November 27th, 2006 12:52 PM
iam in the way of making graphics using SDL.i copied from cd usign
mount -a /cdrom
cd /cdrom
cp SDL-1.2.11.tar.gz /usr/test
cd /usr/test
gunzip SDL-1.2.11.tar.gz
tar -xf SDL-1.2.11.tar
cd SDL-1.2.11
./configure
...
...
it stops at
checking whether the c compiler works...configure:error:cannnot run c compiled programs
if you meant to cross com[pile,use --host
see config.log

what to do now?it was working perfectly ..suddenly i dont what happen,please help me
sashi's Avatar
sashi
Expert
1,618 Posts
November 27th, 2006
12:57 PM
#2

Re: cannot run c compiled programs
Quote:
iam in the way of making graphics using SDL.i copied from cd usign
mount -a /cdrom
cd /cdrom
cp SDL-1.2.11.tar.gz /usr/test
cd /usr/test
gunzip SDL-1.2.11.tar.gz
tar -xf SDL-1.2.11.tar
cd SDL-1.2.11
./configure
...
...
it stops at
checking whether the c compiler works...configure:error:cannnot run c compiled programs
if you meant to cross com[pile,use --host
see config.log

what to do now?it was working perfectly ..suddenly i dont what happen,please help me


Hi there,

Was gcc upgraded recently? What version of Linux are you using currently? Good Luck & Take care.

Reply
Reply
Not the answer you were looking for? Post your question . . .
189,088 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Latest Articles: Read & Comment
Top Linux / Unix / BSD Forum Contributors