[syslog-ng]Can Not Compile on Solaris 2.8

Stephen Bargon sbargon@amdocs.com
Fri, 27 Dec 2002 16:13:32 -0600


--=_IS_MIME_Boundary
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C2ADF5.3180F55E"

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_01C2ADF5.3180F55E
Content-Type: text/plain

I've looked to Google and found references to the problem.
I'm afraid I'm more a router / network person then Unix programmer and
need more information.
 
Where do I make the link to yacc and put the -ll or -ly switches?

-----Original Message-----
From: Aaron Jackson [mailto:Aaron.Jackson@dc.gov] 
Sent: Thursday, December 26, 2002 4:30 PM
To: syslog-ng@lists.balabit.hu
Cc: sbargon@amdocs.com
Subject: Re: [syslog-ng]Can Not Compile on Solaris 2.8



Search the mailing list archive and google. This problem has been thoroughly discussed and solved. 


Aaron 



On Thursday, December 26, 2002, at 05:09 PM, Stephen Bargon wrote: 


I'm recieving the following error(s) when trying run make on syslog-ng-1.5.23. 

Any suggestions or help would be appreciated. 



# make 

Making all in src 

make  all-recursive 

Making all in . 

gcc  -g -O2 -Wall -I/usr/local/include/libol -D_GNU_SOURCE  -o syslog-ng  main.o sources.o center.o filters.o destinations.o  log.o cfgfile.o cfg-grammar.o cfg-lex.o affile.o afsocket.o afunix.o  afinet.o afinter.o afuser.o afstreams.o afprogram.o afremctrl.o  nscache.o utils.o syslog-names.o getopt.o getopt1.o -lpthread -ldoor   /usr/local/lib/libol.a -lsocket -lnsl -lxnet 

Undefined                       first referenced 

 symbol                             in file 

res_init                            main.o 

yywrap                              cfg-lex.o 

ld: fatal: Symbol referencing errors. No output written to syslog-ng 

collect2: ld returned 1 exit status 

*** Error code 1 

make: Fatal error: Command failed for target `syslog-ng' 

Current working directory /usr/local/syslog-ng-1.5.23/src 

*** Error code 1 

make: Fatal error: Command failed for target `all-recursive' 

Current working directory /usr/local/syslog-ng-1.5.23/src 

*** Error code 1 

make: Fatal error: Command failed for target `all-recursive-am' 

Current working directory /usr/local/syslog-ng-1.5.23/src 

*** Error code 1 

make: Fatal error: Command failed for target `all-recursive' 

# 







------------------------------------------------------------------------------------- 


The information contained in this message is proprietary of Amdocs, 


protected from disclosure, and may be privileged. 


The information is intended to be conveyed only to the designated recipient(s) 


of the message. If the reader of this message is not the intended recipient, 


you are hereby notified that any dissemination, use, distribution or copying of 


this communication is strictly prohibited and may be unlawful. 


If you have received this communication in error, please notify us immediately 


by replying to the message and deleting it from your computer. 


Thank you. 


------------------------------------------------------------------------------------- 


------_=_NextPart_001_01C2ADF5.3180F55E
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 5.50.4611.1300" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D266372021-27122002>I've=20
looked to Google and found references to the =
problem.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D266372021-27122002>I'm=20
afraid I'm more a router / network person then Unix programmer=20
and</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D266372021-27122002>need=20
more information.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D266372021-27122002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D266372021-27122002>Where=20
do I make the link to yacc and put the -ll or -ly =
switches?</SPAN></FONT></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft><FONT=20
  face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B> =
Aaron Jackson=20
  [mailto:Aaron.Jackson@dc.gov] <BR><B>Sent:</B> Thursday, December 26, =
2002=20
  4:30 PM<BR><B>To:</B> syslog-ng@lists.balabit.hu<BR><B>Cc:</B>=20
  sbargon@amdocs.com<BR><B>Subject:</B> Re: [syslog-ng]Can Not Compile =
on=20
  Solaris 2.8<BR><BR></FONT></DIV>
  <P>Search the mailing list archive and google. This problem has been=20
  thoroughly discussed and solved. </P><BR>
  <P>Aaron </P>
  <P></P>
  <P>On Thursday, December 26, 2002, at 05:09 PM, Stephen Bargon wrote: =
</P><BR>
  <P><FONT face=3DArial size=3D2>I'm&nbsp;recieving the following =
