[Top][All Lists]

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

Re: compile error, please help

From: Martin Pala
Subject: Re: compile error, please help
Date: Fri, 05 Nov 2004 21:04:21 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041007 Debian/1.7.3-5

Thanks for report :) This problem was caused by missing header.

Here is patch which will fix it. The change is in cvs too ... debian-sid and fedora-core2 should not be affected by this bug (monit-4.4 was tested on it)


Duane Cox wrote:
I want to use monit to monitor my BIND daemon.
When compiling monit on the server, I get this error.

gcc -c -g -O2 -Wall -D
_REENTRANT -DLINUX  -I. -I./device -I./http -I./process -I./protocols
process/sysdep_LINUX.c -o process/sysdep_LINUX.o
process/sysdep_LINUX.c: In function `init_process_info_sysdep':
process/sysdep_LINUX.c:131: error: `errno' undeclared (first use in this
process/sysdep_LINUX.c:131: error: (Each undeclared identifier is reported
only once
process/sysdep_LINUX.c:131: error: for each function it appears in.)
make: *** [process/sysdep_LINUX.o] Error 1

address@hidden:/usr/src/monit/monit-4.4# gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/specs
Configured with:
../gcc-3.3.4/configure --prefix=/usr --enable-shared --enable-threads=posix
--enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++
Thread model: posix
gcc version 3.3.4

glibc version 2.3.3

Duane Cox

To unsubscribe:

Attachment: monit-4.4_errno.patch
Description: application/unknown

reply via email to

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