Skip to content

error in make php_ext #13

@AgudaZaric

Description

@AgudaZaric

/bin/sh /home/aguda/dev/c/php-ext/redis/libredis/php/build/libtool --mode=compile cc -I. -I/home/aguda/dev/c/php-ext/redis/libredis/php/build -DPHP_ATOM_INC -I/home/aguda/dev/c/php-ext/redis/libredis/php/build/include -I/home/aguda/dev/c/php-ext/redis/libredis/php/build/main -I/home/aguda/dev/c/php-ext/redis/libredis/php/build -I/usr/local/web/include/php -I/usr/local/web/include/php/main -I/usr/local/web/include/php/TSRM -I/usr/local/web/include/php/Zend -I/usr/local/web/include/php/ext -I/usr/local/web/include/php/ext/date/lib -I/home/aguda/dev/c/php-ext/redis/libredis/libredis -DHAVE_CONFIG_H -std=gnu99 -g -O0 -pedantic -Wall -DNDEBUG -c /home/aguda/dev/c/php-ext/redis/libredis/php/build/libredis.c -o libredis.lo
cc -I. -I/home/aguda/dev/c/php-ext/redis/libredis/php/build -DPHP_ATOM_INC -I/home/aguda/dev/c/php-ext/redis/libredis/php/build/include -I/home/aguda/dev/c/php-ext/redis/libredis/php/build/main -I/home/aguda/dev/c/php-ext/redis/libredis/php/build -I/usr/local/web/include/php -I/usr/local/web/include/php/main -I/usr/local/web/include/php/TSRM -I/usr/local/web/include/php/Zend -I/usr/local/web/include/php/ext -I/usr/local/web/include/php/ext/date/lib -I/home/aguda/dev/c/php-ext/redis/libredis/libredis -DHAVE_CONFIG_H -std=gnu99 -g -O0 -pedantic -Wall -DNDEBUG -c /home/aguda/dev/c/php-ext/redis/libredis/php/build/libredis.c -fPIC -DPIC -o .libs/libredis.o
/home/aguda/dev/c/php-ext/redis/libredis/php/build/libredis.c:111: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘ketama_methods’
/home/aguda/dev/c/php-ext/redis/libredis/php/build/libredis.c:118: warning: ISO C does not allow extra ‘;’ outside of a function
/home/aguda/dev/c/php-ext/redis/libredis/php/build/libredis.c:176: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘executor_methods’
/home/aguda/dev/c/php-ext/redis/libredis/php/build/libredis.c:181: warning: ISO C does not allow extra ‘;’ outside of a function
/home/aguda/dev/c/php-ext/redis/libredis/php/build/libredis.c:318: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘connection_methods’
/home/aguda/dev/c/php-ext/redis/libredis/php/build/libredis.c:324: warning: ISO C does not allow extra ‘;’ outside of a function
/home/aguda/dev/c/php-ext/redis/libredis/php/build/libredis.c:500: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘batch_methods’
/home/aguda/dev/c/php-ext/redis/libredis/php/build/libredis.c:509: warning: ISO C does not allow extra ‘;’ outside of a function
/home/aguda/dev/c/php-ext/redis/libredis/php/build/libredis.c:609: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘redis_methods’
/home/aguda/dev/c/php-ext/redis/libredis/php/build/libredis.c:616: warning: ISO C does not allow extra ‘;’ outside of a function
/home/aguda/dev/c/php-ext/redis/libredis/php/build/libredis.c: In function ‘zm_startup_libredis’:
/home/aguda/dev/c/php-ext/redis/libredis/php/build/libredis.c:630: error: ‘ketama_methods’ undeclared (first use in this function)
/home/aguda/dev/c/php-ext/redis/libredis/php/build/libredis.c:630: error: (Each undeclared identifier is reported only once
/home/aguda/dev/c/php-ext/redis/libredis/php/build/libredis.c:630: error: for each function it appears in.)
/home/aguda/dev/c/php-ext/redis/libredis/php/build/libredis.c:634: error: ‘executor_methods’ undeclared (first use in this function)
/home/aguda/dev/c/php-ext/redis/libredis/php/build/libredis.c:638: error: ‘connection_methods’ undeclared (first use in this function)
/home/aguda/dev/c/php-ext/redis/libredis/php/build/libredis.c:642: error: ‘batch_methods’ undeclared (first use in this function)
/home/aguda/dev/c/php-ext/redis/libredis/php/build/libredis.c:646: error: ‘redis_methods’ undeclared (first use in this function)
/home/aguda/dev/c/php-ext/redis/libredis/php/build/libredis.c: In function ‘zm_shutdown_libredis’:
/home/aguda/dev/c/php-ext/redis/libredis/php/build/libredis.c:701: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’
/home/aguda/dev/c/php-ext/redis/libredis/php/build/libredis.c: In function ‘zm_deactivate_libredis’:
/home/aguda/dev/c/php-ext/redis/libredis/php/build/libredis.c:731: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’
make: *** [libredis.lo] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions