Re: Unresolved symbol _zend_ini_scanner_get_lineno

[email protected] (Elizabeth M Smith)
Newsgroups php.internals.win
Message-ID <[email protected]>
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
> Yes. I call zend_ini_scanner_get_lineno() . I'm using zend_ini_parse_file()
> and use the get_lineno() function for reporting errors.
> 
> I am guessing that either my configure.w32 is incorrect or my build
> environment is still not quite right.
> Here is config.w32:
> ARG_ENABLE( "dplhlib", "Enable the DPLH Enterprises extension", "no" );
> if( PHP_DPLHLIB != "no" )
> {
>     EXTENSION( "dplhlib", "php_dplhlib.c" );
>             AC_DEFINE('HAVE_DPLHLIB', 1, 'Have DPLH Enterprises extension')
> }
> 
> Thanks in advance
> 
>  
> 
> Dave

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
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.