JustinCr123
New Member
.../php-5.2.6/ext/bcmath
Soweit ging alles glatt, aber wenn ich das dann kompilieren will...
> make
Kann mir da irgendwer sagen woran das liegt und was ich tun muss?
Hab bisher keine gescheite Hilfe dazu gefunden =(
(Hab ubuntu6.06 am laufen)
Code:
./configure --prefix=/opt/php5_ext
> make
Code:
/bin/sh /opt/php-5.2.6/ext/bcmath/libtool --mode=compile gcc -I/opt/php-5.2.6/ext/bcmath/libbcmath/src -I. -I/opt/php-5.2.6/ext/bcmath -DPHP_ATOM_INC -I/opt/php-5.2.6/ext/bcmath/include -I/opt/php-5.2.6/ext/bcmath/main -I/opt/php-5.2.6/ext/bcmath -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -DHAVE_CONFIG_H -g -O2 -c /opt/php-5.2.6/ext/bcmath/bcmath.c -o bcmath.lo
mkdir .libs
gcc -I/opt/php-5.2.6/ext/bcmath/libbcmath/src -I. -I/opt/php-5.2.6/ext/bcmath -DPHP_ATOM_INC -I/opt/php-5.2.6/ext/bcmath/include -I/opt/php-5.2.6/ext/bcmath/main -I/opt/php-5.2.6/ext/bcmath -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -DHAVE_CONFIG_H -g -O2 -c /opt/php-5.2.6/ext/bcmath/bcmath.c -fPIC -DPIC -o .libs/bcmath.o
/opt/php-5.2.6/ext/bcmath/bcmath.c:35: warning: parameter names (without types) in function declaration
/opt/php-5.2.6/ext/bcmath/bcmath.c:36: warning: parameter names (without types) in function declaration
/opt/php-5.2.6/ext/bcmath/bcmath.c:132: error: 'bcmath' undeclared here (not in a function)
/opt/php-5.2.6/ext/bcmath/bcmath.c:132: error: initializer element is not constant
/opt/php-5.2.6/ext/bcmath/bcmath.c:132: error: (near initialization for 'bcmath_module_entry.post_deactivate_func')
/opt/php-5.2.6/ext/bcmath/bcmath.c:133: error: initializer element is not constant
/opt/php-5.2.6/ext/bcmath/bcmath.c:133: error: (near initialization for 'bcmath_module_entry.globals_id')
/opt/php-5.2.6/ext/bcmath/bcmath.c:134: error: initializer element is not constant
/opt/php-5.2.6/ext/bcmath/bcmath.c:134: error: (near initialization for 'bcmath_module_entry.module_started')
/opt/php-5.2.6/ext/bcmath/bcmath.c:135: warning: initialization makes integer from pointer without a cast
/opt/php-5.2.6/ext/bcmath/bcmath.c:136: warning: excess elements in struct initializer
/opt/php-5.2.6/ext/bcmath/bcmath.c:136: warning: (near initialization for 'bcmath_module_entry')
/opt/php-5.2.6/ext/bcmath/bcmath.c:136: warning: excess elements in struct initializer
/opt/php-5.2.6/ext/bcmath/bcmath.c:136: warning: (near initialization for 'bcmath_module_entry')
/opt/php-5.2.6/ext/bcmath/bcmath.c:137: warning: excess elements in struct initializer
/opt/php-5.2.6/ext/bcmath/bcmath.c:137: warning: (near initialization for 'bcmath_module_entry')
/opt/php-5.2.6/ext/bcmath/bcmath.c:145: error: 'OnUpdateLongGEZero' undeclared here (not in a function)
/opt/php-5.2.6/ext/bcmath/bcmath.c: In function 'PHP_GINIT_FUNCTION':
/opt/php-5.2.6/ext/bcmath/bcmath.c:153: error: invalid type argument of '->'
/opt/php-5.2.6/ext/bcmath/bcmath.c:153: error: request for member 'bc_precision' in something not a structure or union
/opt/php-5.2.6/ext/bcmath/bcmath.c: In function 'PHP_GSHUTDOWN_FUNCTION':
/opt/php-5.2.6/ext/bcmath/bcmath.c:162: error: invalid type argument of '->'
/opt/php-5.2.6/ext/bcmath/bcmath.c:162: error: request for member '_zero_' in something not a structure or union
/opt/php-5.2.6/ext/bcmath/bcmath.c:162: warning: passing argument 1 of '_bc_free_num_ex' from incompatible pointer type
/opt/php-5.2.6/ext/bcmath/bcmath.c:163: error: invalid type argument of '->'
/opt/php-5.2.6/ext/bcmath/bcmath.c:163: error: request for member '_one_' in something not a structure or union
/opt/php-5.2.6/ext/bcmath/bcmath.c:163: warning: passing argument 1 of '_bc_free_num_ex' from incompatible pointer type
/opt/php-5.2.6/ext/bcmath/bcmath.c:164: error: invalid type argument of '->'
/opt/php-5.2.6/ext/bcmath/bcmath.c:164: error: request for member '_two_' in something not a structure or union
/opt/php-5.2.6/ext/bcmath/bcmath.c:164: warning: passing argument 1 of '_bc_free_num_ex' from incompatible pointer type
make: *** [bcmath.lo] Error 1
Kann mir da irgendwer sagen woran das liegt und was ich tun muss?
Hab bisher keine gescheite Hilfe dazu gefunden =(
(Hab ubuntu6.06 am laufen)