Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP compilation fails (Solaris 8 and GCC)

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
0
0
Hi there!

I`m having some trouble trying to compile PHP 4.1.2 with GCC 3.0.2 on a SUN Netra X1 with Solaris 8 and Apache 1.3.22. ./configure seems to work without problems but make performs the following errors:

Making all in Zend
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-D_POSIX_PTHREAD_SEMANTICS -I../TSRM -g -O2 -prefer-non-pic -static -c zend_
language_parser.c
/usr/ccs/bin/as: "/var/tmp/ccUvulSZ.s", line 15278: error: unknown opcode ".subs
ection"
/usr/ccs/bin/as: "/var/tmp/ccUvulSZ.s", line 15278: error: statement syntax
/usr/ccs/bin/as: "/var/tmp/ccUvulSZ.s", line 15624: error: unknown opcode ".prev
ious"
/usr/ccs/bin/as: "/var/tmp/ccUvulSZ.s", line 15624: error: statement syntax
*** Error code 1
make: Fatal error: Command failed for target `zend_language_parser.lo'
Current working directory /space/soft/php-4.1.2/Zend
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'

Any ideas on this?

Thanks in advance.

Floren

 
When using GCC 3.0.2 don't use compile tools from Sun, like as (usr/ccs/bin/as), install Gnu binutils, and make sure they are listed first in PATH, or you csn use GCC 2.95.3 with sun utilities.

Hope it helps,

Carlos Almeida.
 
Carlos eres un crack! funciono perfectamente.

Gracias por todo!

Floren
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top