[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LDM 5.0.8 and pqing segmentation fault. (fwd)
- Subject: Re: LDM 5.0.8 and pqing segmentation fault. (fwd)
- Date: Tue, 7 Dec 1999 14:03:35 -0700 (MST)
===============================================================================
Robb Kambic Unidata Program Center
Software Engineer III Univ. Corp for Atmospheric Research
address@hidden WWW: http://www.unidata.ucar.edu/
===============================================================================
---------- Forwarded message ----------
Date: Tue, 7 Dec 1999 15:46:59 -0500
From: Michael W Dross <address@hidden>
To: Robb Kambic <address@hidden>
Subject: Re: LDM 5.0.8 and pqing segmentation fault.
Robb,
Thanks for the info.
I was able to get it working, thanks to Dan Vietor who enlightened me on some
changes to feed.h
Here was the change that fixed it for me:
in feed.h changed:
extern const int server_port; global
to
extern int server_port; /* global */
It seems I had to make another small change in pqing.c related to removing the
const declaration, but anyway
it compiled and worked fine, at least in AIX.
Thanks,
Mike
Robb Kambic <address@hidden> on 12/07/99 03:23:49 PM
To: Michael W Dross/Cust/DukePower@DukePower
cc: address@hidden, support-ldm <address@hidden>
Subject: Re: LDM 5.0.8 and pqing segmentation fault.
On Fri, 3 Dec 1999, Michael W Dross wrote:
>
>
> Hi,
>
> I upgraded to LDM 5.0.8 and have run into a problem. It is occuring on both
> Linux Red Hat and AIX 4.3 so I think it is a bug. When
> using pqing and specifing -P (port ) it gives me segmentation fault. Here is
> my command.
>
> pqing -f DDPLUS -P 5000 noaaport1
>
> This worked fine under 5.0.1 but segmentation faults now. If I just type
pqing
> -P 5000 it will segmentation fault.
>
> Has anyone else encountered this? If so is there a fix?
>
Mike,
Currently a define flag needs to be set in the LDM compile for the P
option to be available. This can be done by:
% setenv CC "cc -DNET"
Then build the LDM from a clean distribution or one will get old
configuration type problems.
I noticed in the man page for pqing that the P option was no longer
available. I don't know what this means, it appears the code is still
included in pqing.c but does it work?
Robb...
>
> Thanks!
>
> Mike Dross
> address@hidden
>
>
===============================================================================
Robb Kambic Unidata Program Center
Software Engineer III Univ. Corp for Atmospheric Research
address@hidden WWW: http://www.unidata.ucar.edu/
===============================================================================