<?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: gcc failed on compiling ddd in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-failed-on-compiling-ddd/m-p/2871741#M719583</link>
    <description>You need a flex package... it will provide libfl.sl etc.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards, Z</description>
    <pubDate>Wed, 05 Feb 2003 11:08:53 GMT</pubDate>
    <dc:creator>Zoltan Arpadffy</dc:creator>
    <dc:date>2003-02-05T11:08:53Z</dc:date>
    <item>
      <title>gcc failed on compiling ddd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-failed-on-compiling-ddd/m-p/2871734#M719576</link>
      <description>OS Version 11i (64 bit)&lt;BR /&gt;&lt;BR /&gt;I installed gcc from gcc-3.2-sd-11.00.depot and can use this gcc to compile a simple C program. However, when I try to compile a large program like ddd, I get the following errors:&lt;BR /&gt;/usr/lib/dld.sl: Can't find path for shared library: libfl.sl&lt;BR /&gt;/usr/lib/dld.sl: No such file or directory&lt;BR /&gt;make[1]: *** [libreadline.a] IOT trap (core dumped)&lt;BR /&gt;make[1]: Leaving directory `/export/home/pli/ddd-3.3.1/readline'&lt;BR /&gt;make: *** [all-recursive] Error 1&lt;BR /&gt;&lt;BR /&gt;I also tried to install gcc from this package: gcc-3.2-11.00.64.depot, and also failed (not the same error). &lt;BR /&gt;&lt;BR /&gt;My questions are:&lt;BR /&gt;1. What's the difference between those two gcc compilers? Is one 32-bits and another 64-bits? For a 64 bits machine, which one is the right one I should use?&lt;BR /&gt;2. Any ideas why the compilation failed?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Mon, 30 Dec 2002 16:48:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gcc-failed-on-compiling-ddd/m-p/2871734#M719576</guid>
      <dc:creator>Peter Li_6</dc:creator>
      <dc:date>2002-12-30T16:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: gcc failed on compiling ddd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-failed-on-compiling-ddd/m-p/2871735#M719577</link>
      <description>this may help...&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xba27543254bfd611abdb0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xba27543254bfd611abdb0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;go down to the bottom of the dialogue where they are apecifically talking about libfl.</description>
      <pubDate>Mon, 30 Dec 2002 17:07:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gcc-failed-on-compiling-ddd/m-p/2871735#M719577</guid>
      <dc:creator>Anthony deRito</dc:creator>
      <dc:date>2002-12-30T17:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: gcc failed on compiling ddd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-failed-on-compiling-ddd/m-p/2871736#M719578</link>
      <description>To avoid problems, always use the 32bit version of gcc, unless you *need* 64bit object (e.g. when linking to 64bit Oracle)&lt;BR /&gt;&lt;BR /&gt;That the OS is 64bit, only indicates it's ability to run 64bit objects.&lt;BR /&gt;&lt;BR /&gt;And - yes - gcc is /not/ able to switch between 32bit objects and 64bit objects. There are two different compilers to generate it.&lt;BR /&gt;&lt;BR /&gt;This might also explain your first problem. gcc - in fact ld, but you don't see - is not able to find libfl.sl. *You* might be able to find it in /usr/lib, or /usr/local/lib, but if you are building 64bit objects, ld will not look there, but search /usr/lib/pa20_64 instead, where the chance of finding that specific library is much smaller.</description>
      <pubDate>Mon, 30 Dec 2002 17:08:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gcc-failed-on-compiling-ddd/m-p/2871736#M719578</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2002-12-30T17:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: gcc failed on compiling ddd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-failed-on-compiling-ddd/m-p/2871737#M719579</link>
      <description>I installed flex-2.5.4a to this system. Now it passed previous failure point and failed on syntax errors:&lt;BR /&gt;&lt;BR /&gt;In file included from hostname.C:75,            from userinfo.C:54:&lt;BR /&gt;/usr/include/sys/socket.h:439: syntax error before `(' token&lt;BR /&gt;/usr/include/sys/socket.h:441: syntax error before `(' token&lt;BR /&gt;make[1]: *** [userinfo.o] Error 1&lt;BR /&gt;make[1]: Leaving directory `/export/home/pli/ddd-3.3.1/ddd'&lt;BR /&gt;make: *** [all-recursive] Error 1&lt;BR /&gt;&lt;BR /&gt;Any ideas? Thanks.</description>
      <pubDate>Mon, 30 Dec 2002 19:16:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gcc-failed-on-compiling-ddd/m-p/2871737#M719579</guid>
      <dc:creator>Peter Li_6</dc:creator>
      <dc:date>2002-12-30T19:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: gcc failed on compiling ddd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-failed-on-compiling-ddd/m-p/2871738#M719580</link>
      <description>The syntax error is reproduceable by a simple program hello.cc:&lt;BR /&gt;&lt;BR /&gt;#include "sys/socket.h"&lt;BR /&gt;#include &lt;IOSTREAM&gt;&lt;BR /&gt;&lt;BR /&gt;int main (int argc,char *argv[])&lt;BR /&gt;{&lt;BR /&gt;printf( "Hello \n");&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;$ gcc hello.cc&lt;BR /&gt;In file included from hello.cc:1:&lt;BR /&gt;/usr/include/sys/socket.h:439: syntax error before `(' token&lt;BR /&gt;/usr/include/sys/socket.h:441: syntax error before `(' token&lt;BR /&gt;&lt;BR /&gt;Any body can provide any help??? Thanks!&lt;/IOSTREAM&gt;</description>
      <pubDate>Thu, 02 Jan 2003 14:52:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gcc-failed-on-compiling-ddd/m-p/2871738#M719580</guid>
      <dc:creator>Peter Li_6</dc:creator>
      <dc:date>2003-01-02T14:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: gcc failed on compiling ddd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-failed-on-compiling-ddd/m-p/2871739#M719581</link>
      <description>What if you replace&lt;BR /&gt;&lt;BR /&gt;#include "sys/socket.h"&lt;BR /&gt;&lt;BR /&gt;with&lt;BR /&gt;&lt;BR /&gt;#include &lt;SYS&gt;&lt;BR /&gt;&lt;BR /&gt;c++ is rather picky&lt;/SYS&gt;</description>
      <pubDate>Thu, 02 Jan 2003 15:04:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gcc-failed-on-compiling-ddd/m-p/2871739#M719581</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2003-01-02T15:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: gcc failed on compiling ddd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-failed-on-compiling-ddd/m-p/2871740#M719582</link>
      <description />
      <pubDate>Thu, 02 Jan 2003 19:05:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gcc-failed-on-compiling-ddd/m-p/2871740#M719582</guid>
      <dc:creator>Peter Li_6</dc:creator>
      <dc:date>2003-01-02T19:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: gcc failed on compiling ddd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-failed-on-compiling-ddd/m-p/2871741#M719583</link>
      <description>You need a flex package... it will provide libfl.sl etc.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards, Z</description>
      <pubDate>Wed, 05 Feb 2003 11:08:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gcc-failed-on-compiling-ddd/m-p/2871741#M719583</guid>
      <dc:creator>Zoltan Arpadffy</dc:creator>
      <dc:date>2003-02-05T11:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: gcc failed on compiling ddd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-failed-on-compiling-ddd/m-p/2871742#M719584</link>
      <description>Hi!&lt;BR /&gt;This message:"cannot find ... libfl.sl" means,&lt;BR /&gt;this library could not be found in any of search paths, given to dyn.loader.&lt;BR /&gt;so you can:&lt;BR /&gt;1.#find / -name libfl.sl &lt;BR /&gt;..&lt;BR /&gt;/Somedir/libfl.sl&lt;BR /&gt;&lt;BR /&gt;Then: SHLIB_PATH=/Somedir&lt;BR /&gt;Then try compilation again.&lt;BR /&gt;&lt;BR /&gt;2.Another possibility:&lt;BR /&gt;Look at install scripts and&lt;BR /&gt;add compilation option: #gcc -lfl &lt;BR /&gt; &lt;BR /&gt;If you cannot find libfl.sl with "find" -&lt;BR /&gt;look for missed related products.&lt;BR /&gt;Regards,Stan.</description>
      <pubDate>Wed, 05 Feb 2003 11:48:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gcc-failed-on-compiling-ddd/m-p/2871742#M719584</guid>
      <dc:creator>Stanimir</dc:creator>
      <dc:date>2003-02-05T11:48:41Z</dc:date>
    </item>
  </channel>
</rss>

