INN 2.3.3 HP-UX 11.0 ANSI/C compiler

Christopher Caldwell cdc at
Wed Dec 18 21:40:07 UTC 2002

I ran into a couple of problems using HP's lex and HP's yacc to build inn 
2.3.3 on HP-UX 11.0:

HP's lex doesn't like line 112 of config.l

112 <<EOF>> {

If I substitute flex, I get the following error (HP's yacc is used during 
the build):

cc -g -o innfeed article.o buffer.o config_l.o config_y.o
connection.o endpoint.o host.o innlistener.o main.o misc.o
tape.o version.o ../storage/libstorage.a ../lib/libinn.a -lelf
/usr/ccs/bin/ld: Duplicate symbol "yymaxdepth" in files config_y.o and
/usr/ccs/bin/ld: Found 1 duplicate symbol(s)

If I use flex and bison, the build completes just fine.  There's a 
manageable number of
  Pointers are not assignment-compatible
Argument #2 is not the correct type
warnings.  I'd be happy to share them if you're interested.

I'd recommend changing the documentation to read that flex and bison are 
required to build inn 2.3.3 on HP-UX 11.0 with HP's C/ANSI C compiler.

I'd be happy to test things on HP-UX for you guys.


More information about the inn-bugs mailing list