[syslog-ng]compiling syslog-ng (latest version) on solaris 9

Markus Reger syslog-ng@lists.balabit.hu
Fri, 09 Jan 2004 13:57:47 +0100


This is a MIME message. If you are reading this text, you may want to 
consider changing to a mail reader or gateway that understands how to 
properly handle MIME multipart messages.

--=_441A8848.C8A9C865
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

hello to everybody
=20
Made several attempts to compile syslog-ng. Compilation of libol went =
fine. Whenever I "make" syslog-ng I encounter the error:
=20
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-name=
s.o macros.o getopt.o getopt1.o -lpthread -lnsl -lsocket -ldoor -lresolv   =
/usr/local/lib/libol.a -lsocket -lnsl -lxnet
Undefined                       first referenced
 symbol                             in file
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 /install/syslog-ng/syslog-ng-1.6.0rc4/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /install/syslog-ng/syslog-ng-1.6.0rc4/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive-am'
Current working directory /install/syslog-ng/syslog-ng-1.6.0rc4/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'

Has anyone ever compiled on Solaris 9 - gcc 3.3.=20
Thanks in advance for every hint.
kr=20


--=_441A8848.C8A9C865
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Description: HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"=
>
<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR></HEAD>
<BODY=20
style=3D"MARGIN-TOP: 2px; FONT: 10pt Microsoft Sans Serif; MARGIN-LEFT: =
2px">
<DIV>hello to everybody</DIV>
<DIV>&nbsp;</DIV>
<DIV>Made several attempts to compile syslog-ng. Compilation of libol went =
fine.=20
Whenever I "make" syslog-ng <EM>I encounter the error:</EM></DIV>
<DIV>&nbsp;</DIV>
<DIV>gcc&nbsp; -g -O2 -Wall -I/usr/local/include/libol -D_GNU_SOURCE&nbsp; =
-o=20
syslog-ng&nbsp; main.o sources.o center.o filters.o destinations.o&nbsp; =
log.o=20
cfgfile.o cfg-grammar.o cfg-lex.o affile.o afsocket.o afunix.o&nbsp; =
afinet.o=20
afinter.o afuser.o afstreams.o afprogram.o afremctrl.o&nbsp; nscache.o =
utils.o=20
syslog-names.o macros.o getopt.o getopt1.o -lpthread -lnsl -lsocket =
-ldoor=20
-lresolv&nbsp;&nbsp; /usr/local/lib/libol.a -lsocket -lnsl=20
-lxnet<BR>Undefined&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;=20
first=20
referenced<BR>&nbsp;symbol&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
in=20
file<BR>yywrap&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
cfg-lex.o<BR>ld: fatal: Symbol referencing errors. No output written to=20
syslog-ng<BR>collect2: ld returned 1 exit status<BR>*** Error code =
1<BR>make:=20
Fatal error: Command failed for target `syslog-ng'<BR>Current working =
directory=20
/install/syslog-ng/syslog-ng-1.6.0rc4/src<BR>*** Error code 1<BR>make: =
Fatal=20
error: Command failed for target `all-recursive'<BR>Current working =
directory=20
/install/syslog-ng/syslog-ng-1.6.0rc4/src<BR>*** Error code 1<BR>make: =
Fatal=20
error: Command failed for target `all-recursive-am'<BR>Current working =
directory=20
/install/syslog-ng/syslog-ng-1.6.0rc4/src<BR>*** Error code 1<BR>make: =
Fatal=20
error: Command failed for target `all-recursive'<BR></DIV>
<DIV>Has anyone ever compiled on Solaris 9 - gcc 3.3. </DIV>
<DIV>Thanks in advance for every hint.</DIV>
<DIV>kr </DIV></BODY></HTML>

--=_441A8848.C8A9C865--