|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2011-10-12 11:04 UTC] sanjay dot d dot patil at oracle dot com
Description:
------------
configurung with this command line parameters:
./configure --prefix=/usr/local --with-apxs2=/export/opt/quikremit/apache2/bin/apxs --with-config-file-path=/export/opt/quikremit/apache2/conf --with-gd --with-zlib-dir=/opt/freeware/lib --enable-shared --disable-static --with-png --with-zlib --with-bz2 --with-xml --with-jpeg-dir=/opt/freeware/lib --with-png-dir=/opt/freeware/lib --with-xpm-dir=/opt/freeware/lib --host=powerpc-ibm-aix6.1.0.0
after this i am running
make
But it is failing with below error code:
Assembler:
/tmp//ccksvqSL.s: line 1541: 1252-040 The specified expression is not valid.
Make sure that all symbols are defined.
Check the rules on symbols used in an arithmetic expression
concerning relocation.
make: *** [ext/date/lib/parse_tz.lo] Error 1
Test script:
---------------
make is failing on below code:
/bin/sh /export/opt/quikremit/pqapp/php/php-5.3.8/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -Iext/date/ -I/export/opt/quikremit/pqapp/php/php-5.3.8/ext/date/ -DPHP_ATOM_INC -I/export/opt/quikremit/pqapp/php/php-5.3.8/include -I/export/opt/quikremit/pqapp/php/php-5.3.8/main -I/export/opt/quikremit/pqapp/php/php-5.3.8 -I/export/opt/quikremit/pqapp/php/php-5.3.8/ext/date/lib -I/export/opt/quikremit/pqapp/php/php-5.3.8/ext/ereg/regex -I/usr/local/include/libxml2 -I/export/opt/quikremit/pqapp/php/php-5.3.8/ext/sqlite3/libsqlite -I/export/opt/quikremit/pqapp/php/php-5.3.8/TSRM -I/export/opt/quikremit/pqapp/php/php-5.3.8/Zend -I/usr/include -g -O2 -fvisibility=hidden -c /export/opt/quikremit/pqapp/php/php-5.3.8/ext/date/lib/parse_tz.c -o ext/date/lib/parse_tz.lo
Expected result:
----------------
make should be successful with no errors
Actual result:
--------------
Assembler:
/tmp//ccf46yBi.s: line 1541: 1252-040 The specified expression is not valid.
Make sure that all symbols are defined.
Check the rules on symbols used in an arithmetic expression
concerning relocation.
make: *** [ext/date/lib/parse_tz.lo] Error 1
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 23:00:01 2025 UTC |
Thanks, I followed your instructions i.e. Try disabling optimisation (-O0) instead of (-O2) while compiling. It worked for that file (parse_tz.lo). However I am encountering error for below file as make: *** [ext/phar/phar.php] Error 255 --detail error encountered as below:-- Generating phar.php exec(): 0509-036 Cannot load program /export/opt/quikremit/pqapp/php/php-5.3.8/sapi/cli/php because of the following errors: rtld: 0712-001 Symbol htmlDocDumpMemoryFormat was referenced from module php(), but a runtime definition of the symbol was not found. rtld: 0712-001 Symbol xmlTextReaderSetup was referenced from module php(), but a runtime definition of the symbol was not found. make: *** [ext/phar/phar.php] Error 255