php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11405 compile fails
Submitted: 2001-06-11 16:10 UTC Modified: 2001-07-22 13:08 UTC
From: nucci at cac dot psu dot edu Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.5 OS: AIX 4.3.3
Private report: No CVE-ID: None
 [2001-06-11 16:10 UTC] nucci at cac dot psu dot edu
Using AIX 4.3.3 (IBM) with IBM's visual age C compiler (vac) version 5:

        /bin/sh ../libtool --silent --mode=compile xlc -qnolm -DHAVE_CONFIG_H -I. -I. -I../main   -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21  -g -c zend_extensions.c
"zend_extensions.c", line 33.16: 1506-068 (S) Operation between types "void*" and "int" is not allowed.
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 1.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-11 22:29 UTC] sniper@php.net
Does this happen with PHP 4.0.6RC3:

http://www.php.net/~andi/php-4.0.6RC3.tar.gz

--Jani

 [2001-06-12 10:37 UTC] nucci at cac dot psu dot edu
Yes, I still get the same error with php 4.0.6RC3
 [2001-06-12 12:25 UTC] sniper@php.net
Exactly what line does this happen on??
That 33.16 doesn't seem to tell anything?? (I'm not familiar
with IBM's ideas of error messages..)

--Jani

 [2001-06-12 13:39 UTC] nucci at cac dot psu dot edu
33.16 is interpreted as line 33, column 16.

I am not sure if it is the 16th character in the line, or the 16th position from the absolute beginning. Anyway, line 33 is a start....
 [2001-06-12 19:12 UTC] sniper@php.net
Sounds like broken dlopen()..
Could this be of any help:

http://www.unixguide.net/ibm/faq/faq2.26.shtml

ie. Do you have that libdl.a somewhere in your system?





 [2001-06-13 10:22 UTC] nucci at cac dot psu dot edu
Sorry, this wasn't it....

# find /usr -name libdl.a  -print
/usr/lib/libdl.a
/usr/ccs/lib/libdl.a
/usr/ccs/lib/inst_updt/libdl.a

it seems like a type mismatch problem, but gcc doesn't seem to care. The real problem is I cannot successfully build apache with gcc (it wants xlc) and I can't mix gcc compiled php modules with xlc compiled apache.
 [2001-06-13 15:02 UTC] sniper@php.net
Could you please try making like this:

# CFLAGS=-G make 

--Jani

 [2001-06-13 15:15 UTC] nucci at cac dot psu dot edu
It gives a different error message:

        cd ..; xlc  -DAIX=43 -U__STR__ -DAIX_BIND_PROCESSOR -DMOD_SSL=206103 -DMOD_PERL -DUSE_PERL_SSI -qnolm -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -I/.../dce.psu.edu/fs/users/n/u/nucci/php-4.0.6RC3 -I/.../dce.psu.edu/fs/users/n/u/nucci/php-4.0.6RC3/main -I/.../dce.psu.edu/fs/users/n/u/nucci/php-4.0.6RC3/main -I/.../dce.psu.edu/fs/users/n/u/nucci/php-4.0.6RC3/Zend -I/.../dce.psu.edu/fs/users/n/u/nucci/php-4.0.6RC3/Zend -I/.../dce.psu.edu/fs/users/n/u/nucci/php-4.0.6RC3/TSRM -I/.../dce.psu.edu/fs/users/n/u/nucci/php-4.0.6RC3/TSRM -I/.../dce.psu.edu/fs/users/n/u/nucci/php-4.0.6RC3 -DEAPI -DEAPI_MM -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED -qnolm -G make `./apaci` -I. -I/usr/opt/perl5/lib/5.00503/aix/CORE -I./../../mm-1.0.12  -lm  -L/usr/ladmin/src/secserv/openssl-0.9.6 -L/usr/ladmin/src/secserv/rsaref-2.0/local -L./../../mm-1.0.12/.libs  -o helpers/dummy helpers/dummy.c   -L/usr/ladmin/mysql/lib/mysql  -L/usr/ladmin/mysql/lib/mysql -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4   -ldl -lmysqlclient -lcrypt -lbind -lm -ldl     -lssl -lcrypto -lRSAglue -lrsaref -bE:/usr/opt/perl5/lib/5.00503/aix/CORE/perl.exp -s /usr/opt/perl5/lib/5.00503/aix/auto/DynaLoader/DynaLoader.a -L/usr/opt/perl5/lib/5.00503/aix/CORE -lperl -lnsl -ldbm -ldl -lld -lm -lc -lcrypt -lbsd -lPW -lC_r -bE:./modules/perl/mod_perl.exp  -lmm
xlc: 1501-228 input file make not found
make: The error code from the last command is 252.


The message: 

  xlc: 1501-228 input file make not found

is likely the text 'make' appearing after the -G above. The xlc -G option is:

  -G        Tells the linkage editor to create a dynamic                 library.

I tried leaving off the make (CFLAGS=-G) but then received errors about entry points not found.




 [2001-06-13 15:49 UTC] sniper@php.net
Could you please try with latest CVS snapshot from
http://snaps.php.net/

as the HEAD branch used libtool 1.4 which might have
got this fixed..

--Jani

 [2001-07-22 13:08 UTC] andy@php.net
no feedback after 35+ days.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 01:01:28 2024 UTC