[hobbit] HOBBIT 4.0.3 build issue on hp 11.0

Henrik Stoerner henrik at hswn.dk
Mon May 23 13:29:02 CEST 2005


On Mon, May 23, 2005 at 07:10:49AM -0400, Michael Nemeth wrote:
> I hacked my Makes for .1 and .2  and got them to work   but  this  time  
> I cann't get it!
> 
> HP-UX  B.11.00
> ERRORS:
> 
> ranlib libbbgen.a || echo ""
> cc -g -O -D_REENTRANT -DHPUX -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I. 
> -I/home/nemethm/hobbit-4.0.3/include -I. -I../include  -DSTANDALONE -o 
> loadhosts loadhosts.c ./libbbgen.a
> /usr/ccs/bin/ld: Unsatisfied symbols:
>   expand_env (first referenced in ./libbbgen.a(misc.o)) (code)
>   xgetenv (first referenced in ./libbbgen.a(misc.o)) (code)
>   getenv_default (first referenced in ./libbbgen.a(misc.o)) (code)

Weird, but hey - it's HP-UX :-)

What happens if you change lib/Makefile, so instead of

   all: libbbgen.a loadhosts

it's just

   all: libbbgen.a

(because the "loadhosts" tool is just a debugging tool, really).

If it doesn't help, could you see if the file "lib/environ.o"
exists after running make ? And send me the output from 
"nm lib/libbbgen.a".


Henrik




More information about the Xymon mailing list