[syslog-ng]Compile error on Solaris 7
Ripley, Scott
Scott.Ripley@mail.house.gov
Wed, 5 Sep 2001 08:38:34 -0400
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C13607.AD6876A0
Content-Type: text/plain;
charset="iso-8859-1"
When trying to compile 1.5.10, I get the following error in make:
make[3]: Entering directory `/export/home/root/syslog-ng-1.5.10/src'
gcc -DHAVE_CONFIG_H -I. -I/export/home/root/syslog-ng-1.5.10/src -I. -g
-O2 -Wall -I/usr/local/include/libol -D_GNU_SOURCE -c main.c
main.c:47: `PATH_SYSCONFDIR' undeclared here (not in a function)
configure says everything is fine, and I compiled 1.5.9 without any
problems. I also tried defining the variable in the shell. What's odd is if
I go to line 47 of main.c, it says:
static char cfgfilename[128] = PATH_SYSLOG_NG_CONF;
Any suggestions?
Scott Ripley
DNS Administrator - House Information Resources
U.S. House of Representatives
202.226.2833 - mailto:scott.ripley@mail.house.gov
<mailto:scott.ripley@mail.house.gov>
------_=_NextPart_001_01C13607.AD6876A0
Content-Type: text/html;
charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2><SPAN class=460213512-05092001>When trying to
compile 1.5.10, I get the following error in make:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=460213512-05092001></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=460213512-05092001>make[3]: Entering
directory `/export/home/root/syslog-ng-1.5.10/src'<BR>gcc -DHAVE_CONFIG_H -I.
-I/export/home/root/syslog-ng-1.5.10/src -I. -g -O2
-Wall -I/usr/local/include/libol -D_GNU_SOURCE -c main.c<BR>main.c:47:
`PATH_SYSCONFDIR' undeclared here (not in a function)<BR></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=460213512-05092001>configure says
everything is fine, and I compiled 1.5.9 without any problems. I also tried
defining the variable in the shell. What's odd is if I go to line 47 of main.c,
it says:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=460213512-05092001></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=460213512-05092001>static char
cfgfilename[128] = PATH_SYSLOG_NG_CONF;</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=460213512-05092001></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=460213512-05092001>Any
suggestions?</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV>Scott Ripley</DIV>
<DIV>DNS Administrator - House Information Resources</DIV>
<DIV>U.S. House of Representatives</DIV>
<DIV>202.226.2833 - <A
href="mailto:scott.ripley@mail.house.gov">mailto:scott.ripley@mail.house.gov</A></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>
------_=_NextPart_001_01C13607.AD6876A0--