Click to See Complete Forum and Search --> : PHP make problem


Anon
09-03-2001, 10:13 PM
In installing PHP, after executing "make", I got the following error. Does any one kknow how to solve this problem?

Thanks


Making all in Zend
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-D_POSIX_PTHREAD_SEMANTICS -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c zend_language_scanner.c
/usr/ccs/bin/as: "/var/tmp/ccomvy3Z.s", line 29507: error: unknown opcode ".subs
ection"
/usr/ccs/bin/as: "/var/tmp/ccomvy3Z.s", line 29507: error: statement syntax
/usr/ccs/bin/as: "/var/tmp/ccomvy3Z.s", line 29665: error: unknown opcode ".prev
ious"
/usr/ccs/bin/as: "/var/tmp/ccomvy3Z.s", line 29665: error: statement syntax
*** Error code 1
make: Fatal error: Command failed for target `zend_language_scanner.lo'
Current working directory /home/vendor/source/php-4.0.6/Zend
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'

Anon
10-16-2001, 05:50 AM
Hi Jason,

I also got the same problem as you mentioned.
Have you got any solution about this? Would you please suggest a solution for me?

Thank you

Anon
10-16-2001, 06:14 AM
It's been a long time since I posted the message. I remember that I solved this problem in a stupid way. I tried to install PHP in another machine and it worked. I then copied the *.lo and *.o files from that machine and pasted them to the machine that wouldn't work and recompiled angain. It worked. I don't know why.

Hope this helps.

Jason