Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while 'make install' #15

Closed
myzerov opened this issue Aug 5, 2014 · 1 comment
Closed

Error while 'make install' #15

myzerov opened this issue Aug 5, 2014 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@myzerov
Copy link

myzerov commented Aug 5, 2014

Hi! I have Ubuntu 12.04 and PHP 5.3.10-1ubuntu3.13 (fpm-fcgi)
Trying to build php-connector. Got theese warnings and errors:

root@kurtecka:/usr/src/tarantool-php# make install

/bin/bash /usr/src/tarantool-php/libtool --mode=compile cc  -I. -I/usr/src/tarantool-php -DPHP_ATOM_INC -I/usr/src/tarantool-php/include -I/usr/src/tarantool-php/main -I/usr/src/tarantool-php -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/src/third_party  -DHAVE_CONFIG_H  -g -O2   -c /usr/src/tarantool-php/src/tarantool_msgpack.c -o src/tarantool_msgpack.lo
libtool: compile:  cc -I. -I/usr/src/tarantool-php -DPHP_ATOM_INC -I/usr/src/tarantool-php/include -I/usr/src/tarantool-php/main -I/usr/src/tarantool-php -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/src/third_party -DHAVE_CONFIG_H -g -O2 -c /usr/src/tarantool-php/src/tarantool_msgpack.c  -fPIC -DPIC -o src/.libs/tarantool_msgpack.o
In file included from /usr/src/tarantool-php/src/tarantool_msgpack.c:4:0:
/usr/src/tarantool-php/src/php_tarantool.h:32:1: warning: data definition has no type or storage class [enabled by default]
/usr/src/tarantool-php/src/php_tarantool.h:32:1: warning: parameter names (without types) in function declaration [enabled by default]
/usr/src/tarantool-php/src/php_tarantool.h:33:1: warning: data definition has no type or storage class [enabled by default]
/usr/src/tarantool-php/src/php_tarantool.h:33:1: warning: parameter names (without types) in function declaration [enabled by default]
/usr/src/tarantool-php/src/php_tarantool.h:34:1: warning: data definition has no type or storage class [enabled by default]
/usr/src/tarantool-php/src/php_tarantool.h:34:1: warning: parameter names (without types) in function declaration [enabled by default]
/usr/src/tarantool-php/src/php_tarantool.h:36:1: warning: data definition has no type or storage class [enabled by default]
/usr/src/tarantool-php/src/php_tarantool.h:36:1: warning: parameter names (without types) in function declaration [enabled by default]
/usr/src/tarantool-php/src/php_tarantool.h:37:1: warning: data definition has no type or storage class [enabled by default]
/usr/src/tarantool-php/src/php_tarantool.h:37:1: warning: parameter names (without types) in function declaration [enabled by default]
/usr/src/tarantool-php/src/php_tarantool.h:38:1: warning: data definition has no type or storage class [enabled by default]
/usr/src/tarantool-php/src/php_tarantool.h:38:1: warning: parameter names (without types) in function declaration [enabled by default]
/usr/src/tarantool-php/src/php_tarantool.h:39:1: warning: data definition has no type or storage class [enabled by default]
/usr/src/tarantool-php/src/php_tarantool.h:39:1: warning: parameter names (without types) in function declaration [enabled by default]
/usr/src/tarantool-php/src/php_tarantool.h:40:1: warning: data definition has no type or storage class [enabled by default]
/usr/src/tarantool-php/src/php_tarantool.h:40:1: warning: parameter names (without types) in function declaration [enabled by default]
/usr/src/tarantool-php/src/php_tarantool.h:41:1: warning: data definition has no type or storage class [enabled by default]
/usr/src/tarantool-php/src/php_tarantool.h:41:1: warning: parameter names (without types) in function declaration [enabled by default]
/usr/src/tarantool-php/src/php_tarantool.h:42:1: warning: data definition has no type or storage class [enabled by default]
/usr/src/tarantool-php/src/php_tarantool.h:42:1: warning: parameter names (without types) in function declaration [enabled by default]
/usr/src/tarantool-php/src/php_tarantool.h:43:1: warning: data definition has no type or storage class [enabled by default]
/usr/src/tarantool-php/src/php_tarantool.h:43:1: warning: parameter names (without types) in function declaration [enabled by default]
/usr/src/tarantool-php/src/php_tarantool.h:44:1: warning: data definition has no type or storage class [enabled by default]
/usr/src/tarantool-php/src/php_tarantool.h:44:1: warning: parameter names (without types) in function declaration [enabled by default]
/usr/src/tarantool-php/src/php_tarantool.h:45:1: warning: data definition has no type or storage class [enabled by default]
/usr/src/tarantool-php/src/php_tarantool.h:45:1: warning: parameter names (without types) in function declaration [enabled by default]
/usr/src/tarantool-php/src/php_tarantool.h:46:1: warning: data definition has no type or storage class [enabled by default]
/usr/src/tarantool-php/src/php_tarantool.h:46:1: warning: parameter names (without types) in function declaration [enabled by default]
/usr/src/tarantool-php/src/tarantool_msgpack.c: In function 'php_mp_pack_hash_recursively':
/usr/src/tarantool-php/src/tarantool_msgpack.c:150:19: error: 'HASH_KEY_NON_EXISTENT' undeclared (first use in this function)
/usr/src/tarantool-php/src/tarantool_msgpack.c:150:19: note: each undeclared identifier is reported only once for each function it appears in
/usr/src/tarantool-php/src/tarantool_msgpack.c: In function 'php_mp_unpack_bool':
/usr/src/tarantool-php/src/tarantool_msgpack.c:257:2: error: 'else' without a previous 'if'
/usr/src/tarantool-php/src/tarantool_msgpack.c: In function 'php_mp_sizeof_hash_recursively':
/usr/src/tarantool-php/src/tarantool_msgpack.c:433:19: error: 'HASH_KEY_NON_EXISTENT' undeclared (first use in this function)
make: *** [src/tarantool_msgpack.lo] Error 1
@bigbes bigbes added the bug label Aug 5, 2014
@bigbes bigbes self-assigned this Aug 5, 2014
@bigbes
Copy link
Contributor

bigbes commented Aug 5, 2014

This was the incompatibility between 5.3 and 5.5

#define HASH_KEY_NON_EXISTANT 3
#define HASH_KEY_NON_EXISTENT 3
#define HASH_KEY_NON_EXISTANT HASH_KEY_NON_EXISTENT /* Keeping old define (with typo) for backward compatibility */

bigbes added a commit that referenced this issue Aug 5, 2014
@bigbes bigbes closed this as completed Aug 5, 2014
@myzerov myzerov mentioned this issue Aug 5, 2014
@bigbes bigbes assigned bigbes and unassigned bigbes Jun 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants