[syslog-ng] Compiling on HP/UX 11.11

Balazs Scheidler bazsi at balabit.hu
Fri Sep 28 11:37:25 CEST 2007


On Thu, 2007-09-27 at 08:46 -0700, C Wells wrote:
> > 
> > I will try and remove it and reinstall. Are there
> > any
> > other workarounds if I can't make flex work ?
> > 
> > Thanks
> 
> Well I tried to compile flex from scratch, but that
> was a disaster. So I removed Flex and reinstalled and
> the configure completed without error. Then I tried
> make and got this
> 
>         gcc  -g -O2 -Wall -g   -o syslog-ng  main.o
> libsyslog-ng.a -lnsl -lrt  -lfl -L/usr/local/lib
> -lglib-2.0 -lintl -liconv   -L/usr/local/lib -levtlog 
>  -lnet 
> /usr/ccs/bin/ld: Unsatisfied symbols: 
>    linenum (first referenced in
> libsyslog-ng.a(cfg-grammar.o)) (data) 
>    lookup_parse_flag (first referenced in
> libsyslog-ng.a(cfg-grammar.o)) (code) 
>    strtoll (first referenced in
> libsyslog-ng.a(affile.o)) (code) 
>    yylex (first referenced in
> libsyslog-ng.a(cfg-grammar.o)) (code) 
>    lex_init (first referenced in
> libsyslog-ng.a(cfg.o)) (code) 
> collect2: ld returned 1 exit status

Your generated cfg-lex.c file is probably empty again. Am I Right?

I wrote a message about the use of the generated files from the release
tarball, did you try that?


-- 
Bazsi



More information about the syslog-ng mailing list