<?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: error compiling berley db in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/error-compiling-berley-db/m-p/2843760#M936684</link>
    <description>Hi Mauro,&lt;BR /&gt;&lt;BR /&gt;You can see in the error message that the compiler used by make is the "bundled cc". This compiler isn't a developer compiler. It's just included in core os to build kernel and other based application.&lt;BR /&gt;You does install gcc or HP ansic compiler.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jerome</description>
    <pubDate>Wed, 13 Nov 2002 10:14:10 GMT</pubDate>
    <dc:creator>Jerome Baron</dc:creator>
    <dc:date>2002-11-13T10:14:10Z</dc:date>
    <item>
      <title>error compiling berley db</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-compiling-berley-db/m-p/2843759#M936683</link>
      <description>I'm tring to compile berkley db on hp-ux 11.11&lt;BR /&gt;&lt;BR /&gt;I pass configuring phase without error but during "make" operation i get this error:&lt;BR /&gt;(Bundled) cc: warning 480: The -O option is available only with the C/ANSI C product; ignored.&lt;BR /&gt;(Bundled) cc: warning 480: The +Z option is available only with the C/ANSI C product; ignored.&lt;BR /&gt;(Bundled) cc: "../dist/../crypto/rijndael/rijndael-alg-fst.c", line 48: error 1701: Unsigned suffix is an  ANSI feature.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I think this is caused by cc that not support ANSI features. So i try to use gcc modifing makefile into CC line definition.&lt;BR /&gt;Using gcc however i get this error:&lt;BR /&gt;&lt;BR /&gt;usr/bin/sh ./libtool --mode=compile gcc -c -I. -I../dist/.. -I../dist/../dbinc  -D_REENTRANT -O ../dist/../mutex/mut_pthread.c&lt;BR /&gt;mkdir .libs&lt;BR /&gt;gcc -c -I. -I../dist/.. -I../dist/../dbinc -D_REENTRANT -O ../dist/../mutex/mut_pthread.c  +Z -DPIC&lt;BR /&gt;gcc: +Z: No such file or directory&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Stop.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Could You help me?&lt;BR /&gt;&lt;BR /&gt;Tanhk You&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Mauro</description>
      <pubDate>Wed, 13 Nov 2002 10:09:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-compiling-berley-db/m-p/2843759#M936683</guid>
      <dc:creator>Mauro Gatti</dc:creator>
      <dc:date>2002-11-13T10:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: error compiling berley db</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-compiling-berley-db/m-p/2843760#M936684</link>
      <description>Hi Mauro,&lt;BR /&gt;&lt;BR /&gt;You can see in the error message that the compiler used by make is the "bundled cc". This compiler isn't a developer compiler. It's just included in core os to build kernel and other based application.&lt;BR /&gt;You does install gcc or HP ansic compiler.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jerome</description>
      <pubDate>Wed, 13 Nov 2002 10:14:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-compiling-berley-db/m-p/2843760#M936684</guid>
      <dc:creator>Jerome Baron</dc:creator>
      <dc:date>2002-11-13T10:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: error compiling berley db</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-compiling-berley-db/m-p/2843761#M936685</link>
      <description>Hi Mauro,&lt;BR /&gt;It works with gcc, &lt;BR /&gt;but +Z is not gcc compliant,&lt;BR /&gt;to make it works, replace +Z by -fPIC.&lt;BR /&gt;-fPIC is for position independant code of the program...&lt;BR /&gt;hth&lt;BR /&gt;Benoit</description>
      <pubDate>Wed, 13 Nov 2002 16:28:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-compiling-berley-db/m-p/2843761#M936685</guid>
      <dc:creator>benoit Bruckert</dc:creator>
      <dc:date>2002-11-13T16:28:10Z</dc:date>
    </item>
  </channel>
</rss>

