php-ds / ext-ds

An extension providing efficient data structures for PHP 7
https://medium.com/p/9dda7af674cd
MIT License
2.11k stars 95 forks source link

unable to install with cygwin #118

Closed legale closed 6 years ago

legale commented 6 years ago

Hello. I'm trying to install your extension on windows10 machine with cygwin pecl install ds The compilation process is interrupted with the following error:

linker --out-implib -Xlinker .libs/ds.dll.a
src/php/classes/.libs/php_collection_ce.o:php_collection_ce.c:(.rdata$.refptr.php_json_serializable_ce[.refptr.php_json_serializable_ce]+0x0): undefined refere
nce to `php_json_serializable_ce'
collect2: error: ld returned 1 exit status
make: *** [Makefile:289: ds.la] Ошибка 1
ERROR: `make' failed

PHP version:

PHP 7.1.16 (cli) (built: Apr 10 2018 18:09:30) ( NTS )
rtheunissen commented 6 years ago

ds depends on the json extension which needs to be loaded first. Might be related to https://github.com/php-ds/extension/issues/2 ?

rtheunissen commented 6 years ago

I think this is a duplicate of #2