ID: 45673 Updated by: [EMAIL PROTECTED] Reported By: paulpierre dot brun at free dot fr -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: redhat 5.2 2.6.18-92.el5 x86_64 PHP Version: 5.2.6 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2008-08-01 11:28:18] paulpierre dot brun at free dot fr 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 this bug report at http://bugs.php.net/?id=45673&edit=1
