ID:               37830
 User updated by:  douglas at gpc dot edu
 Reported By:      douglas at gpc dot edu
 Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: Solaris 10
 PHP Version:      5.1.4
 New Comment:

I found the solution. Need to add "-xcode=pic32" to
the graphics and other programs used in php. You then
also need to add this to apache and php. So you would
have "-xarch=v9 -xcode=pic32". Note that openssl uses
-KPIC, which is obsolete. I do not believe there is
any diff. between the two, but I will post this to the
openssl people so they will be aware. Thanks!


Previous Comments:
------------------------------------------------------------------------

[2006-06-19 11:23:06] [EMAIL PROTECTED]

/usr/local/lib/libgd.a has nothing to do with PHP.
Not PHP problem -> bogus.

------------------------------------------------------------------------

[2006-06-16 21:33:28] douglas at gpc dot edu

Description:
------------
I am compiling on Sun Solaris 10 using the Sun C
compiler 5.8 2005/10/13. I am compiled httpd-2.2.2
and am attempting to compile php-5.1.4. The config
appears to be ok and the compile gives the error (last
few lines of compile output):

o main/internal_functions.lo -lmysqlclient -lldap -llber -lintl -lgd
-lt1 -lfree
type -lX11 -lXpm -lpng -lz -ljpeg -lbz2 -lz -lresolv -lm -lnsl -lsocket
-lxml2 -
lz -lm -lsocket -lnsl -lssl -lcrypto -lsocket -lnsl -ldl -lxml2 -lz -lm
-lsocket
 -lnsl -lxml2 -lz -lm -lsocket -lnsl -lxml2 -lz -lm -lsocket -lnsl
-lxml2 -lz -l
m -lsocket -lnsl -lxml2 -lz -lm -lsocket -lnsl  -o libphp5.la
ld: fatal: relocation error: R_SPARC_H44: file
/usr/local/lib/libgd.a(gd.o): sym
bol <unknown>: relocations based on the ABS44 coding model can not be
used in bu
ilding a shared object
make: *** [libphp5.la] Error 1





------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=37830&edit=1

Reply via email to