PR# 18006 Cannot compile C code for SYSLOG_OPTION_CONST and SYSLOG_FACILITY_CONST
Problem Report Summary
Submitter: prestoat2000
Category: Other
Priority: Medium
Date: 2011/11/26
Class: Bug
Severity: Serious
Number: 18006
Release: 7.0.87819
Confidential: No
Status: Open
Responsible:
Environment: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.1.8) Gecko/20100226 Firefox/3.5.8
Solaris 10
Synopsis: Cannot compile C code for SYSLOG_OPTION_CONST and SYSLOG_FACILITY_CONST
Description
On Solaris 10, the C code for classes SYSLOG_OPTION_CONST and SYSLOG_FACILITY_CONST won't compile, due to undefined symbols: "sy51.c", line 99: undefined symbol: LOG_AUTHPRIV "sy51.c", line 107: undefined symbol: LOG_FTP "sy32.c", line 59: undefined symbol: LOG_PERROR For LOG_AUTHPRIV and LOG_FTP, on Solaris including <syslog.h> does not find them. They are in <netinet/ip_compat.h>. For LOG_PERROR, it isn't defined anywhere. Some people have suggested using LOG_PID instead so that at least it will compile. None of these are defined in Solaris 9.
To Reproduce
Problem Report Interactions