Bug #70567 [NEW]: Undefined reference to any functions
| From: | wxmaper at gmail dot com | Date: | Thu, 24 Sep 2015 06:34:10 +0000 |
| Subject: | Bug #70567 [NEW]: Undefined reference to any functions | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-196196@lists.php.net to get a copy of this message | ||
From: wxmaper at gmail dot com
Operating system: Windows
PHP version: 7.0.0RC3
Package: Compile Failure
Bug Type: Bug
Bug description:Undefined reference to any functions
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 bug report at https://bugs.php.net/bug.php?id=70567&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70567&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70567&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70567&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=70567&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=70567&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=70567&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=70567&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=70567&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=70567&r=support
Expected behavior: https://bugs.php.net/fix.php?id=70567&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=70567&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=70567&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=70567&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70567&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=70567&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=70567&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=70567&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=70567&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=70567&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=70567&r=mysqlcfg