Cygwin compile problem

Bug #235333 reported by Dan Shearer
2
Affects Status Importance Assigned to Milestone
daevel
Undecided
Unassigned

Bug Description

From: "Noel Massey"
Subject: daevel compile problem in cygwin
To: <email address hidden>

Hi Dan,
Are you familiar with the following problem when compiling daevel in
cygwin? Please let me know what I am doing wrong or if there is a fix.
Thanks,
-Noel

in <global.h> I changed 2 lines

#define CYGWIN 1
#define UNIX 0

but when I try to build (using gcc version 3.4.4)
$ make
gcc -o daemon -g -Wall daemon.c log.c util.c lockfile.c socket.c
confdata.c daemon-child-
func.c
daemon.c: In function `dead_child':
daemon.c:66: error: `__WAIT_STATUS_DEFN' undeclared (first use in this function)
daemon.c:66: error: (Each undeclared identifier is reported only once
daemon.c:66: error: for each function it appears in.)
daemon.c:66: error: parse error before "res"
daemon.c:73: error: `res' undeclared (first use in this function)
make: *** [daemon] Error 1

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers