delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/01/15/07:22:29

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:from:date:message-id:subject:to
:content-type:content-transfer-encoding; q=dns; s=default; b=dg8
FRjRbXROtATQblK0hPbO/bNQ99Ec1NW75TSffFTXuBWuemoUkK1+jA1EtRYW/z40
KTak5XbvokXTtRGSOZv3H8P0YHCJC0m5N+nkqDzVFakvDdPaZQhYmbETYURd3xM9
gIoetOWpGN4ZnAsnEVkvkg6c8G4DXxRlt+vS5unk=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:from:date:message-id:subject:to
:content-type:content-transfer-encoding; s=default; bh=pyLr5rP/j
tEriUrqRzO1ndwLJ0c=; b=DBbpZJaQKUhSyJTSmtGJPCA0ZjI61om+aZ1ink0gX
wj1Oxs9aLn6yAAgoPDAqOkL8UzFC8K7M9VB+DzTRhu1PlB5anAAtCKGT4HthitB2
FNmwOnpwznUlncF7dBxjqFIiS+Q+zBdzZ2EP93CuaFGjnX3RObg745/ng6rU+gRf
Mk=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=3.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=py, H*c:alternative, Errors, ssl
X-HELO: mail-it0-f44.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=eSFwBojjgR6RAtJFkPxqJj4kKG8L9zITg1pp7flP/6Y=; b=uiCF/66PuEJGx+fh4PHCsaTnDD5KqUGlYoKG/IgouvhCAJe8iLWkH1XfRjXcA7g3o1 i8Y37uYZQMge91EsFyjhupjlQLv4zmXQHsXWA/pFJSgyY2qijSSp71nsj24S7eka+hy7 LZMDXmnvzTFNDD5t6PUgG8+WtFgwy436bIQ+GKMNSAc+/aI4Zf2RobJI/01tuo5y5xN9 63rT09hzdce0NcGil7f7x6ID0HJoHDARG46nRIs/2dfeHOQ0m36dPsGcegzK+xw+6F/2 /6mEmqO/C3683YUP50A7i+OA7g4iuMmiQDw7apXsQxywb2x0ucksbB2x8vTSBdTyKE6M Ff9A==
X-Gm-Message-State: AKwxyteMeh5GhMkntA0AtoKKxLEA0b21BAeX6mZ8HXGGGuyQSbDZHDUT JCy32Sk025lZBMxJpCtiFFCaW7LzJNpCeXQSJZsLyQ==
X-Google-Smtp-Source: ACJfBouop1cVgQYukIH1YKUv0qChvhGHrGth/N7TBH6sKX5UP4rbAC74ROTTAjOYGLLiWol102bnlNKWocbXgilqquw=
X-Received: by 10.36.138.134 with SMTP id v128mr14541193itd.153.1516018934657; Mon, 15 Jan 2018 04:22:14 -0800 (PST)
MIME-Version: 1.0
From: =?UTF-8?Q?Kizito_Porta_Balany=C3=A0?= <kfeina AT gmail DOT com>
Date: Mon, 15 Jan 2018 13:22:14 +0100
Message-ID: <CAO2ddnbkToGBYwZuUGfaxr1_NO1qcPzwS+j=tO5C_+jxCos4qA@mail.gmail.com>
Subject: Monit Compilation Errors
To: cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id w0FCMReX016057

Hello all,

I'm trying to compile the last version of MONIT and I get some errors that
I can not solve.

Basically I get errors like: expected identifier or ‘(’ before numeric
constant, but reviewing the code I don't see any wrong, beside that the
sources compile correctly with Linux, AIX, etc ...

Can you help me? Do you have any clue?

I show you the errors obtained:

gcc -DHAVE_CONFIG_H -I. -I./src    -DCYGWIN
-DSYSCONFDIR="\"/usr/local/etc\"" -I./src -I./src/device -I./src/http
-I./src/process -I./src/protocols -I./src/ssl -I./libmonit/src
-Wno-address -Wno-pointer-sign -g -O2 -Wall -Wunused -Wno-unused-label
-funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -c -o src/y.tab.o
src/y.tab.c
<command-line>:0:6: error: expected identifier or ‘(’ before numeric
constant
src/monit.h:581:19: note: in expansion of macro ‘unix’
                 } unix;
                   ^~~~
<command-line>:0:6: error: expected identifier or ‘(’ before numeric
constant
src/monit.h:1129:27: note: in expansion of macro ‘unix’
                         } unix;
                           ^~~~
In file included from src/net.h:30:0,
                 from src/p.y:116:
src/monit.h:1130:17: warning: no semicolon at end of struct or union
                 } socket;
                 ^
src/p.y: In function ‘yyparse’:
<command-line>:0:6: error: expected identifier before numeric constant
src/p.y:740:42: note: in expansion of macro ‘unix’
                         Run.httpd.socket.unix.path = $4;
                                          ^~~~
<command-line>:0:6: error: expected identifier before numeric constant
src/p.y:1154:40: note: in expansion of macro ‘unix’
                         portset.target.unix.pathname = $2;
                                        ^~~~
src/p.y: In function ‘addport’:
<command-line>:0:6: error: expected identifier before numeric constant
src/p.y:2765:27: note: in expansion of macro ‘unix’
                 p->target.unix.pathname = port->target.unix.pathname;


Thanks in advance, and have a new good year,

Regards.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019