piersharding / php-sapnwrfc

SAP RFC Connector using the SAP NW RFC SDK for PHP
http://www.piersharding.com/blog/
52 stars 15 forks source link

Issue installing when make on php5 #20

Open roj4s opened 7 years ago

roj4s commented 7 years ago

After phpize, configure i put ./make and it returns all the error listed below:

sapnwrfc.c:2576:28: error: macro "RETURN_STRINGL" passed 3 arguments, but takes just 2 sapnwrfc.c:2192:88: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 sapnwrfc.c:2607:28: error: macro "RETURN_STRINGL" passed 3 arguments, but takes just 2

and much much more ...

piersharding commented 7 years ago

Hi -

What version of PHP5 are you using ?

Cheers.

roj4s commented 7 years ago

Php 5.6 ubuntu 16.04

piersharding commented 7 years ago

Hi -

you might want to have a look at https://github.com/gkralik/php7-sapnwrfc .

Cheers.

roj4s commented 7 years ago

Yeah thanks I'm using that one ... However need a version compatible with php5.