On Mon, Dec 02, 2002 at 04:23:47PM +0100, Longina Przybyszewska wrote:
hi, I can not compile syslog-ng-1.5.21/23 versions on Solaris9(sparc). I am getting the following error:
add -lresolv to your LDFLAGS (in Makefile), this problem has been fixed in my CVS tree, but it has not yet been released. -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
On Mon, 2 Dec 2002, Balazs Scheidler wrote:
On Mon, Dec 02, 2002 at 04:23:47PM +0100, Longina Przybyszewska wrote:
hi, I can not compile syslog-ng-1.5.21/23 versions on Solaris9(sparc). I am getting the following error:
add -lresolv to your LDFLAGS (in Makefile), this problem has been fixed in my CVS tree, but it has not yet been released.
It didn't work. I could compile first after I edited config.status and added -lresolv there. Thanks anyway! regards Longina -- Longina Przybyszewska, system programmer Dept. of Math. & Comp. Sci. - IMADA University of Southern Denmark, Odense Campusvej 55,DK-5230 Odense M, Denmark tel: +45 6550 2359 - http://www.imada.sdu.dk email: longina@imada.sdu.dk --
On Mon, 2 Dec 2002, Balazs Scheidler wrote:
On Mon, Dec 02, 2002 at 04:23:47PM +0100, Longina Przybyszewska wrote:
hi, I can not compile syslog-ng-1.5.21/23 versions on Solaris9(sparc). I am getting the following error:
add -lresolv to your LDFLAGS (in Makefile), this problem has been fixed in my CVS tree, but it has not yet been released.
It didn't work.
I could compile first after I edited config.status and added -lresolv there.
make distclean LIBS=-lresolv configure ... Cheers -andrey
hi again, I had to recompile syslog-ng-1-5.23 again on Solaris9 server, and get a strange error : ./configure --prefix=/usr/local/packages/syslog-ng-1.5.23 --with-libol /usr/local/src/syslog-ng-1.5.23> make Making all in src make[1]: Entering directory `/usr/local/src/syslog-ng-1.5.23/src' make all-recursive make[2]: Entering directory `/usr/local/src/syslog-ng-1.5.23/src' Making all in . make[3]: Entering directory `/usr/local/src/syslog-ng-1.5.23/src' make_class <destinations.h >destinations.h.xT /bin/sh: make_class: not found make[3]: *** [destinations.h.x] Error 1 ===
/bin/sh $ which make_class /usr/local/bin/make_class
=== libol is installed! regards Longina -- Longina Przybyszewska, system programmer Dept. of Math. & Comp. Sci. - IMADA University of Southern Denmark, Odense Campusvej 55,DK-5230 Odense M, Denmark tel: +45 6550 2359 - http://www.imada.sdu.dk email: longina@imada.sdu.dk --
On Tue, Dec 10, 2002 at 02:28:41PM +0100, Longina Przybyszewska wrote:
hi again, I had to recompile syslog-ng-1-5.23 again on Solaris9 server, and get a strange error :
./configure --prefix=/usr/local/packages/syslog-ng-1.5.23 --with-libol /usr/local/src/syslog-ng-1.5.23> make Making all in src make[1]: Entering directory `/usr/local/src/syslog-ng-1.5.23/src' make all-recursive make[2]: Entering directory `/usr/local/src/syslog-ng-1.5.23/src' Making all in . make[3]: Entering directory `/usr/local/src/syslog-ng-1.5.23/src' make_class <destinations.h >destinations.h.xT /bin/sh: make_class: not found make[3]: *** [destinations.h.x] Error 1
===
/bin/sh $ which make_class /usr/local/bin/make_class
check the faq and install either scsh or touch destinations.h.x to satisfy the make dependency. -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
On Tue, 10 Dec 2002, Balazs Scheidler wrote:
$ which make_class /usr/local/bin/make_class
check the faq and install either scsh or touch destinations.h.x to satisfy the make dependency.
OK. it works , but I have got another fail: ===== /usr/ccs/bin/yaccpar:5: warning: ignoring #pragma ident /usr/ccs/bin/yaccpar: In function `yyparse': /usr/ccs/bin/yaccpar:374: warning: label `yyerrlab' defined but not used /usr/ccs/bin/yaccpar:164: warning: label `yynewstate' defined but not used gcc -DHAVE_CONFIG_H -I. -I/usr/local/src/syslog-ng-1.5.23/src -I. -g -O2 -Wall -I/usr/local/packages/libol-0.3.5/include/libol -D_GNU_SOURCE -c cfg-lex.c cfg-lex.l:160: warning: return type defaults to `int' cfg-lex.l: In function `yylex': cfg-lex.l:161: warning: unused variable `yyprevious' cfg-lex.l:168: warning: label `yyfussy' defined but not used cfg-lex.l: In function `lex_init': cfg-lex.l:218: warning: implicit declaration of function `yyrestart' cfg-lex.l: At top level: cfg-lex.l:351: warning: missing braces around initializer cfg-lex.l:351: warning: (near initialization for `yycrank[0]') cfg-lex.l:477: warning: missing braces around initializer cfg-lex.l:477: warning: (near initialization for `yysvec[0]') cfg-lex.l:567: warning: ignoring #pragma ident ...... Undefined first referenced symbol in file yyrestart cfg-lex.o It is strange, because I could compile it once, on the same machine, with the same configuration... Longina -- Longina Przybyszewska, system programmer Dept. of Math. & Comp. Sci. - IMADA University of Southern Denmark, Odense Campusvej 55,DK-5230 Odense M, Denmark tel: +45 6550 2359 - http://www.imada.sdu.dk email: longina@imada.sdu.dk --
syslog-ng requires gnu bison. it might have worked because I ship with the .c files generated by bison in the tarball. if the stamp of cfg-grammar.y was updated and got newer than cfg-grammar.c the make rule running bison was triggered. On Wed, Dec 11, 2002 at 12:12:29PM +0100, Longina Przybyszewska wrote:
On Tue, 10 Dec 2002, Balazs Scheidler wrote:
$ which make_class /usr/local/bin/make_class
check the faq and install either scsh or touch destinations.h.x to satisfy the make dependency.
OK. it works , but I have got another fail:
===== /usr/ccs/bin/yaccpar:5: warning: ignoring #pragma ident /usr/ccs/bin/yaccpar: In function `yyparse': /usr/ccs/bin/yaccpar:374: warning: label `yyerrlab' defined but not used /usr/ccs/bin/yaccpar:164: warning: label `yynewstate' defined but not used gcc -DHAVE_CONFIG_H -I. -I/usr/local/src/syslog-ng-1.5.23/src -I. -g -O2 -Wall -I/usr/local/packages/libol-0.3.5/include/libol -D_GNU_SOURCE -c cfg-lex.c cfg-lex.l:160: warning: return type defaults to `int' cfg-lex.l: In function `yylex': cfg-lex.l:161: warning: unused variable `yyprevious' cfg-lex.l:168: warning: label `yyfussy' defined but not used cfg-lex.l: In function `lex_init': cfg-lex.l:218: warning: implicit declaration of function `yyrestart' cfg-lex.l: At top level: cfg-lex.l:351: warning: missing braces around initializer cfg-lex.l:351: warning: (near initialization for `yycrank[0]') cfg-lex.l:477: warning: missing braces around initializer cfg-lex.l:477: warning: (near initialization for `yysvec[0]') cfg-lex.l:567: warning: ignoring #pragma ident ......
Undefined first referenced symbol in file yyrestart cfg-lex.o
It is strange, because I could compile it once, on the same machine, with the same configuration...
Longina -- Longina Przybyszewska, system programmer Dept. of Math. & Comp. Sci. - IMADA University of Southern Denmark, Odense Campusvej 55,DK-5230 Odense M, Denmark
tel: +45 6550 2359 - http://www.imada.sdu.dk email: longina@imada.sdu.dk --
-- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
participants (3)
-
Balazs Scheidler
-
Borzenkov Andrey
-
Longina Przybyszewska