[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compile problems for 2.0.b3 on HPUX 10.20
From: |
Martin Jost |
Subject: |
Re: compile problems for 2.0.b3 on HPUX 10.20 |
Date: |
Wed, 06 Mar 2002 09:47:14 +0100 |
Hello Mark, hello Tim,
thanks for the replies.
> I'm not sure why cfparse.c i getting distributed. It's not
> supposed to be.
It surely is:
delphi:/pd-sw/sysadm/cfengine> gnutar tvzf cfengine-2.0.b3.tar.gz |
grep parse
-rw-r--r-- 3232/102 30320 2002-02-26 11:24
cfengine-2.0.b3/src/cfparse.c
-rw-r--r-- 3232/100 34954 2002-02-25 15:51
cfengine-2.0.b3/src/parse.c
-rw-r--r-- 3232/100 5038 2002-02-13 16:34
cfengine-2.0.b3/src/cfparse.y
-rw-r--r-- 3232/102 548 2002-02-26 11:24
cfengine-2.0.b3/src/cfparse.h
Ah, than it is the usual suspect - once I have been used to this and
thought of bison at once, when the alloca-problem showed up; but not
this time.
> Someone told me I had to remove the -lPW flag -- was this wrong?
There has been a obscure problem with -lPW on older versions of the
compiler/linker/runtime.
Adding -lPW to the link-line solved the alloca-problem, but introduced
new unresolved symbols. This had to be fixed by adding '-lc' (yes, the
c-runtime lib - welcome to the wonderful world of HP-braindamage...)
after -lPW on the command line. Seems this is now fixed. But depending
on the patch state there may be still HP-users affected by this.
I removed cfparse.c and let it recreate by bison (1.30)
This solved the problem concerning alloca.
I will give 'b4' a try for the rest.
Thanks
Martin
P.S.:
I once sent in a patch to solve a problem with setting permissions. It
seems the problem is still present. I will look into this and resubmit
the patch.
[The patch got awfully complicated, due to problems on my part
generating the patch. I hope to improve on this, this time]