Re: Unresolved symbol _zend_ini_scanner_get_lineno

From: Date: Wed, 25 Feb 2009 12:25:52 +0000
Subject: Re: Unresolved symbol _zend_ini_scanner_get_lineno
References: 1  Groups: php.internals.win 
Request: Send a blank email to internals-win+get-424@lists.php.net to get a copy of this message
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

« previous php.internals.win (#424) next »