Bug #70567 [Com]: Undefined reference to any functions

From: Date: Sat, 13 Feb 2016 13:34:03 +0000
Subject: Bug #70567 [Com]: Undefined reference to any functions
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-199190@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70567&edit=1 ID: 70567 Comment by: wxmaper at gmail dot com Reported by: wxmaper at gmail dot com Summary: Undefined reference to any functions Status: No Feedback Type: Bug Package: Compile Failure Operating System: Windows PHP Version: 7.0.0RC3 Block user comment: N Private report: N New Comment: My extension has no have config.w32 file. I discovered that all undefined function have a "__vectorcall" convention, but i compile extension with MinGW (x32) for Windows. Not MSVC! mingw can't support for __vectorcall. Because of this my extension can't compiled for PHP7. Previous Comments: ------------------------------------------------------------------------ [2015-10-04 04:22:21] php-bugs at lists dot php dot net No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. ------------------------------------------------------------------------ [2015-09-26 15:30:13] ab@php.net Hi, thanks for the pastebin. But I was asking literally for config.w32 in your extension, not for the header file. Thanks. ------------------------------------------------------------------------ [2015-09-25 12:49:45] wxmaper at gmail dot com config.w32.h http://pastebin.com/rkRhpeM6 ------------------------------------------------------------------------ [2015-09-25 06:47:37] ab@php.net Thanks for the report. Please show your extension code and config.w32 Thanks. ------------------------------------------------------------------------ [2015-09-24 06:34:04] wxmaper at gmail dot com Description: ------------ I'm try to writing a php extension. In project file i'm added include paths, path to .dll and .lib-file: INCLUDEPATH += C:/src/php-7.0.0RC3-src\ C:/src/php-7.0.0RC3-src/main\ C:/src/php-7.0.0RC3-src/Zend\ C:/src/php-7.0.0RC3-src/TSRM\ C:/src/php-7.0.0RC3-src/ext/standard\ LIBS += -LC:/src/php-7.0.0RC3-src/dev/ -lphp7ts LIBS += "C:/src/php-7.0.0RC3-src/dev/php7ts.dll" When i try to compile project i have next errors: error: undefined reference to `@_emalloc@4' error: undefined reference to `@_efree@4' error: undefined reference to `@_zend_hash_update@12' error: undefined reference to `@_efree_24@4' error: undefined reference to `@zend_hash_internal_pointer_reset_ex@8' error: undefined reference to `@zend_hash_get_current_data_ex@8' error: undefined reference to `@_convert_to_string@4' error: undefined reference to `@zend_hash_move_forward_ex@8' This project was successful in version 5.6 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=70567&edit=1

« previous php.bugs (#199190) next »