<?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: Syslog link errors in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/syslog-link-errors/m-p/5056091#M55141</link>
    <description>Thanks Guys,&lt;BR /&gt;&lt;BR /&gt;Using the shareable library solved the problem.&lt;BR /&gt;&lt;BR /&gt;For reference Show Version reports:&lt;BR /&gt;&lt;BR /&gt;  HP TCP/IP Services for OpenVMS Alpha Version V5.5 - ECO 1&lt;BR /&gt;  on an AlphaServer DS20 500 MHz running OpenVMS V8.2    &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Dave.</description>
    <pubDate>Thu, 05 Jul 2007 04:03:12 GMT</pubDate>
    <dc:creator>David E. Cross</dc:creator>
    <dc:date>2007-07-05T04:03:12Z</dc:date>
    <item>
      <title>Syslog link errors</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/syslog-link-errors/m-p/5056083#M55133</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm new to OpenVMS and getting to grips with the ONC RPC examples. My code works but I get 'undefined symbol SYSLOG' emanating from the RPC libraries. Should I have included some standard library or set up some default which is so obvious that nobody bothers to document it?</description>
      <pubDate>Tue, 03 Jul 2007 04:15:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/syslog-link-errors/m-p/5056083#M55133</guid>
      <dc:creator>David E. Cross</dc:creator>
      <dc:date>2007-07-03T04:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Syslog link errors</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/syslog-link-errors/m-p/5056084#M55134</link>
      <description>Dave,&lt;BR /&gt;&lt;BR /&gt;I have no idea what you mean by "THE" ONC RPC examples. The RPC examples provided with HP TCP/IP V5.4 (in SYS$COMMON:[SYSHLP.EXAMPLES.TCPIP.RPC]) build cleanly on my OpenVMS ALpha V7.3-2 system.&lt;BR /&gt;&lt;BR /&gt;So, obviously you mean some ONC RPC examples you've brought over from *ix. If that's the case, the answer is: there is neither a syslog() system function in OpenVMS' C RTL, nor is there a syslogd provided with the OS.&lt;BR /&gt;&lt;BR /&gt;That said, you can build your own syslogd, see e.g. &lt;A href="http://vms.process.com/scripts/fileserv/fileserv.com?SYSLOGD" target="_blank"&gt;http://vms.process.com/scripts/fileserv/fileserv.com?SYSLOGD&lt;/A&gt; (the site seems to be down at the moment).&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;  Martin</description>
      <pubDate>Tue, 03 Jul 2007 04:50:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/syslog-link-errors/m-p/5056084#M55134</guid>
      <dc:creator>Martin Vorlaender</dc:creator>
      <dc:date>2007-07-03T04:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: Syslog link errors</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/syslog-link-errors/m-p/5056085#M55135</link>
      <description>I meant the examples in the text of the doc 'HP TCP/IP Services for OpenVMS - ONC RPC Programming'.&lt;BR /&gt;&lt;BR /&gt;I've found out that OpenVMS doesn't have a Syslog whcih confuses me even more.</description>
      <pubDate>Tue, 03 Jul 2007 07:40:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/syslog-link-errors/m-p/5056085#M55135</guid>
      <dc:creator>David E. Cross</dc:creator>
      <dc:date>2007-07-03T07:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: Syslog link errors</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/syslog-link-errors/m-p/5056086#M55136</link>
      <description>Dave,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;I meant the examples in the text of the doc 'HP TCP/IP Services for OpenVMS - ONC RPC Programming'.&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;I just looked through the examples in chapter 2 (&lt;A href="http://h71000.www7.hp.com/doc/82FINAL/6528/6528pro_001.html#rpcgen_chap)," target="_blank"&gt;http://h71000.www7.hp.com/doc/82FINAL/6528/6528pro_001.html#rpcgen_chap),&lt;/A&gt; but the code for those is in SYS$COMMON:[SYSHLP.EXAMPLES.TCPIP.RPC] and doesn't have a call to syslog().&lt;BR /&gt;&lt;BR /&gt;Which specific example are you refering to?&lt;BR /&gt;&lt;BR /&gt;cu,&lt;BR /&gt;  Martin</description>
      <pubDate>Tue, 03 Jul 2007 08:18:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/syslog-link-errors/m-p/5056086#M55136</guid>
      <dc:creator>Martin Vorlaender</dc:creator>
      <dc:date>2007-07-03T08:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: Syslog link errors</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/syslog-link-errors/m-p/5056087#M55137</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Stripped to the bare bones, this is the problem.&lt;BR /&gt;&lt;BR /&gt;EV6::DEH.DINTSRC&amp;gt; type mintest.c&lt;BR /&gt;/* Mintest.c */&lt;BR /&gt;&lt;BR /&gt;#include &lt;RPC&gt;     /* always needed  */&lt;BR /&gt;/* partial contents of RPCGEN generated file copied below */&lt;BR /&gt;//#include "TCPIP$RPC:TYPES.H"&lt;BR /&gt;#define MYSERVER ((u_long)0x20000017)&lt;BR /&gt;#define MYSERVERVER ((u_long)1)&lt;BR /&gt;&lt;BR /&gt;main(argc, argv) int   argc; char *argv[];&lt;BR /&gt;{&lt;BR /&gt;    CLIENT *cl;&lt;BR /&gt;    cl = clnt_create("EV6", MYSERVER, MYSERVERVER, "tcp");&lt;BR /&gt;    exit(0);&lt;BR /&gt;    }&lt;BR /&gt;EV6::DEH.DINTSRC&amp;gt; cc/decc mintest.c&lt;BR /&gt;EV6::DEH.DINTSRC&amp;gt; LINK mintest,TCPIP$RPC:TCPIP$RPCXDR/LIBRARY&lt;BR /&gt;%LINK-W-NUDFSYMS, 1 undefined symbol:&lt;BR /&gt;%LINK-I-UDFSYM,         SYSLOG &lt;BR /&gt;%LINK-W-USEUNDEF, undefined symbol SYSLOG referenced&lt;BR /&gt;        in psect $LINK$ offset %X00000100&lt;BR /&gt;        in module XDR file SYS$COMMON:[TCPIP$LIB.RPC]TCPIP$RPCXDR.OLB;1&lt;BR /&gt;%LINK-W-USEUNDEF, undefined symbol SYSLOG referenced&lt;BR /&gt;        in psect $LINK$ offset %X000000F0&lt;BR /&gt;        in module CLNT_TCP file SYS$COMMON:[TCPIP$LIB.RPC]TCPIP$RPCXDR.OLB;1&lt;BR /&gt;%LINK-W-USEUNDEF, undefined symbol SYSLOG referenced&lt;BR /&gt;        in psect $LINK$ offset %X00000050&lt;BR /&gt;        in module CLNT_UDP file SYS$COMMON:[TCPIP$LIB.RPC]TCPIP$RPCXDR.OLB;1&lt;BR /&gt;%LINK-W-USEUNDEF, undefined symbol SYSLOG referenced&lt;BR /&gt;        in psect $LINK$ offset %X00000030&lt;BR /&gt;        in module XDR_REC file SYS$COMMON:[TCPIP$LIB.RPC]TCPIP$RPCXDR.OLB;1&lt;BR /&gt;EV6::DEH.DINTSRC&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Dave.&lt;/RPC&gt;</description>
      <pubDate>Wed, 04 Jul 2007 09:00:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/syslog-link-errors/m-p/5056087#M55137</guid>
      <dc:creator>David E. Cross</dc:creator>
      <dc:date>2007-07-04T09:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Syslog link errors</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/syslog-link-errors/m-p/5056088#M55138</link>
      <description>Dave,&lt;BR /&gt;&lt;BR /&gt;which version of TCPIP and on which architecture:&lt;BR /&gt;&lt;BR /&gt;$ TCPIP SHOW VERSION &lt;BR /&gt;&lt;BR /&gt;This would smell like a bug in TCPIP, if they would deliver a version of TCPIP$RPCXDR.OLB with external references to SYSLOG... - did you try linking with the shareable image SYS$SHARE:TCPIP$RPCXDR_SHR as described in the documentation ?&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Wed, 04 Jul 2007 10:30:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/syslog-link-errors/m-p/5056088#M55138</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2007-07-04T10:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Syslog link errors</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/syslog-link-errors/m-p/5056089#M55139</link>
      <description>Yes, it does appear the object library has a goof or there is something missing from your linker search path.  You should log a call if you have a support contract.  If you don't have any special requirement that mandates static linking, you can  link against the shareable image (aka dynamic library) instead.  To do that, just create a linker options file and add it to your link command like so:&lt;BR /&gt;&lt;BR /&gt;$ type mintest.opt&lt;BR /&gt;SYS$SHARE:TCPIP$RPCXDR_SHR/SHARE&lt;BR /&gt;$ link mintest,mintest/options</description>
      <pubDate>Thu, 05 Jul 2007 02:39:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/syslog-link-errors/m-p/5056089#M55139</guid>
      <dc:creator>Craig A Berry</dc:creator>
      <dc:date>2007-07-05T02:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Syslog link errors</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/syslog-link-errors/m-p/5056090#M55140</link>
      <description>&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt; just create a linker options file and add it to your link command&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;Or specify it directly on the command line/in the build DCL procedure file:&lt;BR /&gt;&lt;BR /&gt;$ link mintest,sys$input:/options&lt;BR /&gt;SYS$SHARE:TCPIP$RPCXDR_SHR/SHARE&lt;BR /&gt;$&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;  Martin</description>
      <pubDate>Thu, 05 Jul 2007 02:52:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/syslog-link-errors/m-p/5056090#M55140</guid>
      <dc:creator>Martin Vorlaender</dc:creator>
      <dc:date>2007-07-05T02:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Syslog link errors</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/syslog-link-errors/m-p/5056091#M55141</link>
      <description>Thanks Guys,&lt;BR /&gt;&lt;BR /&gt;Using the shareable library solved the problem.&lt;BR /&gt;&lt;BR /&gt;For reference Show Version reports:&lt;BR /&gt;&lt;BR /&gt;  HP TCP/IP Services for OpenVMS Alpha Version V5.5 - ECO 1&lt;BR /&gt;  on an AlphaServer DS20 500 MHz running OpenVMS V8.2    &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Dave.</description>
      <pubDate>Thu, 05 Jul 2007 04:03:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/syslog-link-errors/m-p/5056091#M55141</guid>
      <dc:creator>David E. Cross</dc:creator>
      <dc:date>2007-07-05T04:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Syslog link errors</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/syslog-link-errors/m-p/5056092#M55142</link>
      <description>Solution provided works OK</description>
      <pubDate>Thu, 05 Jul 2007 11:36:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/syslog-link-errors/m-p/5056092#M55142</guid>
      <dc:creator>David E. Cross</dc:creator>
      <dc:date>2007-07-05T11:36:09Z</dc:date>
    </item>
  </channel>
</rss>

