jaswantfalconet / php-sweph

Automatically exported from code.google.com/p/php-sweph
0 stars 0 forks source link

make Error 1 while compiling #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello,

I'm trying to compile php-sweph but I get an error while doing make. I get lot 
of warnings like:

/home/bartek/php-sweph/sweph.c:137:2: warning: excess elements in scalar 
initializer [enabled by default]
/home/bartek/php-sweph/sweph.c:137:2: warning: (near initialization for 
'sweph_functions[71]') [enabled by default]

And last lines are:
/home/bartek/php-sweph/sweph.c:148:2: warning: initialization from incompatible 
pointer type [enabled by default]
/home/bartek/php-sweph/sweph.c:148:2: warning: (near initialization for 
'sweph_module_entry.functions') [enabled by default]
make: *** [sweph.lo] Error 1

I use:
Ubuntu 12.10, 
php 5.4.6,
gcc 4.7.2

Original issue reported on code.google.com by bartosz....@gmail.com on 4 Mar 2013 at 8:28

GoogleCodeExporter commented 8 years ago
PHP 5.4 changed function_entry to zend_function_entry. File sweph.c updated for 
this change.

Original comment by cyjoelc...@gmail.com on 18 Apr 2013 at 3:43