<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: C compiler cannot create executables in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/c-compiler-cannot-create-executables/m-p/3313733#M12822</link>
    <description>Browne&lt;BR /&gt;&lt;BR /&gt;I suspect the problem with gcc installation.&lt;BR /&gt;To your queries, everything is okay except the last c programm execution.&lt;BR /&gt;&lt;BR /&gt;When I execute, first got the error msg &lt;BR /&gt;gcc: installation problem, cannot exec `cpp': No such file or directory&lt;BR /&gt;I installed cpp.&lt;BR /&gt;&lt;BR /&gt;When execute again got the error msg &lt;BR /&gt;gcc: installation problem, cannot exec `as': No such file or directory.&lt;BR /&gt;&lt;BR /&gt;I installed the following rpms&lt;BR /&gt;asp2php-0.75.17-1     &lt;BR /&gt;ash-0.3.7-2           &lt;BR /&gt;asp2php-gtk-0.75.17-1 &lt;BR /&gt;aspell-0.33.7-1       &lt;BR /&gt;&lt;BR /&gt;But still with 'which as' I am not getting&lt;BR /&gt;/usr/bin/as&lt;BR /&gt;&lt;BR /&gt;kernel-headers-2.4.9-e.3 is in the rpm list&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Sajeesh&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 24 Jun 2004 05:15:04 GMT</pubDate>
    <dc:creator>Sajeesh O.K</dc:creator>
    <dc:date>2004-06-24T05:15:04Z</dc:date>
    <item>
      <title>C compiler cannot create executables</title>
      <link>https://community.hpe.com/t5/operating-system-linux/c-compiler-cannot-create-executables/m-p/3313727#M12816</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;I am trying to install the Apahce&lt;BR /&gt;with the configure command. I am getting the error like below.&lt;BR /&gt;"checking for C compiler default output file name... configure: error: C compiler cannot create executables. see config.log "&lt;BR /&gt;       &lt;BR /&gt;Please help. Also find the attached file.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Sajeesh</description>
      <pubDate>Wed, 23 Jun 2004 21:18:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/c-compiler-cannot-create-executables/m-p/3313727#M12816</guid>
      <dc:creator>Sajeesh O.K</dc:creator>
      <dc:date>2004-06-23T21:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: C compiler cannot create executables</title>
      <link>https://community.hpe.com/t5/operating-system-linux/c-compiler-cannot-create-executables/m-p/3313728#M12817</link>
      <description>What did 'config.log' say?</description>
      <pubDate>Wed, 23 Jun 2004 21:34:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/c-compiler-cannot-create-executables/m-p/3313728#M12817</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2004-06-23T21:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: C compiler cannot create executables</title>
      <link>https://community.hpe.com/t5/operating-system-linux/c-compiler-cannot-create-executables/m-p/3313729#M12818</link>
      <description>Browne&lt;BR /&gt;&lt;BR /&gt;configure: exit 1  &lt;BR /&gt;I have attached the same.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Sajeesh&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Jun 2004 22:12:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/c-compiler-cannot-create-executables/m-p/3313729#M12818</guid>
      <dc:creator>Sajeesh O.K</dc:creator>
      <dc:date>2004-06-23T22:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: C compiler cannot create executables</title>
      <link>https://community.hpe.com/t5/operating-system-linux/c-compiler-cannot-create-executables/m-p/3313730#M12819</link>
      <description>Umm, you wanna attach the log file please? :)</description>
      <pubDate>Wed, 23 Jun 2004 23:52:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/c-compiler-cannot-create-executables/m-p/3313730#M12819</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2004-06-23T23:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: C compiler cannot create executables</title>
      <link>https://community.hpe.com/t5/operating-system-linux/c-compiler-cannot-create-executables/m-p/3313731#M12820</link>
      <description>Oh. Sorry. Please find the config.log</description>
      <pubDate>Thu, 24 Jun 2004 00:23:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/c-compiler-cannot-create-executables/m-p/3313731#M12820</guid>
      <dc:creator>Sajeesh O.K</dc:creator>
      <dc:date>2004-06-24T00:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: C compiler cannot create executables</title>
      <link>https://community.hpe.com/t5/operating-system-linux/c-compiler-cannot-create-executables/m-p/3313732#M12821</link>
      <description>Hrm, ok.. So you're using RH AS2.1 with e.30 SMP kernel.&lt;BR /&gt;&lt;BR /&gt;It doesn't give any real errors unfortunately.&lt;BR /&gt;&lt;BR /&gt;So lets start with some basic questions and tests.&lt;BR /&gt;&lt;BR /&gt;How did you gain 'root' access?  Brief guess based on prompt was (at least) a 'su -'.  This is good.&lt;BR /&gt;&lt;BR /&gt;What directory are you doing the configure in, and what's the output of 'ls -ld .' from that directory?&lt;BR /&gt;&lt;BR /&gt;Next thing is a quick check of gcc.  Start with the output of 'ls -ld $(which gcc)' in a bourne shell, and possibly the output of 'rpm -q gcc'&lt;BR /&gt;&lt;BR /&gt;Next is verifying you've got include files to play with, namely 'rpm -q kernel-headers' and 'ls -l /usr/include'.&lt;BR /&gt;&lt;BR /&gt;If all of these are good, then try to compile something simple:&lt;BR /&gt;&lt;BR /&gt;------------- junk.c ----------------&lt;BR /&gt;#include &lt;STDIO.H&gt;&lt;BR /&gt;&lt;BR /&gt;int main(int *argc, char *argv[]){&lt;BR /&gt;  printf( "Welcome.  This is your world!\n");&lt;BR /&gt;}&lt;BR /&gt;------------- junk.c ----------------&lt;BR /&gt;&lt;BR /&gt;then type the following 3 commands:&lt;BR /&gt;&lt;BR /&gt;gcc junk.c -o junk&lt;BR /&gt;ls -l junk&lt;BR /&gt;./junk&lt;BR /&gt;&lt;BR /&gt;These commands should create the bare-bones C source for a simple 'Hello World' application, list it, then execute it.&lt;BR /&gt;&lt;BR /&gt;Lets see if we get this far first ;) If you've got a development system installed, you should get through all of the listed commands without any errors..&lt;BR /&gt;&lt;BR /&gt;Post back with results!&lt;/STDIO.H&gt;</description>
      <pubDate>Thu, 24 Jun 2004 02:26:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/c-compiler-cannot-create-executables/m-p/3313732#M12821</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2004-06-24T02:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: C compiler cannot create executables</title>
      <link>https://community.hpe.com/t5/operating-system-linux/c-compiler-cannot-create-executables/m-p/3313733#M12822</link>
      <description>Browne&lt;BR /&gt;&lt;BR /&gt;I suspect the problem with gcc installation.&lt;BR /&gt;To your queries, everything is okay except the last c programm execution.&lt;BR /&gt;&lt;BR /&gt;When I execute, first got the error msg &lt;BR /&gt;gcc: installation problem, cannot exec `cpp': No such file or directory&lt;BR /&gt;I installed cpp.&lt;BR /&gt;&lt;BR /&gt;When execute again got the error msg &lt;BR /&gt;gcc: installation problem, cannot exec `as': No such file or directory.&lt;BR /&gt;&lt;BR /&gt;I installed the following rpms&lt;BR /&gt;asp2php-0.75.17-1     &lt;BR /&gt;ash-0.3.7-2           &lt;BR /&gt;asp2php-gtk-0.75.17-1 &lt;BR /&gt;aspell-0.33.7-1       &lt;BR /&gt;&lt;BR /&gt;But still with 'which as' I am not getting&lt;BR /&gt;/usr/bin/as&lt;BR /&gt;&lt;BR /&gt;kernel-headers-2.4.9-e.3 is in the rpm list&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Sajeesh&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Jun 2004 05:15:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/c-compiler-cannot-create-executables/m-p/3313733#M12822</guid>
      <dc:creator>Sajeesh O.K</dc:creator>
      <dc:date>2004-06-24T05:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: C compiler cannot create executables</title>
      <link>https://community.hpe.com/t5/operating-system-linux/c-compiler-cannot-create-executables/m-p/3313734#M12823</link>
      <description>Ok.  It means that most of the development environment is not present.&lt;BR /&gt;&lt;BR /&gt;'gcc' is only one of the many tools needed to compile things.&lt;BR /&gt;&lt;BR /&gt;It relies upon things such as 'ld' and 'as' and others to do various actions regarding linking in the different libraries.&lt;BR /&gt;&lt;BR /&gt;It sounds like you're missing the 'binutils' package.&lt;BR /&gt;&lt;BR /&gt;Install that, give it another shot, and we'll se where we get.</description>
      <pubDate>Thu, 24 Jun 2004 18:33:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/c-compiler-cannot-create-executables/m-p/3313734#M12823</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2004-06-24T18:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: C compiler cannot create executables</title>
      <link>https://community.hpe.com/t5/operating-system-linux/c-compiler-cannot-create-executables/m-p/3313735#M12824</link>
      <description>Browne&lt;BR /&gt;&lt;BR /&gt;binutils was missing and I installed the same. Solved the Problem !&lt;BR /&gt;&lt;BR /&gt;Many Thanks&lt;BR /&gt;Sajeesh&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Jun 2004 22:44:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/c-compiler-cannot-create-executables/m-p/3313735#M12824</guid>
      <dc:creator>Sajeesh O.K</dc:creator>
      <dc:date>2004-06-24T22:44:05Z</dc:date>
    </item>
  </channel>
</rss>

