- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Syslog link errors
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2007 09:15 PM
07-02-2007 09:15 PM
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?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2007 09:50 PM
07-02-2007 09:50 PM
Re: Syslog link errors
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.
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.
That said, you can build your own syslogd, see e.g. http://vms.process.com/scripts/fileserv/fileserv.com?SYSLOGD (the site seems to be down at the moment).
HTH,
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2007 12:40 AM
07-03-2007 12:40 AM
Re: Syslog link errors
I've found out that OpenVMS doesn't have a Syslog whcih confuses me even more.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2007 01:18 AM
07-03-2007 01:18 AM
Re: Syslog link errors
>>>
I meant the examples in the text of the doc 'HP TCP/IP Services for OpenVMS - ONC RPC Programming'.
<<<
I just looked through the examples in chapter 2 (http://h71000.www7.hp.com/doc/82FINAL/6528/6528pro_001.html#rpcgen_chap), but the code for those is in SYS$COMMON:[SYSHLP.EXAMPLES.TCPIP.RPC] and doesn't have a call to syslog().
Which specific example are you refering to?
cu,
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2007 02:00 AM
07-04-2007 02:00 AM
Re: Syslog link errors
Stripped to the bare bones, this is the problem.
EV6::DEH.DINTSRC> type mintest.c
/* Mintest.c */
#include
/* partial contents of RPCGEN generated file copied below */
//#include "TCPIP$RPC:TYPES.H"
#define MYSERVER ((u_long)0x20000017)
#define MYSERVERVER ((u_long)1)
main(argc, argv) int argc; char *argv[];
{
CLIENT *cl;
cl = clnt_create("EV6", MYSERVER, MYSERVERVER, "tcp");
exit(0);
}
EV6::DEH.DINTSRC> cc/decc mintest.c
EV6::DEH.DINTSRC> LINK mintest,TCPIP$RPC:TCPIP$RPCXDR/LIBRARY
%LINK-W-NUDFSYMS, 1 undefined symbol:
%LINK-I-UDFSYM, SYSLOG
%LINK-W-USEUNDEF, undefined symbol SYSLOG referenced
in psect $LINK$ offset %X00000100
in module XDR file SYS$COMMON:[TCPIP$LIB.RPC]TCPIP$RPCXDR.OLB;1
%LINK-W-USEUNDEF, undefined symbol SYSLOG referenced
in psect $LINK$ offset %X000000F0
in module CLNT_TCP file SYS$COMMON:[TCPIP$LIB.RPC]TCPIP$RPCXDR.OLB;1
%LINK-W-USEUNDEF, undefined symbol SYSLOG referenced
in psect $LINK$ offset %X00000050
in module CLNT_UDP file SYS$COMMON:[TCPIP$LIB.RPC]TCPIP$RPCXDR.OLB;1
%LINK-W-USEUNDEF, undefined symbol SYSLOG referenced
in psect $LINK$ offset %X00000030
in module XDR_REC file SYS$COMMON:[TCPIP$LIB.RPC]TCPIP$RPCXDR.OLB;1
EV6::DEH.DINTSRC>
Dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2007 03:30 AM
07-04-2007 03:30 AM
Solutionwhich version of TCPIP and on which architecture:
$ TCPIP SHOW VERSION
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 ?
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2007 07:39 PM
07-04-2007 07:39 PM
Re: Syslog link errors
$ type mintest.opt
SYS$SHARE:TCPIP$RPCXDR_SHR/SHARE
$ link mintest,mintest/options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2007 07:52 PM
07-04-2007 07:52 PM
Re: Syslog link errors
just create a linker options file and add it to your link command
<<<
Or specify it directly on the command line/in the build DCL procedure file:
$ link mintest,sys$input:/options
SYS$SHARE:TCPIP$RPCXDR_SHR/SHARE
$
HTH,
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2007 09:03 PM
07-04-2007 09:03 PM
Re: Syslog link errors
Using the shareable library solved the problem.
For reference Show Version reports:
HP TCP/IP Services for OpenVMS Alpha Version V5.5 - ECO 1
on an AlphaServer DS20 500 MHz running OpenVMS V8.2
Regards,
Dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2007 04:36 AM
07-05-2007 04:36 AM