Unable to compile version 1.6.12 on Solaris 9
I'm trying to compile syslog-ng-1.6.12 on Solaris 9. This aborts with the following error: gcc -g -O2 -Wall -I/usr/local/src/syslog-ng-1.6.12/libol-0.3.18/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 macros.o getopt.o getopt1.o -lpthread -lrt -lnsl -lsocket -ldoor -lresolv -Wl,-Bstatic /usr/local/src/syslog-ng-1.6.12/libol-0.3.18/src/.libs/libol.a -lsocket -lnsl -lxnet -ll -Wl,-Bdynamic ld: fatal: library -lxnet: not found ld: fatal: File processing errors. No output written to syslog-ng collect2: ld returned 1 exit status make[3]: *** [syslog-ng] Error 1 make[3]: Leaving directory `/usr/local/src/syslog-ng-1.6.12/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/syslog-ng-1.6.12/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/local/src/syslog-ng-1.6.12/src' make: *** [all-recursive] Error 1 Whereas syslog-ng-1.6.11 compiles without any problems. Any suggestions? Cheers, Roel
On Wed, 2007-03-07 at 19:07 +0100, roel@raphor.net wrote:
I'm trying to compile syslog-ng-1.6.12 on Solaris 9. This aborts with the following error:
gcc -g -O2 -Wall -I/usr/local/src/syslog-ng-1.6.12/libol-0.3.18/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 macros.o getopt.o getopt1.o -lpthread -lrt -lnsl -lsocket -ldoor -lresolv -Wl,-Bstatic /usr/local/src/syslog-ng-1.6.12/libol-0.3.18/src/.libs/libol.a -lsocket -lnsl -lxnet -ll -Wl,-Bdynamic ld: fatal: library -lxnet: not found ld: fatal: File processing errors. No output written to syslog-ng collect2: ld returned 1 exit status make[3]: *** [syslog-ng] Error 1 make[3]: Leaving directory `/usr/local/src/syslog-ng-1.6.12/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/syslog-ng-1.6.12/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/local/src/syslog-ng-1.6.12/src' make: *** [all-recursive] Error 1
Whereas syslog-ng-1.6.11 compiles without any problems. Any suggestions?
xnet is not a new dependency at all. perhaps, try compiling with --enable-full-dynamic -- Bazsi
With the --enable-full-dynamic option enabled compile was successful. Thank you. Roel On Thu, March 8, 2007 10:30, Balazs Scheidler wrote:
On Wed, 2007-03-07 at 19:07 +0100, roel@raphor.net wrote:
I'm trying to compile syslog-ng-1.6.12 on Solaris 9. This aborts with the following error:
gcc -g -O2 -Wall -I/usr/local/src/syslog-ng-1.6.12/libol-0.3.18/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 macros.o getopt.o getopt1.o -lpthread -lrt -lnsl -lsocket -ldoor -lresolv -Wl,-Bstatic /usr/local/src/syslog-ng-1.6.12/libol-0.3.18/src/.libs/libol.a -lsocket -lnsl -lxnet -ll -Wl,-Bdynamic ld: fatal: library -lxnet: not found ld: fatal: File processing errors. No output written to syslog-ng collect2: ld returned 1 exit status make[3]: *** [syslog-ng] Error 1 make[3]: Leaving directory `/usr/local/src/syslog-ng-1.6.12/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/syslog-ng-1.6.12/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/local/src/syslog-ng-1.6.12/src' make: *** [all-recursive] Error 1
Whereas syslog-ng-1.6.11 compiles without any problems. Any suggestions?
xnet is not a new dependency at all. perhaps, try compiling with --enable-full-dynamic
-- Bazsi
_______________________________________________ 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
participants (3)
-
Balazs Scheidler
-
Roel
-
roel@raphor.net