|
Posted by Dan Rossi on 07/07/05 05:00
On 07/07/2005, at 11:43 AM, Rasmus Lerdorf wrote:
>>
>
> Yeah, the OSX build is a bit messed up right now. You can fix it
> manually by doing a copy-paste of the final link line and replace
> hello.lo with hello.o
>
> -Rasmus
>
>
thanks mate however I get file cannot be found, i even tried to symlink
it sneakily no luck
iElectro:/usr/share/php-5.1.0b2/ext/hello root# gcc -dynamic
-flat_namespace -bundle -undefined suppress -DPHP_ATOM_INC
-I/usr/share/php-5.1.0b2/ext/hello/include
-I/usr/share/php-5.1.0b2/ext/hello/main
-I/usr/share/php-5.1.0b2/ext/hello -I/usr/include/php
-I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend
-I/sw/include -DHAVE_CONFIG_H -I/sw/include -L/sw/lib -o hello.so
hello.o
gcc: hello.o: No such file or directory
gcc: no input files
with symlink
ld: hello.o bad magic number (not a Mach-O file)
Navigation:
[Reply to this message]
|