Connecting Tech Pros Worldwide Help | Site Map

cannot run c compiled programs

  #1  
Old November 27th, 2006, 01:52 PM
Newbie
 
Join Date: Nov 2006
Posts: 3
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
  #2  
Old November 27th, 2006, 01:57 PM
sashi's Avatar
Expert
 
Join Date: Jun 2006
Location: Seremban, Malaysia
Posts: 1,630

re: cannot run c compiled programs


Quote:
Originally Posted by kumarangopi
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
setup write compile and run GMP progs in cygwin dot answers 0 December 12th, 2007 10:05 PM
Collecting different execution statistics of C++ programs romixnews@googlemail.com answers 17 April 13th, 2006 08:55 AM
I cannot compile embedded SQL in C++ programs with RHEL 3 ES. Jean-David Beyer answers 10 November 12th, 2005 07:22 AM
Win32: Running python programs from a Cygwin shell Jorgen Grahn answers 2 July 18th, 2005 09:29 AM