<?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: aCC compile in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile/m-p/5025429#M762633</link>
    <description>&amp;gt;. cc -Aa -c +z a_test.c&lt;BR /&gt;ld -b -o test.sl a_test.o&lt;BR /&gt;&amp;gt;doesn't work! &lt;BR /&gt;&lt;BR /&gt;It wouldn't because the required +z is ignored.  If you added +DD64, it would work.&lt;BR /&gt;&lt;BR /&gt;$ dumpmsg /usr/lib/nls/msg/C/cc.cat | fgrep -e 1000 -e 1705&lt;BR /&gt;1000 %2$s, line %3$s: error %1$s: Unexpected symbol: "%4$s".&lt;BR /&gt;1705 %2$s, line %3$s: error %1$s: Function prototypes are an ANSI feature.&lt;BR /&gt;&lt;BR /&gt;So you'll need to purchase HP C, or aC++ or use gcc.</description>
    <pubDate>Thu, 01 Feb 2007 03:41:24 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2007-02-01T03:41:24Z</dc:date>
    <item>
      <title>aCC compile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile/m-p/5025415#M762619</link>
      <description>Hi guys,&lt;BR /&gt;i'm try to compile my red hat directory server plugin on hp-ux 11.11. but i always get the following error messages! what's wrong?&lt;BR /&gt;&lt;BR /&gt;./Makefile.martin: INCLUDE_FLAGS: command not found&lt;BR /&gt;./Makefile.martin: -D_HPUX_SOURCE: command not found&lt;BR /&gt;./Makefile.martin: EXTRA_LIBS: command not found&lt;BR /&gt;./Makefile.martin: LDFLAGS: command not found&lt;BR /&gt;./Makefile.martin: OBJS: command not found&lt;BR /&gt;./Makefile.martin: all:: command not found&lt;BR /&gt;./Makefile.martin: OBJS: command not found&lt;BR /&gt;./Makefile.martin: a_testplugin.sl:: command not found&lt;BR /&gt;./Makefile.martin: LD: command not found&lt;BR /&gt;./Makefile.martin: LDFLAGS: command not found&lt;BR /&gt;./Makefile.martin: OBJS: command not found&lt;BR /&gt;./Makefile.martin: -o: command not found&lt;BR /&gt;./Makefile.martin: .c.o:: command not found&lt;BR /&gt;./Makefile.martin: line 19: syntax error near unexpected token `$&amp;lt;'&lt;BR /&gt;./Makefile.martin: line 19: `   $(CC) $(CFLAGS) -c $&amp;lt;'&lt;BR /&gt;&lt;BR /&gt;help me please, thanks!!!&lt;BR /&gt;&lt;BR /&gt;Martin</description>
      <pubDate>Tue, 30 Jan 2007 06:57:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile/m-p/5025415#M762619</guid>
      <dc:creator>Martin V.</dc:creator>
      <dc:date>2007-01-30T06:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: aCC compile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile/m-p/5025416#M762620</link>
      <description>Martin,&lt;BR /&gt;Problem with setup/script.&lt;BR /&gt;&lt;BR /&gt;Please list the commands you use, I assume something like:&lt;BR /&gt;make a.c&lt;BR /&gt;&lt;BR /&gt;Please also list you makefile (Makefile.martin)</description>
      <pubDate>Tue, 30 Jan 2007 07:36:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile/m-p/5025416#M762620</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2007-01-30T07:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: aCC compile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile/m-p/5025417#M762621</link>
      <description>make -f Makefile.martin&lt;BR /&gt;        cc  -D_HPUX_SOURCE -Aa +z +DA2.0W -Ae -c a_testplugin.c&lt;BR /&gt;(Bundled) cc: -, line A: warning 480.&lt;BR /&gt;(Bundled) cc: +, line z: warning 480.&lt;BR /&gt;(Bundled) cc: -, line A: warning 480.&lt;BR /&gt;cpp: "a_testplugin.c", line 0: warning 2021:&lt;BR /&gt;&lt;BR /&gt;=====================================&lt;BR /&gt;Makefile:&lt;BR /&gt;&lt;BR /&gt;CFLAGS=$(INCLUDE_FLAGS) -D_HPUX_SOURCE -Aa +z +DA2.0W -Ae&lt;BR /&gt;LDFLAGS = +k -b +s $(EXTRA_LIBS)&lt;BR /&gt;&lt;BR /&gt;OBJS = a_testplugin.o&lt;BR /&gt; &lt;BR /&gt;all: a_testplugin.sl&lt;BR /&gt; &lt;BR /&gt;a_testplugin.sl: $(OBJS)&lt;BR /&gt;        $(LD) $(LDFLAGS) -o $@ $(OBJS)&lt;BR /&gt;&lt;BR /&gt;.c.o:&lt;BR /&gt;        $(CC) $(CFLAGS) -c $&amp;lt;&lt;BR /&gt;&lt;BR /&gt;clean:&lt;BR /&gt;        -rm -f $(OBJS) a_testplugin.sl&lt;BR /&gt;===========================================&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Tue, 30 Jan 2007 08:11:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile/m-p/5025417#M762621</guid>
      <dc:creator>Martin V.</dc:creator>
      <dc:date>2007-01-30T08:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: aCC compile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile/m-p/5025418#M762622</link>
      <description>Are you trying to execute the makefile rather than use "make XXX"&lt;BR /&gt;&lt;BR /&gt;(I see nothing that indicates the aCC compiler is at fault.  And your other message said "my c plugin".)</description>
      <pubDate>Tue, 30 Jan 2007 08:19:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile/m-p/5025418#M762622</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-01-30T08:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: aCC compile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile/m-p/5025419#M762623</link>
      <description>hi,&lt;BR /&gt;generally i use aCC to compile the plugin or gmake but these commands are not found on the system. i'dont know why.&lt;BR /&gt;so i use make to compile ..&lt;BR /&gt;&lt;BR /&gt;thanks for your answer!&lt;BR /&gt;&lt;BR /&gt;Martin V.</description>
      <pubDate>Tue, 30 Jan 2007 08:25:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile/m-p/5025419#M762623</guid>
      <dc:creator>Martin V.</dc:creator>
      <dc:date>2007-01-30T08:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: aCC compile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile/m-p/5025420#M762624</link>
      <description>Ok, you using the bundled C compiler which isn't supported for developing applications.  Those -A? options and +z are ignored.&lt;BR /&gt;&lt;BR /&gt;I'm not sure why your message catalog is messed up.  You should be getting:&lt;BR /&gt;(Bundled) cc: warning 480: The -A 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;&lt;BR /&gt;You need to purchase the HP C compiler or download a gcc compiler.&lt;BR /&gt;&lt;BR /&gt;If you have the aC++ compiler, you can use -Ae to switch to C mode.  And you'll have to change your CC make macro to: CC=aCC -Ae</description>
      <pubDate>Tue, 30 Jan 2007 08:41:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile/m-p/5025420#M762624</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-01-30T08:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: aCC compile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile/m-p/5025421#M762625</link>
      <description>Martin,&lt;BR /&gt;can we assume you got your code from:&lt;BR /&gt;&lt;A href="http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=NSDirSvr7" target="_blank"&gt;http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=NSDirSvr7&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You incorrectly stated you were running aCC, which was part of the confusion. May I suggest you sort out your bundled cc first, as a failure there may comprimise you being able to build a new kernel.&lt;BR /&gt;&lt;BR /&gt;Then review your make file with a view to actually use aCC, if you have it installed.&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Jan 2007 10:05:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile/m-p/5025421#M762625</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2007-01-30T10:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: aCC compile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile/m-p/5025422#M762626</link>
      <description>ok, thats my mistake but genrally i use gmake -f to compile these files. at once it doesn't work. and thats my big problem today! the error message called "command not found" ...&lt;BR /&gt;&lt;BR /&gt;why?&lt;BR /&gt;&lt;BR /&gt;thx&lt;BR /&gt;&lt;BR /&gt;Martin V.</description>
      <pubDate>Tue, 30 Jan 2007 10:17:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile/m-p/5025422#M762626</guid>
      <dc:creator>Martin V.</dc:creator>
      <dc:date>2007-01-30T10:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: aCC compile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile/m-p/5025423#M762627</link>
      <description>Gmake has some extensions that make doesn't understand so that if some of those are in play, yoiu will need to use gmake.&lt;BR /&gt;&lt;BR /&gt;If not, then examine your makefile very carefully. Make is one of the few UNIX utilities where &lt;TABS&gt; are critically important and cannot be replaced by spaces.&lt;BR /&gt;&lt;BR /&gt;&lt;/TABS&gt;</description>
      <pubDate>Tue, 30 Jan 2007 10:37:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile/m-p/5025423#M762627</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-01-30T10:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: aCC compile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile/m-p/5025424#M762628</link>
      <description>Martin,&lt;BR /&gt;re-reading your initial description and then your make -f post I am a bit confused:&lt;BR /&gt;&lt;BR /&gt;make -f Makefile.martin&lt;BR /&gt;cc -D_HPUX_SOURCE -Aa +z +DA2.0W -Ae -c a_testplugin.c&lt;BR /&gt;(Bundled) cc: -, line A: warning 480.&lt;BR /&gt;(Bundled) cc: +, line z: warning 480.&lt;BR /&gt;(Bundled) cc: -, line A: warning 480.&lt;BR /&gt;cpp: "a_testplugin.c", line 0: warning 2021: &lt;BR /&gt;&lt;BR /&gt;But your initial description had completely different errors.&lt;BR /&gt;The "command not found" indicates that the instruction INCLUDE_FLAGS was not understood/translated.&lt;BR /&gt;&lt;BR /&gt;Are you sure you used the same command for both set of errors ? All the command not found errors are down to the Makefile.martin not being interpreted by the make command. &lt;BR /&gt;&lt;BR /&gt;The second time round they seem to be recognized and the make fails do to the cc comiler being used.&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Jan 2007 10:40:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile/m-p/5025424#M762628</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2007-01-30T10:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: aCC compile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile/m-p/5025425#M762629</link>
      <description>&amp;gt;Genrally i use gmake -f to compile these files. at once it doesn't work. and thats my big problem today! the error message called "command not found" ...&lt;BR /&gt;&lt;BR /&gt;Why aren't you using gmake -f or  make -f?&lt;BR /&gt;&lt;BR /&gt;As I stated above, you seem to be executing your makefile, as if it was a script.  (This will produce those "command not found" errors.) Make sure your Makefile.martin is NOT executable.&lt;BR /&gt;&lt;BR /&gt;If you need more help, tell us the exact command you are doing and the output.  A Peter says, you seem to have two distinct commands and outputs.</description>
      <pubDate>Tue, 30 Jan 2007 20:51:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile/m-p/5025425#M762629</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-01-30T20:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: aCC compile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile/m-p/5025426#M762630</link>
      <description>okay, step by step&lt;BR /&gt;&lt;BR /&gt;1. gmake -f Makefile.martin&lt;BR /&gt;&lt;BR /&gt; =&amp;gt; gmake: command not found&lt;BR /&gt;&lt;BR /&gt;That happen with gmake!!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2. root@audit1:examples &amp;gt; make -f Makefile.martin&lt;BR /&gt;        cc  -D_HPUX_SOURCE -Aa +z +DA2.0W -Ae -c a_testplugin.c&lt;BR /&gt;(Bundled) cc: -, line A: warning 480.&lt;BR /&gt;(Bundled) cc: +, line z: warning 480.&lt;BR /&gt;(Bundled) cc: -, line A: warning 480.&lt;BR /&gt;cpp: "a_testplugin.c", line 0: warning 2021:&lt;BR /&gt;&lt;BR /&gt;That happen with make!!&lt;BR /&gt;&lt;BR /&gt;thx&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Feb 2007 02:27:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile/m-p/5025426#M762630</guid>
      <dc:creator>Martin V.</dc:creator>
      <dc:date>2007-02-01T02:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: aCC compile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile/m-p/5025427#M762631</link>
      <description>also,&lt;BR /&gt;&lt;BR /&gt;3. cc -Aa -c +z a_test.c&lt;BR /&gt;   ld -b -o test.sl a_test.o&lt;BR /&gt;&lt;BR /&gt;doesn't work! &lt;BR /&gt;&lt;BR /&gt;root@audit1:examples &amp;gt; cc -Aa -c +z a_testplugin.c&lt;BR /&gt;(Bundled) cc: -, line A: warning 480.&lt;BR /&gt;(Bundled) cc: +, line z: warning 480.&lt;BR /&gt;cpp: "a_testplugin.c", line 0: warning 2021:&lt;BR /&gt;&lt;BR /&gt;(Bundled) cc: "/var/opt/netscape/server7/plugins/slapd/slapi/include/prtypes.h", line 271: warning 5.&lt;BR /&gt;(Bundled) cc: "/var/opt/netscape/server7/plugins/slapd/slapi/include/prtypes.h", line 271: error 1000.&lt;BR /&gt;(Bundled) cc: "/var/opt/netscape/server7/plugins/slapd/slapi/include/lber.h", line 124: error 1705.&lt;BR /&gt;(Bundled) cc: "/var/opt/netscape/server7/plugins/slapd/slapi/include/lber.h", line 181: error 1000.&lt;BR /&gt;...........&lt;BR /&gt;&lt;BR /&gt;thx for your help ....</description>
      <pubDate>Thu, 01 Feb 2007 03:10:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile/m-p/5025427#M762631</guid>
      <dc:creator>Martin V.</dc:creator>
      <dc:date>2007-02-01T03:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: aCC compile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile/m-p/5025428#M762632</link>
      <description>&amp;gt; make -f Makefile.martin&lt;BR /&gt;cc -D_HPUX_SOURCE -Aa +z +DA2.0W -Ae -c a_testplugin.c&lt;BR /&gt;(Bundled) cc: -, line A: warning 480.&lt;BR /&gt;(Bundled) cc: +, line z: warning 480.&lt;BR /&gt;(Bundled) cc: -, line A: warning 480.&lt;BR /&gt;cpp: "a_testplugin.c", line 0: warning 2021:&lt;BR /&gt;&lt;BR /&gt;&amp;gt;That happen with make!!&lt;BR /&gt;&lt;BR /&gt;Not precisely.  This is exactly the same thing that would happen to gmake if you had it.&lt;BR /&gt;&lt;BR /&gt;Basically you are using the bundled C compiler which is not supported for development.  I explained warning 480.  And 2021 is:&lt;BR /&gt;2021 warning %1$d: Possibly incorrect message catalog.&lt;BR /&gt;&lt;BR /&gt;These missing messages are probably due to an incorrect setting of NLSPATH?&lt;BR /&gt;&lt;BR /&gt;So unless you have any other errors, everything may have built fine.&lt;BR /&gt;&lt;BR /&gt;If you have aC++ installed, you may be able to use that instead of C:&lt;BR /&gt;make -f Makefile.martin CC="aCC -Ae"</description>
      <pubDate>Thu, 01 Feb 2007 03:14:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile/m-p/5025428#M762632</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-02-01T03:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: aCC compile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile/m-p/5025429#M762633</link>
      <description>&amp;gt;. cc -Aa -c +z a_test.c&lt;BR /&gt;ld -b -o test.sl a_test.o&lt;BR /&gt;&amp;gt;doesn't work! &lt;BR /&gt;&lt;BR /&gt;It wouldn't because the required +z is ignored.  If you added +DD64, it would work.&lt;BR /&gt;&lt;BR /&gt;$ dumpmsg /usr/lib/nls/msg/C/cc.cat | fgrep -e 1000 -e 1705&lt;BR /&gt;1000 %2$s, line %3$s: error %1$s: Unexpected symbol: "%4$s".&lt;BR /&gt;1705 %2$s, line %3$s: error %1$s: Function prototypes are an ANSI feature.&lt;BR /&gt;&lt;BR /&gt;So you'll need to purchase HP C, or aC++ or use gcc.</description>
      <pubDate>Thu, 01 Feb 2007 03:41:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile/m-p/5025429#M762633</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-02-01T03:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: aCC compile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile/m-p/5025430#M762634</link>
      <description>thank you for your help!!</description>
      <pubDate>Thu, 01 Feb 2007 03:50:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-compile/m-p/5025430#M762634</guid>
      <dc:creator>Martin V.</dc:creator>
      <dc:date>2007-02-01T03:50:23Z</dc:date>
    </item>
  </channel>
</rss>

