monit-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: monit/device sysdep_DARWIN.c


From: Martin Pala
Subject: Re: monit/device sysdep_DARWIN.c
Date: Mon, 07 Jul 2003 10:44:53 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030618 Debian/1.3.1-3

Rick Robino wrote:


On Sunday, July 6, 2003, at 03:31  PM, Martin Pala wrote:

CVSROOT:    /cvsroot/monit
Module name:    monit
Branch: Changes by: Martin Pala <address@hidden> 03/07/06 18:31:46

Modified files:
    device         : sysdep_DARWIN.c

Log message:
    MacOS X system dependent device methods added.
It is blind implementation (i don't have MacOS X) => i'm not sure whether it will work or not - please check it.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/monit/monit/device/ sysdep_DARWIN.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text



gcc -c -g -O2 -Wall -DREENTRANT -no-cpp-precomp -I/usr/include -DDARWIN -I. -I./device -I./http -I./process -I./protocols device/common_device.c -o device/common_device.o
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning: as it has already been specified as a non-system directory
In file included from device/common_device.c:58:
device/monit_device.h:23: parse error before "char"
device/monit_device.h:24: parse error before "char"
In file included from device/common_device.c:59:
device/monit_device_sysdep.h:23: parse error before "char"
device/monit_device_sysdep.h:24: warning: parameter names (without types) in function declaration
device/common_device.c:77: parse error before "devinfo"
device/common_device.c: In function `DeviceInfo_Path':
device/common_device.c:81: warning: implicit declaration of function `ASSERT' device/common_device.c:81: `devinfo' undeclared (first use in this function) device/common_device.c:81: (Each undeclared identifier is reported only once
device/common_device.c:81: for each function it appears in.)
device/common_device.c:82: `object' undeclared (first use in this function) device/common_device.c:85: warning: implicit declaration of function `log' device/common_device.c:85: `prog' undeclared (first use in this function) device/common_device.c:85: `STRERROR' undeclared (first use in this function)
device/common_device.c: At top level:
device/common_device.c:115: parse error before "devinfo"
device/common_device.c: In function `DeviceInfo_Usage':
device/common_device.c:117: `devinfo' undeclared (first use in this function) device/common_device.c:118: `object' undeclared (first use in this function) device/common_device.c:121: `prog' undeclared (first use in this function) device/common_device.c:122: `FALSE' undeclared (first use in this function)
make: *** [device/common_device.o] Error 1

Hi, thank you very much for test :)

It seems like no appropriate header files were included. I don't understand why - please get last CVS version (there were only cosmetic changes since first commitment which can't solve this problem i think, but please do it for code base synchronization) + do following in monit directory:

make devclean
./autogen.sh
make

If it won't help, i'm not able to solve it without Mac - i hope one of Mac developers (probably you) will be so nice and fix it.

Cheers,
Martin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]