ID: 21705 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: *Configuration Issues Operating System: Solaris 2.8 PHP Version: 4.3.0 New Comment:
there was a libtool install that was used instead the libtool generated by configured Previous Comments: ------------------------------------------------------------------------ [2003-01-16 21:17:01] [EMAIL PROTECTED] Configured with CC=cc\ CXX=CC\ CFLAGS="-O -I/usr/local/include"\ CXXFLAGS="-O -I/usr/local/include"\ LDFLAGS="-s -R/usr/local/lib: -L/usr/local/lib"\ ./configure\ --prefix=/usr/local\ --enable-wddx\ --enable-xml\ --enable-pear\ --disable-debug\ --with-apxs\ --enable-dba\ --with-mysql\ --with-zlib=/usr/local\ --with-gdbm=/usr/local\ --with-db3=/usr/local\ --with-dbm\ --with-gd\ --with-ttf\ --with-jpeg-dir=/usr/local/lib\ --with-png-dir=/usr/local/lib\ --with-xpm-dir=/usr/local/lib\ --with-freetype-dir=/usr/local/lib\ --enable-sysvsem\ --enable-sysvshm\ --with-imap=../imap-2002b\ --with-tsrm-pthreads i see: (cut & past only what i think is related...) --------------------------------------------- . . . checking for gcc... cc checking whether the C compiler (cc -O -I/usr/local/include -s -R/usr/local/lib: -L/usr/local/lib) works... yes checking whether the C compiler (cc -O -I/usr/local/include -s -R/usr/local/lib: -L/usr/local/lib) is a cross-compiler... no checking whether we are using GNU C... no checking whether cc accepts -g... yes checking whether cc understands -c and -o together... yes checking how to run the C preprocessor... cc -E . . . . . checking for cc option to produce PIC... -KPIC checking if cc PIC flag -KPIC works... yes ------------------------------------------------------- configure works 'fine' it does ends with this error but no big deal: ./config.status[1994]: 6: bad file unit number ./config.status[1995]: 6: bad file unit number then i do a 'make' -------------------------------------------------------- /bin/sh libtool --silent --mode=compile cc -Iext/zlib/ -I/projects/solaris_packages/compile/php-4.3.0/ext/zlib/ -DPHP_ATOM_INC -I/projects/solaris_packages/compile/php-4.3.0/include -I/projects/solaris_packages/compile/php-4.3.0/main -I/projects/solaris_packages/compile/php-4.3.0 -I/projects/solaris_packages/compile/php-4.3.0/Zend -I/usr/local/include -I/usr/local/include/freetype2 -I/projects/solaris_packages/compile/imap-2002b/c-client -I/projects/solaris_packages/compile/php-4.3.0/ext/xml/expat -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280 -DMOD_SSL=208112 -DEAPI -DEAPI_MM -DUSE_EXPAT -I/projects/solaris_packages/compile/php-4.3.0/TSRM -O -I/usr/local/include -prefer-pic -c /projects/solaris_packages/compile/php-4.3.0/ext/zlib/zlib.c -o ext/zlib/zlib.lo cc: Warning: illegal option -fPIC "/projects/solaris_packages/compile/php-4.3.0/ext/zlib/zlib.c", line 441: warning: argument #1 is incompatible with prototype: prototype: pointer to unsigned char : "/usr/local/include/zlib.h", line 623 argument : pointer to char "/projects/solaris_packages/compile/php-4.3.0/ext/zlib/zlib.c", line 441: warning: argument #3 is incompatible with prototype: prototype: pointer to const unsigned char : "/usr/local/include/zlib.h", line 623 argument : pointer to char "/projects/solaris_packages/compile/php-4.3.0/ext/zlib/zlib.c", line 443: warning: argument #1 is incompatible with prototype: prototype: pointer to unsigned char : "/usr/local/include/zlib.h", line 608 argument : pointer to char "/projects/solaris_packages/compile/php-4.3.0/ext/zlib/zlib.c", line 443: warning: argument #3 is incompatible with prototype: prototype: pointer to const unsigned char : "/usr/local/include/zlib.h", line 608 argument : pointer to char "/projects/solaris_packages/compile/php-4.3.0/ext/zlib/zlib.c", line 499: warning: argument #1 is incompatible with prototype: prototype: pointer to unsigned char : "/usr/local/include/zlib.h", line 638 argument : pointer to char "/projects/solaris_packages/compile/php-4.3.0/ext/zlib/zlib.c", line 499: warning: argument #3 is incompatible with prototype: prototype: pointer to const unsigned char : "/usr/local/include/zlib.h", line 638 argument : pointer to char "/projects/solaris_packages/compile/php-4.3.0/ext/zlib/zlib.c", line 556: warning: assignment type mismatch: pointer to unsigned char "=" pointer to char "/projects/solaris_packages/compile/php-4.3.0/ext/zlib/zlib.c", line 635: warning: assignment type mismatch: pointer to unsigned char "=" pointer to char "/projects/solaris_packages/compile/php-4.3.0/ext/zlib/zlib.c", line 833: warning: assignment type mismatch: pointer to unsigned char "=" pointer to char ------------------------------------------------------------ - it uses the wrong flags fPIC is for gcc not Forte C - as i have zlib installed and specify to use system system it still uses the one from php and therefor the error ---- Am i doing somethign wrong? check with 4.2.3 and works just fine thanks! ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21705&edit=1