[syslog-ng]Re: can't compile on Solaris9

Balazs Scheidler bazsi@balabit.hu
Wed, 11 Dec 2002 12:37:57 +0100


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