Hi
When i try building the downloaded version I get following compile
errors during make. config did run ok. I am on Mac OSX.
Darwin anthos-mac.local 7.8.0 Darwin Kernel Version 7.8.0: Wed Dec 22
14:26:17 PST 2004; root:xnu/xnu-517.11.1.obj~1/RELEASE_PPC Power
Macintosh powerpc
... php-java-bridge-2.0.5]$ make
/bin/sh
/Users/anthos/projects/php-java-bridge/php-java-bridge-2.0.5/libtool
--mode=compile gcc
-DEXTENSION_DIR="\"/opt/local/lib/php/extensions/no-debug-non-zts
-20040412\"" -I.
-I/Users/anthos/projects/php-java-bridge/php-java-bridge-2.0.5
-DPHP_ATOM_INC
-I/Users/anthos/projects/php-java-bridge/php-java-bridge-2.0.5/include
-I/Users/anthos/projects/php-java-bridge/php-java-bridge-2.0.5/main
-I/Users/anthos/projects/php-java-bridge/php-java-bridge-2.0.5
-I/opt/local/include/php -I/opt/local/include/php/main
-I/opt/local/include/php/Zend -I/opt/local/include/php/TSRM
-I/Library/Java/Home//include -DHAVE_CONFIG_H -g -O2 -prefer-pic -c
/Users/anthos/projects/php-java-bridge/php-java-bridge-2.0.5/
multicast.c -o multicast.lo
gcc
-DEXTENSION_DIR=\"/opt/local/lib/php/extensions/no-debug-non-zts
-20040412\" -I.
-I/Users/anthos/projects/php-java-bridge/php-java-bridge-2.0.5
-DPHP_ATOM_INC
-I/Users/anthos/projects/php-java-bridge/php-java-bridge-2.0.5/include
-I/Users/anthos/projects/php-java-bridge/php-java-bridge-2.0.5/main
-I/Users/anthos/projects/php-java-bridge/php-java-bridge-2.0.5
-I/opt/local/include/php -I/opt/local/include/php/main
-I/opt/local/include/php/Zend -I/opt/local/include/php/TSRM
-I/Library/Java/Home//include -DHAVE_CONFIG_H -g -O2 -c
/Users/anthos/projects/php-java-bridge/php-java-bridge-2.0.5/
multicast.c -fno-common -DPIC -o .libs/multicast.o
/Users/anthos/projects/php-java-bridge/php-java-bridge-2.0.5/
multicast.c: In function `php_java_init_multicast':
/Users/anthos/projects/php-java-bridge/php-java-bridge-2.0.5/
multicast.c:24: error: storage size of `ip_mreqn' isn't known
/Users/anthos/projects/php-java-bridge/php-java-bridge-2.0.5/
multicast.c:37: error: `SOL_IP' undeclared (first use in this function)
/Users/anthos/projects/php-java-bridge/php-java-bridge-2.0.5/
multicast.c:37: error: (Each undeclared identifier is reported only
once
/Users/anthos/projects/php-java-bridge/php-java-bridge-2.0.5/
multicast.c:37: error: for each function it appears in.)
make: *** [multicast.lo] Error 1
|