RE: Having issues to compile cgi_main.c into php 5.6.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi all,

 

Let me know if this is the right way to contact you.

 

Thank you !

 

Best regards,

Natalia Marín Pérez http://www.mikejr1.es/linux/images/stories/images/tux_buscar.png

Platform Hosting

Systems Engineer

( Contact Information

Engage Platform Hosting @ goto/engageph

 

From: Marin Perez, Natalia
Sent: Friday, January 16, 2015 9:42 PM
To: 'php-install@xxxxxxxxxxxxx'
Subject: RE: Having issuesto compile cgi_main.c into php 5.6.4

 

Hi all,

 

Could you please help me with the below question?

 

“However, we do need to apply the patch (bug 68618) in a number of servers and recompiling php in all of our systems would be   a problem, since most of the php installations are completed with the repositories or with rpm/deb packages.”

Is there already a package that covers this bug ? (Bug 68618)

 

Best regards,

Natalia Marín Pérez http://www.mikejr1.es/linux/images/stories/images/tux_buscar.png

Platform Hosting

Systems Engineer

( Contact Information

Engage Platform Hosting @ goto/engageph

 

From: Marin Perez, Natalia
Sent: Friday, January 16, 2015 11:31 AM
To: 'internals@xxxxxxxxxxxxx'
Subject: RE: Having issuesto compile cgi_main.c into php 5.6.4

 

How long do you usually take to respond emails?

 

Thank you !

 

Best regards,

Natalia Marín Pérez http://www.mikejr1.es/linux/images/stories/images/tux_buscar.png

Platform Hosting

Systems Engineer

( Contact Information

Engage Platform Hosting @ goto/engageph

 

From: Marin Perez, Natalia
Sent: Thursday, January 15, 2015 10:35 AM
To: 'internals@xxxxxxxxxxxxx'
Subject: RE: Having issuesto compile cgi_main.c into php 5.6.4

 

By the way, is there already a package that covers this bug ? (Bug 68618)

 

And I just found out how to recompile with the git version:

http://www.phpinternalsbook.com/build_system/building_php.html

 

However, we do need to apply the patch in a number and recompiling php in all of our systems would be   a problem, since most of the php installations are completed with the repositories or with rpm/deb packages.

 

Any help would be highly appreciated

 

Best regards,

Natalia Marín Pérez http://www.mikejr1.es/linux/images/stories/images/tux_buscar.png

Platform Hosting

Systems Engineer

( Contact Information

Engage Platform Hosting @ goto/engageph

 

From: Marin Perez, Natalia
Sent: Thursday, January 15, 2015 9:17 AM
To: 'internals@xxxxxxxxxxxxx'
Cc: Marin Perez, Natalia
Subject: Having issuesto compile cgi_main.c into php 5.6.4

 

Hi All,

 

I’ve been trying to compile the new patch for bug 68618 (http://git.php.net/?p=php-src.git;a=commit;h=f9ad3086693fce680fbe246e4a45aa92edd2ac35 ) into php 5.6.4 . However, I’m getting this error when I  try to compile it.

 

Do you know if there is any dependency I should take care of  ?  Thanks a lot for your help!.

 

utput.lo main/getopt.lo main/streams/streams.lo main/streams/cast.lo main/streams/memory.lo main/streams/filter.lo main/streams/plain_wrapper.lo main/streams/userspace.lo main/streams/transports.lo main/streams/xp_socket.lo main/streams/mmap.lo main/streams/glob_wrapper.lo Zend/zend_language_parser.lo Zend/zend_language_scanner.lo Zend/zend_ini_parser.lo Zend/zend_ini_scanner.lo Zend/zend_alloc.lo Zend/zend_compile.lo Zend/zend_constants.lo Zend/zend_dynamic_array.lo Zend/zend_dtrace.lo Zend/zend_execute_API.lo Zend/zend_highlight.lo Zend/zend_llist.lo Zend/zend_vm_opcodes.lo Zend/zend_opcode.lo Zend/zend_operators.lo Zend/zend_ptr_stack.lo Zend/zend_stack.lo Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo Zend/zend_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo Zend/zend_indent.lo Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo Zend/zend_ts_hash.lo Zend/zend_stream.lo Zend/zend_iterators.lo Zend/zend_interfaces.lo Zend/zend_exceptions.lo Zend/zend_strtod.lo Zend/zend_gc.lo Zend/zend_closures.lo Zend/zend_float.lo Zend/zend_string.lo Zend/zend_signal.lo Zend/zend_generators.lo Zend/zend_virtual_cwd.lo Zend/zend_ast.lo Zend/zend_objects.lo Zend/zend_object_handlers.lo Zend/zend_objects_API.lo Zend/zend_default_classes.lo Zend/zend_execute.lo main/internal_functions_cli.lo sapi/cli/php_cli.lo sapi/cli/php_http_parser.lo sapi/cli/php_cli_server.lo sapi/cli/ps_title.lo sapi/cli/php_cli_process_title.lo -lcrypt -lresolv -lcrypt -lrt -lrt -lm -ldl -lnsl -lxml2 -lxml2 -lxml2 -lcrypt -lxml2 -lxml2 -lxml2 -lcrypt  -o sapi/cli/php

/bin/bash /home/ad_nmarinpe/php-5.6.4/libtool --silent --preserve-dup-deps --mode=compile cc  -Isapi/cgi/ -I/home/ad_nmarinpe/php-5.6.4/sapi/cgi/ -DPHP_ATOM_INC -I/home/ad_nmarinpe/php-5.6.4/include -I/home/ad_nmarinpe/php-5.6.4/main -I/home/ad_nmarinpe/php-5.6.4 -I/home/ad_nmarinpe/php-5.6.4/ext/date/lib -I/home/ad_nmarinpe/php-5.6.4/ext/ereg/regex -I/usr/include/libxml2 -I/home/ad_nmarinpe/php-5.6.4/ext/sqlite3/libsqlite -I/home/ad_nmarinpe/php-5.6.4/TSRM -I/home/ad_nmarinpe/php-5.6.4/Zend    -I/usr/include -g -O2 -fvisibility=hidden  -c /home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c -o sapi/cgi/cgi_main.lo

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c: In function âuser_config_cache_entry_dtorâ:

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c:193:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c: In function âprint_module_infoâ:

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c:226:30: warning: initialization makes pointer from integer without a cast [enabled by default]

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c: In function âmodule_name_cmpâ:

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c:236:50: error: âBucketâ has no member named âvalâ

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c:237:36: error: âBucketâ has no member named âvalâ

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c: In function âprint_modulesâ:

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c:245:2: error: too few arguments to function âzend_hash_copyâ

/home/ad_nmarinpe/php-5.6.4/Zend/zend_hash.h:217:15: note: declared here

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c:246:2: warning: passing argument 2 of âzend_hash_sortâ from incompatible pointer type [enabled by default]

/home/ad_nmarinpe/php-5.6.4/Zend/zend_hash.h:220:14: note: expected âsort_func_tâ but argument is of type âint (*)(const void *, const void *)â

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c:246:2: error: too few arguments to function âzend_hash_sortâ

/home/ad_nmarinpe/php-5.6.4/Zend/zend_hash.h:220:14: note: declared here

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c:247:2: warning: passing argument 2 of âzend_hash_applyâ from incompatible pointer type [enabled by default]

/home/ad_nmarinpe/php-5.6.4/Zend/zend_hash.h:139:15: note: expected âapply_func_tâ but argument is of type âint (*)(struct zval *)â

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c: In function âcgi_php_load_env_varâ:

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c:597:2: warning: passing argument 5 of âsapi_module.input_filterâ from incompatible pointer type [enabled by default]

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c:597:2: note: expected âunsigned int *â but argument is of type âsize_t *â

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c: In function âcgi_php_import_environment_variablesâ:

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c:604:6: error: request for member âtypeâ in something not a structure or union

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c:606:26: error: request for member âvalueâ in something not a structure or union

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c:611:13: error: request for member âtypeâ in something not a structure or union

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c:613:26: error: request for member âvalueâ in something not a structure or union

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c: In function âsapi_cgi_register_variablesâ:

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c:680:3: warning: passing argument 5 of âsapi_module.input_filterâ from incompatible pointer type [enabled by default]

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c:680:3: note: expected âunsigned int *â but argument is of type âsize_t *â

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c:689:3: warning: passing argument 5 of âsapi_module.input_filterâ from incompatible pointer type [enabled by default]

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c:689:3: note: expected âunsigned int *â but argument is of type âsize_t *â

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c: In function âphp_cgi_ini_activate_user_configâ:

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c:727:13: warning: assignment makes pointer from integer without a cast [enabled by default]

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c:732:9: warning: assignment makes pointer from integer without a cast [enabled by default]

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c: At top level:

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c:922:2: warning: initialization from incompatible pointer type [enabled by default]

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c:922:2: warning: (near initialization for âcgi_sapi_module.ub_writeâ) [enabled by default]

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c:933:2: warning: initialization from incompatible pointer type [enabled by default]

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c:933:2: warning: (near initialization for âcgi_sapi_module.read_postâ) [enabled by default]

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c: In function âinit_request_infoâ:

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c:1157:4: error: unknown type name âzend_stat_tâ

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c:1211:37: error: request for member âst_modeâ in something not a structure or union

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c: In function âphp_cgi_globals_ctorâ:

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c:1453:2: warning: passing argument 3 of â_zend_hash_initâ from incompatible pointer type [enabled by default]

/home/ad_nmarinpe/php-5.6.4/Zend/zend_hash.h:100:14: note: expected âdtor_func_tâ but argument is of type âvoid (*)(struct zval *)â

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c: In function âadd_request_headerâ:

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c:1542:2: error: too few arguments to function âadd_assoc_stringl_exâ

/home/ad_nmarinpe/php-5.6.4/Zend/zend_API.h:385:14: note: declared here

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c: In function âzif_apache_request_headersâ:

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c:1623:4: error: too few arguments to function âadd_assoc_string_exâ

/home/ad_nmarinpe/php-5.6.4/Zend/zend_API.h:384:14: note: declared here

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c: In function âadd_response_headerâ:

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c:1654:5: error: too few arguments to function âadd_assoc_stringl_exâ

/home/ad_nmarinpe/php-5.6.4/Zend/zend_API.h:385:14: note: declared here

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c: In function âmainâ:

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c:1869:32: warning: assignment from incompatible pointer type [enabled by default]

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c:1871:32: warning: assignment from incompatible pointer type [enabled by default]

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c:2385:10: error: unknown type name âzend_longâ

/home/ad_nmarinpe/php-5.6.4/sapi/cgi/cgi_main.c:2403:10: error: unknown type name âzend_off_tâ

make: *** [sapi/cgi/cgi_main.lo] Error 1

 

Best regards,

Natalia Marín Pérez http://www.mikejr1.es/linux/images/stories/images/tux_buscar.png

Platform Hosting

Systems Engineer

( Contact Information

Engage Platform Hosting @ goto/engageph

 


[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux