RE: [INTERNALS-WIN] Re: Unresolved symbol _zend_ini_scanner_get_lineno
| From: | David M. Patterson | Date: | Wed, 25 Feb 2009 22:17:04 +0000 |
| Subject: | RE: [INTERNALS-WIN] Re: Unresolved symbol _zend_ini_scanner_get_lineno | ||
| References: | 1 | Groups: | php.internals.win |
| Request: | Send a blank email to internals-win+get-427@lists.php.net to get a copy of this message | ||
-----Original Message-----
From: Elizabeth M Smith [mailto:auroraeosrose@shitennou.com]
Sent: Wednesday, February 25, 2009 4:26 AM
To: internals-win@lists.php.net
Subject: [INTERNALS-WIN] Re: Unresolved symbol _zend_ini_scanner_get_lineno
>David M. Patterson wrote:
>> Hello.
>>
>>
>>
>> I've got my extension working fine in static mode and would now like to
>make
>> it loadable.
>> I reran configure.js, adding =shared to my enable; no errors there.
>> nmake clean - ok
>> nmake - 1 unresolved external symbol: _zend_ini_scanner_get_lineno
-- snip -------
> Looks to me like that symbol is not exported - meaning you can't use it
> in an extension if the extension is build shared.
>
> Thanks,
> Elizabeth
Ok. Related questions:
1) How did you determine that the symbol isn't exported?
2) Since I need to build static, I might as well build in all of the
extensions that I need. I've almost got that with two (at the moment)
exceptions:
a) sockets: Build fails with:
flock_compat.obj : error LNK2005: _inet_aton already defined in
php_sockets_win.obj
Debug_TS\php5ts_debug.dll : fatal error LNK1169: one or more multiply
defined symbols found
b) mbstring: Build fails with:
c:\phpdev\php-5.2.8\ext\bcmath\libbcmath\src\bcmath.h(56) : fatal
error C1083: Cannot open include file: '../../config.h': No such file or
directory
3) All of my builds generate the following warnings:
a) LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other
libs; use /NODEFAULTLIB:library
b) LINK : warning LNK4049: locally defined symbol
"_php_dom_create_object" imported
After each cscript configure.js I do nmake clean followed by nmake.
Assistance getting all of this straightened out will be most appreciated.
Thanks in advance
D.