#45673 [NEW]: sybase_ct php5 sybase-15_0 on 64-bit

From: Date: Fri, 01 Aug 2008 11:28:19 +0000
Subject: #45673 [NEW]: sybase_ct php5 sybase-15_0 on 64-bit
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-127463@lists.php.net to get a copy of this message
From: paulpierre dot brun at free dot fr Operating system: redhat 5.2 2.6.18-92.el5 x86_64 PHP version: 5.2.6 PHP Bug Type: Compile Failure Bug description: sybase_ct php5 sybase-15_0 on 64-bit Description: ------------ I need to compile extension PHP-sybase_ct ./configure --with-php-config=/usr/bin/php-config --with-sybase-ct=/home/sybase/OCS-15_0 at make commande I have error following. Same things whith corrections as ask in bug report #45357 sybase-ct fails against sybase-15_0 on 64-bit centos 5 . we are in php 5.1.6, the exention package for sybase_ct is 5.2.6 extension package. total 100 1887 jui 3 2007 config.m4 628 déc 19 2003 config.w32 45 nov 5 2002 CREDITS 1002 67711 déc 31 2007 php_sybase_ct.c 3787 déc 31 2007 php_sybase_ct.h 5024 jan 17 2004 sybase_ct.dsp 4096 avr 30 20:37 tests Reproduce code: --------------- config.m4 patch dnl SYBASE_CT_LIBS="-L$SYBASE_CT_LIBDIR -lcs -lct -lcomn -lintl" SYBASE_CT_LIBS="-L$SYBASE_CT_LIBDIR -lsybcs -lsybct -lsybcomn -lsybintl" Makefile SYBASE_CT_SHARED_LIBADD = -lsybtcl -lsybintl -lsybcomn -lsybct -lsybcsn -Wl,-rpath,/home/sybase/OCS-15_0/lib -L/home/sybase/OCS-15_0/lib Expected result: ---------------- make /bin/sh /export/logiciels/module_sybase_ct/sybase_ct/libtool --mode=compile gcc -I. -I/export/logiciels/module_sybase_ct/sybase_ct -DPHP_ATOM_INC -I/export/logiciels/module_sybase_ct/sybase_ct/include -I/export/logiciels/module_sybase_ct/sybase_ct/main -I/export/logiciels/module_sybase_ct/sybase_ct -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/export/home/toulouse/sgbdr/sybase/OCS-15_0/include -DHAVE_CONFIG_H -g -O2 -c /export/logiciels/module_sybase_ct/sybase_ct/php_sybase_ct.c -o php_sybase_ct.lo gcc -I. -I/export/logiciels/module_sybase_ct/sybase_ct -DPHP_ATOM_INC -I/export/logiciels/module_sybase_ct/sybase_ct/include -I/export/logiciels/module_sybase_ct/sybase_ct/main -I/export/logiciels/module_sybase_ct/sybase_ct -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/export/home/toulouse/sgbdr/sybase/OCS-15_0/include -DHAVE_CONFIG_H -g -O2 -c /export/logiciels/module_sybase_ct/sybase_ct/php_sybase_ct.c -fPIC -DPIC -o .libs/php_sybase_ct.o /export/logiciels/module_sybase_ct/sybase_ct/php_sybase_ct.c:41: warning: parameter names (without types) in function declaration /export/logiciels/module_sybase_ct/sybase_ct/php_sybase_ct.c:42: warning: parameter names (without types) in function declaration /export/logiciels/module_sybase_ct/sybase_ct/php_sybase_ct.c:108: error: 'sybase' undeclared here (not in a function) /export/logiciels/module_sybase_ct/sybase_ct/php_sybase_ct.c:108: error: initializer element is not constant /export/logiciels/module_sybase_ct/sybase_ct/php_sybase_ct.c:108: error: (near initialization for 'sybase_module_entry.post_deactivate_func') /export/logiciels/module_sybase_ct/sybase_ct/php_sybase_ct.c:109: error: initializer element is not constant /export/logiciels/module_sybase_ct/sybase_ct/php_sybase_ct.c:109: error: (near initialization for 'sybase_module_entry.globals_id') /export/logiciels/module_sybase_ct/sybase_ct/php_sybase_ct.c:110: error: initializer element is not constant /export/logiciels/module_sybase_ct/sybase_ct/php_sybase_ct.c:110: error: (near initialization for 'sybase_module_entry.module_started') /export/logiciels/module_sybase_ct/sybase_ct/php_sybase_ct.c:111: warning: initialization makes integer from pointer without a cast /export/logiciels/module_sybase_ct/sybase_ct/php_sybase_ct.c:112: warning: excess elements in struct initializer /export/logiciels/module_sybase_ct/sybase_ct/php_sybase_ct.c:112: warning: (near initialization for 'sybase_module_entry') /export/logiciels/module_sybase_ct/sybase_ct/php_sybase_ct.c:112: warning: excess elements in struct initializer /export/logiciels/module_sybase_ct/sybase_ct/php_sybase_ct.c:112: warning: (near initialization for 'sybase_module_entry') /export/logiciels/module_sybase_ct/sybase_ct/php_sybase_ct.c:113: warning: excess elements in struct initializer /export/logiciels/module_sybase_ct/sybase_ct/php_sybase_ct.c:113: warning: (near initialization for 'sybase_module_entry') /export/logiciels/module_sybase_ct/sybase_ct/php_sybase_ct.c: In function 'PHP_GINIT_FUNCTION': /export/logiciels/module_sybase_ct/sybase_ct/php_sybase_ct.c:394: error: invalid type argument of '->' /export/logiciels/module_sybase_ct/sybase_ct/php_sybase_ct.c:394: error: invalid type argument of '->' /export/logiciels/module_sybase_ct/sybase_ct/php_sybase_ct.c:399: error: invalid type argument of '->' /export/logiciels/module_sybase_ct/sybase_ct/php_sybase_ct.c:403: error: invalid type argument of '->' /export/logiciels/module_sybase_ct/sybase_ct/php_sybase_ct.c:415: error: invalid type argument of '->' /export/logiciels/module_sybase_ct/sybase_ct/php_sybase_ct.c:430: error: invalid type argument of '->' /export/logiciels/module_sybase_ct/sybase_ct/php_sybase_ct.c:435: error: invalid type argument of '->' /export/logiciels/module_sybase_ct/sybase_ct/php_sybase_ct.c:436: error: invalid type argument of '->' /export/logiciels/module_sybase_ct/sybase_ct/php_sybase_ct.c: In function 'PHP_GSHUTDOWN_FUNCTION': /export/logiciels/module_sybase_ct/sybase_ct/php_sybase_ct.c:442: error: invalid type argument of '->' /export/logiciels/module_sybase_ct/sybase_ct/php_sybase_ct.c:443: error: invalid type argument of '->' /export/logiciels/module_sybase_ct/sybase_ct/php_sybase_ct.c: In function 'php_sybase_do_connect': /export/logiciels/module_sybase_ct/sybase_ct/php_sybase_ct.c:794: warning: cast from pointer to integer of different size /export/logiciels/module_sybase_ct/sybase_ct/php_sybase_ct.c: In function 'php_sybase_fetch_result_row': /export/logiciels/module_sybase_ct/sybase_ct/php_sybase_ct.c:1150: warning: cast to pointer from integer of different size make: *** [php_sybase_ct.lo] Erreur 1 -- Edit bug report at http://bugs.php.net/?id=45673&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45673&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45673&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45673&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=45673&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=45673&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=45673&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=45673&r=needscript Try newer version: http://bugs.php.net/fix.php?id=45673&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=45673&r=support Expected behavior: http://bugs.php.net/fix.php?id=45673&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=45673&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=45673&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=45673&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45673&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=45673&r=dst IIS Stability: http://bugs.php.net/fix.php?id=45673&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=45673&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=45673&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=45673&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=45673&r=mysqlcfg

« previous php.bugs (#127463) next »