[syslog-ng]getting a build error on Solaris8,
Aaron Jackson
Aaron.Jackson@dc.gov
Mon, 7 Oct 2002 20:53:35 -0400
Just add -lresolv -lnsl to the compile line that craps out and when it
is finished, do a make to continue the build process.
Aaron
On Monday, October 7, 2002, at 07:31 PM, Todd S. Ness wrote:
> here is the output from my make command: I see that res_init is defined
> in resolve.h on my system in /usr/include/resolve.h, I don't know where
> to look for yywrap problem.
>
> Thanks Todd.
>
>
> make
> Making all in src
> make all-recursive
> Making all in .
> gcc -g -O2 -Wall -I/opt/a/src/syslog-ng/SunOS5.8/libol-0.3.3/src
> -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
> /opt/a/src/syslog-ng/SunOS5.8/libol-0.3.3/src/.libs/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
> /opt/a/src/syslog-ng/SunOS5.8/syslog-ng-1.5.21/src
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> Current working directory
> /opt/a/src/syslog-ng/SunOS5.8/syslog-ng-1.5.21/src
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive-am'
> Current working directory
> /opt/a/src/syslog-ng/SunOS5.8/syslog-ng-1.5.21/src
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
>
> --
> ToddNess - EDS/StorageTek
> Infrastructure Specialist 303-661-5854
> Better to keep quiet and be thought wise than to speak up and remove
> all
> doubt.
>
> _______________________________________________
> syslog-ng maillist - syslog-ng@lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
>