commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JsD <jpyobjcd...@gmail.com>
Subject Compiling jsvc Win32
Date Sat, 28 Apr 2007 19:48:26 GMT
Hello,

I am trying to compile from source on Windows XP using Cygwin.

I have installed the latest make, autoconf, gcc in cygwin environment.

The configure runs fine.

When I try to make I get the following:

/cygdrive/c/_other/_s/java/daemon-1.0.1/src/native/unix
$ make
make -C native all
make[1]: Entering directory `/cygdrive/c/_other/_s/java/daemon-1.0.1
/src/native/unix/native'
gcc -g -O2 -DOS_CYGWIN -DDSO_DLFCN -DNO_SETSID -DCPU=\"i386\"
-I/cygdrive/c/jdk1.5.0_11/include -I/cygdrive/c/jdk1.5.0_11/include/win32
-Wall -Wstrict-prototypes -c jsvc-unix.c -o jsvc-unix.o
jsvc-unix.c:229: warning: function declaration isn't a prototype
jsvc-unix.c: In function `check_pid':
jsvc-unix.c:279: warning: implicit declaration of function `lockf'
jsvc-unix.c:279: error: `F_LOCK' undeclared (first use in this function)
jsvc-unix.c:279: error: (Each undeclared identifier is reported only once
jsvc-unix.c:279: error: for each function it appears in.)
jsvc-unix.c:286: error: `F_ULOCK' undeclared (first use in this function)
jsvc-unix.c: In function `get_pidf':
jsvc-unix.c:321: error: `F_LOCK' undeclared (first use in this function)
jsvc-unix.c:323: error: `F_ULOCK' undeclared (first use in this function)
jsvc-unix.c: In function `wait_child':
jsvc-unix.c:405: error: `F_LOCK' undeclared (first use in this function)
jsvc-unix.c:407: error: `F_ULOCK' undeclared (first use in this function)
jsvc-unix.c: In function `main':
jsvc-unix.c:693: warning: implicit declaration of function `SetTerm'
make[1]: *** [jsvc-unix.o] Error 1
make[1]: Leaving directory `/cygdrive/c/_other/_s/java/daemon-1.0.1
/src/native/unix/native'
make: *** [native/all] Error 2
~end~

Any help is greatly appreciated. I would love to run this on *nix but I am
unfortunately stuck with windoze at this point :(

Thanks,
JsD

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message