error(s) when=20
  trying run make on syslog-ng-1.5.23.</FONT> </P>
  <P><FONT face=3DArial size=3D2>Any suggestions or help would be=20
  appreciated.</FONT> </P>
  <P></P>
  <P><FONT face=3DArial size=3D2># make </FONT></P>
  <P><FONT face=3DArial size=3D2>Making all in src </FONT></P>
  <P><FONT face=3DArial size=3D2>make&nbsp; all-recursive </FONT></P>
  <P><FONT face=3DArial size=3D2>Making all in . </FONT></P>
  <P><FONT face=3DArial size=3D2>gcc&nbsp; -g -O2 -Wall =
-I/usr/local/include/libol=20
  -D_GNU_SOURCE&nbsp; -o syslog-ng&nbsp; main.o sources.o center.o =
filters.o=20
  destinations.o&nbsp; log.o cfgfile.o cfg-grammar.o cfg-lex.o affile.o =

  afsocket.o afunix.o&nbsp; afinet.o afinter.o afuser.o afstreams.o =
afprogram.o=20
  afremctrl.o&nbsp; nscache.o utils.o syslog-names.o getopt.o getopt1.o =

  -lpthread -ldoor&nbsp;&nbsp; /usr/local/lib/libol.a -lsocket -lnsl =
-lxnet=20
  </FONT></P>
  <P><FONT face=3DArial=20
  =
size=3D2>Undefined&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;=20
  first referenced </FONT></P>
  <P><FONT face=3DArial=20
  =
size=3D2>&nbsp;symbol&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  in file </FONT></P>
  <P><FONT face=3DArial=20
  =
size=3D2>res_init&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  main.o </FONT></P>
  <P><FONT face=3DArial=20
  =
size=3D2>yywrap&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  cfg-lex.o </FONT></P>
  <P><FONT face=3DArial size=3D2>ld: fatal: Symbol referencing errors. =
No output=20
  written to syslog-ng </FONT></P>
  <P><FONT face=3DArial size=3D2>collect2: ld returned 1 exit status =
</FONT></P>
  <P><FONT face=3DArial size=3D2>*** Error code 1 </FONT></P>
  <P><FONT face=3DArial size=3D2>make: Fatal error: Command failed for =
target=20
  `syslog-ng' </FONT></P>
  <P><FONT face=3DArial size=3D2>Current working directory=20
  /usr/local/syslog-ng-1.5.23/src </FONT></P>
  <P><FONT face=3DArial size=3D2>*** Error code 1 </FONT></P>
  <P><FONT face=3DArial size=3D2>make: Fatal error: Command failed for =
target=20
  `all-recursive' </FONT></P>
  <P><FONT face=3DArial size=3D2>Current working directory=20
  /usr/local/syslog-ng-1.5.23/src </FONT></P>
  <P><FONT face=3DArial size=3D2>*** Error code 1 </FONT></P>
  <P><FONT face=3DArial size=3D2>make: Fatal error: Command failed for =
target=20
  `all-recursive-am' </FONT></P>
  <P><FONT face=3DArial size=3D2>Current working directory=20
  /usr/local/syslog-ng-1.5.23/src </FONT></P>
  <P><FONT face=3DArial size=3D2>*** Error code 1 </FONT></P>
  <P><FONT face=3DArial size=3D2>make: Fatal error: Command failed for =
target=20
  `all-recursive' </FONT></P>
  <P><FONT face=3DArial size=3D2># </FONT></P>
  <P></P>
  <P></P>
  <P></P>
  =
<P>---------------------------------------------------------------------=
----------------=20
  </P><BR>
  <P>The information contained in this message is proprietary of =
Amdocs,=20
</P><BR>
  <P>protected from disclosure, and may be privileged. </P><BR>
  <P>The information is intended to be conveyed only to the designated=20
  recipient(s) </P><BR>
  <P>of the message. If the reader of this message is not the intended=20
  recipient, </P><BR>
  <P>you are hereby notified that any dissemination, use, distribution =
or=20
  copying of </P><BR>
  <P>this communication is strictly prohibited and may be unlawful. =
</P><BR>
  <P>If you have received this communication in error, please notify us =

  immediately </P><BR>
  <P>by replying to the message and deleting it from your computer. =
</P><BR>
  <P>Thank you. </P><BR>
  =
<P>---------------------------------------------------------------------=
----------------=20
  </P></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C2ADF5.3180F55E--
--=_IS_MIME_Boundary
Content-Type: text/plain;charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------------------

The information contained in this message is proprietary of Amdocs,

protected from disclosure, and may be privileged.

The information is intended to be conveyed only to the designated recipient(s)

of the message. If the reader of this message is not the intended recipient,

you are hereby notified that any dissemination, use, distribution or copying of 

this communication is strictly prohibited and may be unlawful. 

If you have received this communication in error, please notify us immediately

by replying to the message and deleting it from your computer.

Thank you.

-------------------------------------------------------------------------------------

--=_IS_MIME_Boundary--