RE: [INTERNALS-WIN] Re: Unresolved symbol _zend_ini_scanner_get_lineno

[email protected] ("David M. Patterson")
Newsgroups php.internals.win
Organization DPLH Enterprises
Message-ID <[email protected]>
-----Original Message-----
From: Elizabeth M Smith [mailto:[email protected]] 
Sent: Wednesday, February 25, 2009 4:26 AM
To: [email protected]
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.