[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ip.c 'CF_MAXHOSTAMELEN' undeclared was Re: proto.c usage of sockadd
From: |
Mark Burgess |
Subject: |
Re: ip.c 'CF_MAXHOSTAMELEN' undeclared was Re: proto.c usage of sockaddr_in6 for Mac OS X platform |
Date: |
Sun, 19 Feb 2006 09:27:10 +0100 |
Thanks - this is a typo under conditional compilation so i didn't notice
it under testing. Fixed now - try again.
M
On Sat, 2006-02-18 at 21:40 -0500, Marcia Goetsch wrote:
> I also had this problem on Mac OS X 10.4.5 with Xcode 2.2.1 and tried the
> current snapshot as you suggested. That led me to this error:
>
> ip.c: In function 'IPString2Hostname':
> ip.c:341: error: parse error before ';' token
> ip.c:353: error: 'CF_MAXHOSTAMELEN' undeclared (first use in this function)
> ip.c:353: error: (Each undeclared identifier is reported only once
> ip.c:353: error: for each function it appears in.)
>
> Are there any Mac OS X Tiger versions or snapshots available?
>
> Marcia
>
> On 1/23/06 1:43 PM, "Mark Burgess" <Mark.Burgess@iu.hio.no> wrote:
>
> >
> > This problem is already patched in the svn repository or the current
> > snapshot. Please upgrade to solve the problem
> >
> > M
> >
> > On Mon, 2006-01-23 at 08:47 -0800, Veronica Siu-Suen Law wrote:
> >> Hi there,
> >>
> >>
> >> I have previously submitted an inquiry about an issue with CFengine
> >> 2.1.18 built on Mac OS 10.4.3 but didn't hear any response. I thought
> >> to try resending it.
> >>
> >>
> >> On line 66 of proto.c, a variable was set to sockaddr_in6. When
> >> compiled under Mac OS 10.4.3, this code had a problem and it
> >> complained it didn't have a member. I checked the codes in sockaddr.c
> >> and found that there are exception clauses regarding the Darwin
> >> platform with sockaddr_in6. Could that be the problem?
> >>
> >>
> >> Does anyone else ran into this issue? I have to set the variable in
> >> proto.c to sockaddr_in to get the code complied.
> >>
> >>
> >> Veronica
> >> Veronica Siu-Suen Law
> >>
> >> AMTI/NASA Ames
> >> Moffett Field, CA 94035
> >> (650)604-1997
> >>
> >>
> >> _______________________________________________
> >> Help-cfengine mailing list
> >> Help-cfengine@gnu.org
> >> http://lists.gnu.org/mailman/listinfo/help-cfengine
> >
> >
> >
> > _______________________________________________
> > Help-cfengine mailing list
> > Help-cfengine@gnu.org
> > http://lists.gnu.org/mailman/listinfo/help-cfengine
>