From: Jost B. <jos...@ya...> - 2005-09-18 12:43:52
|
Hi Jim, > RH 9.0 > PHP 4.4.0 Well, PHP4.4 has a different ABI than 4.3.2, the java.so must be compiled against this ABI. So I guess the only remaining problem is that we cannot compile the bridge on RH9 because the autotools are too old. It is possible to compile the code without them, the windows binary is cross-compiled on a linux machine this way. The compile/link command used to create the windows .dll is: # compile source i386-pc-mingw32-gcc -w -I../include -I. -I../php-5.0.3/ -I../php-5.0.3/main -I../php-5 .0.3/Zend -I../php-5.0.3/TSRM \ -D"TSRM_EXPORTS" -D"LIBZEND_EXPORTS" -D"ZTS" -D"_MBCS" \ -DCOMPILE_DL_JAVA -DCFG_JAVA_SOCKET_INET -DEXTENSION_DIR=\"$EXTENSION_DIR\" \ -c bind.c client.c init_cfg.c java_bridge.c java.c parser.c protocol.c # link php-java.dll i386-pc-mingw32-dllwrap --enable-stdcall-fixup --export-all-symbols -k -o../php5/php_ java.dll *.o -L../lib -lphp5ts -lws2_32 The command to build the linux .so should look similar. I will test this and send you the instruction(s). Regards, Jost Boekemeier ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |