[Expat-discuss] Error using pre-built windows libs
Matthew O. Persico
persicom@acedsl.com
Wed Oct 17 19:49:10 2001
This is a multi-part message in MIME format.
---------------------- multipart/mixed attachment
While trying to test the build of Perl module XML::Parser, I get this:
>The procedure entry point XML_GetSpecifiedAttributeCount could not be
>located in the dynamic library expat.dll
I am using a self-built Perl on Win2k, using VC++6.0 (details below). I
tried both the pre-built version of the expat libs
(expat_win32bin_1_95_2.exe from sourceforge) and I built them using the
code that comes with the pre-built version.
I look at the expat code and in xmlparse.c I find this:
>int XML_GetSpecifiedAttributeCount(XML_Parser parser)
>{
> return nSpecifiedAtts;
?}
So, if it's in the code, does anyone have any ideas as to why it is
apparently is not in the library? Given that these are C and not C++
files, there should be no name-mangling issues yes? What could I be
doing to track down this problem?
Thank you
perl info:
> Summary of my perl5 (revision 5 version 6 subversion 1) configuration:
> Platform:
> osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread
> uname=''
> config_args='undef'
> hint=recommended, useposix=true, d_sigaction=undef
> usethreads=undef use5005threads=undef useithreads=define usemultiplicity=define
> useperlio=undef d_sfio=undef uselargefiles=undef usesocks=undef
> use64bitint=undef use64bitall=undef uselongdouble=undef
> Compiler:
> cc='cl', ccflags ='-nologo -O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READFIX',
> optimize='-O1 -MD -DNDEBUG',
> cppflags='-DWIN32'
> ccversion='', gccversion='', gccosandvers=''
> intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
> d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10
> ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
> alignbytes=8, usemymalloc=n, prototype=define
> Linker and Libraries:
> ld='', ldflags ='-nologo -nodefaultlib -release -libpath:"D:\opt\perl\5.6.1\lib\MSWin32-x86-multi-thread\CORE" -machine:x86'
> libpth=d:\mvs\vc98\lib
> libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib
> perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib
> libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl56.lib
> Dynamic Linking:
> dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
> cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -release -libpath:"D:\opt\perl\5.6.1\lib\MSWin32-x86-multi-thread\CORE" -machine:x86'
>
>
> Characteristics of this binary (from libperl):
> Compile-time options: MULTIPLICITY USE_ITHREADS PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS
> Built under MSWin32
> Compiled at Oct 16 2001 23:39:46
> %ENV:
> PERLPATH="D:\opt\perl\5.6.1\bin\MSWin32-x86-multi-thread;D:\opt\perl\5.6.1\bin"
> @INC:
> D:/opt/perl/5.6.1/lib/MSWin32-x86-multi-thread
> D:/opt/perl/5.6.1/lib
> D:/opt/perl/site/5.6.1/lib/MSWin32-x86-multi-thread
> D:/opt/perl/site/5.6.1/lib
--
Matthew O. Persico
http://www.acecape.com/dsl
AceDSL:The best ADSL in Verizon area
---------------------- multipart/mixed attachment
Summary of my perl5 (revision 5 version 6 subversion 1) configuration:
Platform:
osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread
uname=''
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
usethreads=undef use5005threads=undef useithreads=define usemultiplicity=define
useperlio=undef d_sfio=undef uselargefiles=undef usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='cl', ccflags ='-nologo -O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READFIX',
optimize='-O1 -MD -DNDEBUG',
cppflags='-DWIN32'
ccversion='', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
alignbytes=8, usemymalloc=n, prototype=define
Linker and Libraries:
ld='', ldflags ='-nologo -nodefaultlib -release -libpath:"D:\opt\perl\5.6.1\lib\MSWin32-x86-multi-thread\CORE" -machine:x86'
libpth=d:\mvs\vc98\lib
libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib
perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib
libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl56.lib
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -release -libpath:"D:\opt\perl\5.6.1\lib\MSWin32-x86-multi-thread\CORE" -machine:x86'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS
Built under MSWin32
Compiled at Oct 16 2001 23:39:46
%ENV:
PERLPATH="D:\opt\perl\5.6.1\bin\MSWin32-x86-multi-thread;D:\opt\perl\5.6.1\bin"
@INC:
D:/opt/perl/5.6.1/lib/MSWin32-x86-multi-thread
D:/opt/perl/5.6.1/lib
D:/opt/perl/site/5.6.1/lib/MSWin32-x86-multi-thread
D:/opt/perl/site/5.6.1/lib
.
---------------------- multipart/mixed attachment--