Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Compile error (was: compile error with PHP 7.0.10) - what to do next? #929

@HansVanEijsden

Description

@HansVanEijsden

Hi all,
First of all, thanks for all the great work.

I cannot compile PHP 7.0.10 with this phpredis module. PHP 7.0.9 worked though, on the 21st of July with this module.
This is the output I receive, at the end, the linking phase:

/usr/lib/x86_64-linux-gnu/libc-client.a(osdep.o): In function `ssl_onceonlyinit.part.8':
(.text+0x640e): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
ext/redis/.libs/redis.o: In function `zm_startup_redis':
redis.c:(.text+0xea2): undefined reference to `ps_mod_redis'
redis.c:(.text+0xeae): undefined reference to `ps_mod_redis_cluster'
collect2: error: ld returned 1 exit status
Makefile:343: recept voor doel 'sapi/phpdbg/phpdbg' is mislukt
make: *** [sapi/phpdbg/phpdbg] Fout 1
make: *** Wachten op onvoltooide taken...
/usr/lib/x86_64-linux-gnu/libc-client.a(osdep.o): In function `ssl_onceonlyinit.part.8':
(.text+0x640e): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
ext/redis/.libs/redis.o: In function `zm_startup_redis':
redis.c:(.text+0xea2): undefined reference to `ps_mod_redis'
redis.c:(.text+0xeae): undefined reference to `ps_mod_redis_cluster'
collect2: error: ld returned 1 exit status
Makefile:301: recept voor doel 'sapi/cli/php' is mislukt
make: *** [sapi/cli/php] Fout 1
/usr/lib/x86_64-linux-gnu/libc-client.a(osdep.o): In function `ssl_onceonlyinit.part.8':
(.text+0x640e): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
ext/redis/.libs/redis.o: In function `zm_startup_redis':
redis.c:(.text+0xea2): undefined reference to `ps_mod_redis'
redis.c:(.text+0xeae): undefined reference to `ps_mod_redis_cluster'
collect2: error: ld returned 1 exit status
Makefile:314: recept voor doel 'sapi/fpm/php-fpm' is mislukt
make: *** [sapi/fpm/php-fpm] Fout 1

And here all the steps I've done (same as with PHP 7.0.9):
http://pastebin.com/MHqRb3dr

$ uname -a
Linux vps 4.6.0-0.bpo.1-amd64 #1 SMP Debian 4.6.4-1~bpo8+1 (2016-08-11) x86_64 GNU/Linux

Any suggestions what to do next? Am I doing something terribly wrong?
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions