[xmlsec] Build issues: xmlsec 1.2.8 on mingw32 (xmlsec-ltdl.c)

Rob Mandeville remande at alum.wpi.edu
Fri May 12 06:53:22 PDT 2006


I cannot seem to build XMLSec 1.2.8 on my XP Pro box.  The file 
xmlsec-ltdl.c fails to compile, and that stops everything.  I have both 
cygwin and mingw32 installed.  My build script is as follows (run in 
bash, not cmd):

---begin---
make distclean

export CFLAGS="-I/cygdrive/c/MingWStudio/MinGW/include 
-I/cygdrive/c/MingWStudio/MinGW/include/c++/3.4.2"
export CCFLAGS="-I/cygdrive/c/MingWStudio/MinGW/include 
-I/cygdrive/c/MingWStudio/MinGW/include/c++/3.4.2"
export CPPFLAGS="-I/cygdrive/c/MingWStudio/MinGW/include 
-I/cygdrive/c/MingWStudio/MinGW/include/c++/3.4.2"
export LDFLAGS="-L/cygdrive/MingWStudio/MinGW/lib"

./configure --prefix=$SR_ROOT --enable-static --disable-shared 
--with-openssl --without-xslt --build=i686-pc-mingw32 
--disable-ltdl-install --disable-ltdl-convenience

make
---end---

SR_ROOT is the name of an environment variable pointing to my system's 
equivalent of /usr/local.

Here is the error part of the log.  Note that if I use "make -k", the 
other sources compile; errors are limited to xmlsec-ltdl.c.

---begin---
/bin/sh ../libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I. -I. 
-I.. -DPACKAGE=\"xmlsec1\" -I.. -I../include 
-D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XKMS=1 
-I/usr/include/libxml2 -I/usr/include/libxml2   
-I/cygdrive/c/MingWStudio/MinGW/include 
-I/cygdrive/c/MingWStudio/MinGW/include/c++/3.4.2  
-I/cygdrive/c/MingWStudio/MinGW/include 
-I/cygdrive/c/MingWStudio/MinGW/include/c++/3.4.2 -c -o xmlsec-ltdl.lo 
xmlsec-ltdl.c
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE=\"xmlsec1\" -I.. 
-I../include -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XKMS=1 
-I/usr/include/libxml2 -I/usr/include/libxml2 
-I/cygdrive/c/MingWStudio/MinGW/include 
-I/cygdrive/c/MingWStudio/MinGW/include/c++/3.4.2 
-I/cygdrive/c/MingWStudio/MinGW/include 
-I/cygdrive/c/MingWStudio/MinGW/include/c++/3.4.2 -c xmlsec-ltdl.c -o 
xmlsec-ltdl.o
xmlsec-ltdl.c:168: error: `LTDL_OBJDIR' undeclared here (not in a function)
xmlsec-ltdl.c:254: error: `malloc' undeclared here (not in a function)
xmlsec-ltdl.c:256: error: `free' undeclared here (not in a function)
xmlsec-ltdl.c: In function `find_file':
xmlsec-ltdl.c:1680: warning: assignment discards qualifiers from pointer 
target type
xmlsec-ltdl.c:1730: error: `FILE' undeclared (first use in this function)
xmlsec-ltdl.c:1730: error: (Each undeclared identifier is reported only once
xmlsec-ltdl.c:1730: error: for each function it appears in.)
xmlsec-ltdl.c:1730: error: `file' undeclared (first use in this function)
xmlsec-ltdl.c: In function `xmlsec_lt_dlopen':
xmlsec-ltdl.c:2053: warning: assignment discards qualifiers from pointer 
target type
xmlsec-ltdl.c:2078: error: `FILE' undeclared (first use in this function)
xmlsec-ltdl.c:2078: error: `file' undeclared (first use in this function)
xmlsec-ltdl.c:2121: error: parse error before ')' token
xmlsec-ltdl.c:2124: error: parse error before ')' token
xmlsec-ltdl.c:2238: warning: assignment discards qualifiers from pointer 
target type
xmlsec-ltdl.c:2238: error: `NULL' undeclared (first use in this function)
make[3]: *** [xmlsec-ltdl.lo] Error 1
---end---

All I'm looking for is a static lib.  I explicitly do _not_ want shared 
libraries.  As far as I can tell, xmlsec-ltdl is all about dynamic 
linking, which I don't want in the first place.  But it seems impossible 
to get the static lib without compiling this.

Any ideas, people?  Thanks in advance!

--Rob Mandeville (remande at alum.wpi.edu)

ENTIRE BUILD LOG FOLLOWS


cd c:/devel/surround/xmlsec_1.2.8/
SR_build_cygwin

c:\devel\surround\xmlsec_1.2.8>bash SR_build_cygwin.sh
Making distclean in docs
make[1]: Entering directory `/cygdrive/c/devel/surround/xmlsec_1.2.8/docs'
Making distclean in api
File not found - *.c
File not found - *.h
make[2]: Entering directory 
`/cygdrive/c/devel/surround/xmlsec_1.2.8/docs/api'
rm -rf .libs _libs
rm -f *.lo
test -z "" || rm -f
rm -f libtool
rm -f Makefile
make[2]: Leaving directory 
`/cygdrive/c/devel/surround/xmlsec_1.2.8/docs/api'
Making distclean in .
make[2]: Entering directory `/cygdrive/c/devel/surround/xmlsec_1.2.8/docs'
rm -rf .libs _libs
rm -f *.lo
test -z "" || rm -f
rm -f libtool
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
make[2]: Leaving directory `/cygdrive/c/devel/surround/xmlsec_1.2.8/docs'
rm -f Makefile
make[1]: Leaving directory `/cygdrive/c/devel/surround/xmlsec_1.2.8/docs'
Making distclean in man
make[1]: Entering directory `/cygdrive/c/devel/surround/xmlsec_1.2.8/man'
rm -rf .libs _libs
rm -f *.lo
test -z "" || rm -f
rm -f libtool
rm -f Makefile
make[1]: Leaving directory `/cygdrive/c/devel/surround/xmlsec_1.2.8/man'
Making distclean in apps
make[1]: Entering directory `/cygdrive/c/devel/surround/xmlsec_1.2.8/apps'
 rm -f xmlsec1.exe xmlsec1
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
rm -f *.tab.c
test -z "" || rm -f
rm -f libtool
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -rf ./.deps
rm -f Makefile
make[1]: Leaving directory `/cygdrive/c/devel/surround/xmlsec_1.2.8/apps'
Making distclean in src
make[1]: Entering directory `/cygdrive/c/devel/surround/xmlsec_1.2.8/src'
Making distclean in openssl
make[2]: Entering directory 
`/cygdrive/c/devel/surround/xmlsec_1.2.8/src/openssl'
test -z "libxmlsec1-openssl.la " || rm -f libxmlsec1-openssl.la
rm -f "./so_locations"
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
rm -f *.tab.c
test -z "" || rm -f
rm -f libtool
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -rf ./.deps
rm -f Makefile
make[2]: Leaving directory 
`/cygdrive/c/devel/surround/xmlsec_1.2.8/src/openssl'
Making distclean in .
make[2]: Entering directory `/cygdrive/c/devel/surround/xmlsec_1.2.8/src'
test -z "libxmlsec1.la " || rm -f libxmlsec1.la
rm -f "./so_locations"
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
rm -f *.tab.c
test -z "" || rm -f
rm -f libtool
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
make[2]: Leaving directory `/cygdrive/c/devel/surround/xmlsec_1.2.8/src'
rm -rf ./.deps
rm -f Makefile
make[1]: Leaving directory `/cygdrive/c/devel/surround/xmlsec_1.2.8/src'
Making distclean in include
make[1]: Entering directory 
`/cygdrive/c/devel/surround/xmlsec_1.2.8/include'
Making distclean in xmlsec
make[2]: Entering directory 
`/cygdrive/c/devel/surround/xmlsec_1.2.8/include/xmlsec'
Making distclean in openssl
make[3]: Entering directory 
`/cygdrive/c/devel/surround/xmlsec_1.2.8/include/xmlsec/openssl'
rm -rf .libs _libs
rm -f *.lo
test -z "" || rm -f
rm -f libtool
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -f Makefile
make[3]: Leaving directory 
`/cygdrive/c/devel/surround/xmlsec_1.2.8/include/xmlsec/openssl'
Making distclean in private
make[3]: Entering directory 
`/cygdrive/c/devel/surround/xmlsec_1.2.8/include/xmlsec/private'
rm -rf .libs _libs
rm -f *.lo
test -z "" || rm -f
rm -f libtool
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -f Makefile
make[3]: Leaving directory 
`/cygdrive/c/devel/surround/xmlsec_1.2.8/include/xmlsec/private'
Making distclean in .
make[3]: Entering directory 
`/cygdrive/c/devel/surround/xmlsec_1.2.8/include/xmlsec'
rm -rf .libs _libs
rm -f *.lo
test -z "version.h" || rm -f version.h
rm -f libtool
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
make[3]: Leaving directory 
`/cygdrive/c/devel/surround/xmlsec_1.2.8/include/xmlsec'
rm -f Makefile
make[2]: Leaving directory 
`/cygdrive/c/devel/surround/xmlsec_1.2.8/include/xmlsec'
Making distclean in .
make[2]: Entering directory 
`/cygdrive/c/devel/surround/xmlsec_1.2.8/include'
rm -rf .libs _libs
rm -f *.lo
test -z "" || rm -f
rm -f libtool
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
make[2]: Leaving directory `/cygdrive/c/devel/surround/xmlsec_1.2.8/include'
rm -f Makefile
make[1]: Leaving directory `/cygdrive/c/devel/surround/xmlsec_1.2.8/include'
Making distclean in .
make[1]: Entering directory `/cygdrive/c/devel/surround/xmlsec_1.2.8'
rm -rf .libs _libs
rm -f *.lo
test -z "xmlsec1Conf.sh xmlsec1-config xmlsec1-openssl.pc 
xmlsec1-gnutls.pc xmlsec1-nss.pc xmlsec1.spec xmlsec1.pc" || rm -f 
xmlsec1Conf.sh xmlsec1-config xmlsec1-openssl.pc xmlsec1-gnutls.pc 
xmlsec1-nss.pc xmlsec1.spec xmlsec1.pc
test -z "xmlsec1Conf.sh xmlsec1.pc xmlsec1-openssl.pc xmlsec1-gnutls.pc 
xmlsec1-nss.pc xmlsec1-config xmlsec1.spec stamp-h2 stamp-h3 stamp-h4 
stamp-h5 ULL" || rm -f xmlsec1Conf.sh xmlsec1.pc xmlsec1-openssl.pc 
xmlsec1-gnutls.pc xmlsec1-nss.pc xmlsec1-config xmlsec1.spec stamp-h2 
stamp-h3 stamp-h4 stamp-h5 ULL
rm -f config.h stamp-h1
rm -f libtool
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
make[1]: Leaving directory `/cygdrive/c/devel/surround/xmlsec_1.2.8'
rm -f config.status config.cache config.log configure.lineno 
configure.status.lineno
rm -f Makefile
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/i686-pc-cygwin/bin/ld.exe
checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes
checking for /usr/i686-pc-cygwin/bin/ld.exe option to reload object 
files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... file_magic file format 
pei*-i386(.*architecture: i386)?
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 8192
checking command to parse /usr/bin/nm -B output from gcc object... failed
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -DDLL_EXPORT
checking if gcc PIC flag -DDLL_EXPORT works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i686-pc-cygwin/bin/ld.exe) 
supports shared libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i686-pc-cygwin/bin/ld.exe
checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes
checking whether the g++ linker (/usr/i686-pc-cygwin/bin/ld.exe) 
supports shared libraries... yes
checking for g++ option to produce PIC... -DDLL_EXPORT
checking if g++ PIC flag -DDLL_EXPORT works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i686-pc-cygwin/bin/ld.exe) 
supports shared libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -DDLL_EXPORT
checking if g77 PIC flag -DDLL_EXPORT works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/i686-pc-cygwin/bin/ld.exe) 
supports shared libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ANSI C header files... (cached) yes
checking for rm... /usr/bin/rm
checking for cp... /usr/bin/cp
checking for mv... /usr/bin/mv
checking for tar... /usr/bin/tar
checking for help2man... /usr/bin/help2man
checking for man2html... /usr/bin/man2html
checking for function prototypes... yes
checking for string.h... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking ansidecl.h usability... yes
checking ansidecl.h presence... yes
checking for ansidecl.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for printf... yes
checking for sprintf... yes
checking for fprintf... yes
checking for snprintf... yes
checking for vfprintf... yes
checking for vsprintf... yes
checking for vsnprintf... yes
checking for sscanf... yes
checking for timegm... yes
checking for an ANSI C-conforming const... yes
checking which extension is used for loadable modules... .dll
checking which variable specifies run-time library path... PATH
checking for the default library search path... /lib /usr/lib
checking for objdir... .libs
checking whether libtool supports -dlopen/-dlpreopen... no
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen in -ldl... no
checking for dlerror... yes
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... unknown
checking argz.h usability... no
checking argz.h presence... yes
configure: WARNING: argz.h: present but cannot be compiled
configure: WARNING: argz.h:     check for missing prerequisite headers?
configure: WARNING: argz.h: see the Autoconf documentation
configure: WARNING: argz.h:     section "Present But Cannot Be Compiled"
configure: WARNING: argz.h: proceeding with the preprocessor's result
configure: WARNING: argz.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##
checking for argz.h... yes
checking for error_t... no
checking for argz_append... yes
checking for argz_create_sep... yes
checking for argz_insert... yes
checking for argz_next... yes
checking for argz_stringify... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking for ctype.h... (cached) yes
checking for errno.h... (cached) yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for memory.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for stdio.h... (cached) yes
checking for unistd.h... (cached) yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking sys/dl.h usability... no
checking sys/dl.h presence... no
checking for sys/dl.h... no
checking dld.h usability... no
checking dld.h presence... no
checking for dld.h... no
checking mach-o/dyld.h usability... no
checking mach-o/dyld.h presence... no
checking for mach-o/dyld.h... no
checking for string.h... (cached) yes
checking for strchr... yes
checking for strrchr... yes
checking for memcpy... yes
checking for memmove... yes
checking for strcmp... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
checking for development environment... no
checking for __FUNCTION__ or __func__... __FUNCTION__
checking for size_t... yes
checking size of size_t... 4
checking for pkg-config... yes
checking for pkg-config... /usr/bin/pkg-config
checking for libxml-2.0 >= 2.6.12... checking libxml2   no  ... checking 
for libxml2 libraries >= 2.6.12... checking libxml2   xml2-config  ... 
yes ('')
checking for libxslt >= 1.0.20... checking for libxslt libraries >= 
1.0.20... "yes ('')"
checking for libgnutls >= 1.0.0... checking for libgnutls >= 0.8.1... 
checking for gnutls libraries >= 0.8.1... no
checking for mozilla-nspr >= 1.4 mozilla-nss >= 1.4... checking for nspr 
libraries >= 4.0... no
checking for nss libraries >= 3.2... no
checking for crypto library... yes ('openssl')
checking for SHA1 support... yes
checking for RIPEMD-160 support... yes
checking for HMAC support... yes
checking for DSA support... yes
checking for RSA support... yes
checking for x509 support... yes
checking for DES support... yes
checking for AES support... yes
checking for XMLDSig support... yes
checking for XMLEnc support... yes
checking for XMKMS support - under development... no
checking for xmlsec-crypto dynamic loading support... yes
checking for xmlsec-crypto dynamic loading support in command line 
tool... yes
checking for docs folder... $(datadir)/doc/xmlsec1
checking for Simple Keys Manager testing... yes
checking for templates testing... yes
checking for debuging... no
checking for profiling... no
checking for pedantic... no
checking for static linking... no
configure: creating ./config.status
config.status: creating include/xmlsec/version.h
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating include/xmlsec/Makefile
config.status: creating include/xmlsec/private/Makefile
config.status: creating src/Makefile
config.status: creating apps/Makefile
config.status: creating docs/Makefile
config.status: creating docs/api/Makefile
config.status: creating man/Makefile
config.status: creating xmlsec1Conf.sh
config.status: creating xmlsec1-config
config.status: creating xmlsec1-openssl.pc
config.status: creating xmlsec1-gnutls.pc
config.status: creating xmlsec1-nss.pc
config.status: creating xmlsec1.spec
config.status: creating config.h
config.status: executing depfiles commands
configure: creating ./config.status
config.status: creating include/xmlsec/version.h
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating include/xmlsec/Makefile
config.status: creating include/xmlsec/private/Makefile
config.status: creating src/Makefile
config.status: creating apps/Makefile
config.status: creating docs/Makefile
config.status: creating docs/api/Makefile
config.status: creating man/Makefile
config.status: creating xmlsec1Conf.sh
config.status: creating xmlsec1-config
config.status: creating xmlsec1-openssl.pc
config.status: creating xmlsec1-gnutls.pc
config.status: creating xmlsec1-nss.pc
config.status: creating xmlsec1.spec
config.status: creating include/xmlsec/openssl/Makefile
config.status: creating src/openssl/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
configure: creating ./config.status
config.status: creating include/xmlsec/version.h
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating include/xmlsec/Makefile
config.status: creating include/xmlsec/private/Makefile
config.status: creating src/Makefile
config.status: creating apps/Makefile
config.status: creating docs/Makefile
config.status: creating docs/api/Makefile
config.status: creating man/Makefile
config.status: creating xmlsec1Conf.sh
config.status: creating xmlsec1-config
config.status: creating xmlsec1-openssl.pc
config.status: creating xmlsec1-gnutls.pc
config.status: creating xmlsec1-nss.pc
config.status: creating xmlsec1.spec
config.status: creating include/xmlsec/openssl/Makefile
config.status: creating src/openssl/Makefile
config.status: creating xmlsec1.pc
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
make  all-recursive
make[1]: Entering directory `/cygdrive/c/devel/surround/xmlsec_1.2.8'
Making all in include
make[2]: Entering directory 
`/cygdrive/c/devel/surround/xmlsec_1.2.8/include'
Making all in xmlsec
make[3]: Entering directory 
`/cygdrive/c/devel/surround/xmlsec_1.2.8/include/xmlsec'
Making all in private
make[4]: Entering directory 
`/cygdrive/c/devel/surround/xmlsec_1.2.8/include/xmlsec/private'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory 
`/cygdrive/c/devel/surround/xmlsec_1.2.8/include/xmlsec/private'
Making all in openssl
make[4]: Entering directory 
`/cygdrive/c/devel/surround/xmlsec_1.2.8/include/xmlsec/openssl'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory 
`/cygdrive/c/devel/surround/xmlsec_1.2.8/include/xmlsec/openssl'
make[4]: Entering directory 
`/cygdrive/c/devel/surround/xmlsec_1.2.8/include/xmlsec'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory 
`/cygdrive/c/devel/surround/xmlsec_1.2.8/include/xmlsec'
make[3]: Leaving directory 
`/cygdrive/c/devel/surround/xmlsec_1.2.8/include/xmlsec'
make[3]: Entering directory 
`/cygdrive/c/devel/surround/xmlsec_1.2.8/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/cygdrive/c/devel/surround/xmlsec_1.2.8/include'
make[2]: Leaving directory `/cygdrive/c/devel/surround/xmlsec_1.2.8/include'
Making all in src
make[2]: Entering directory `/cygdrive/c/devel/surround/xmlsec_1.2.8/src'
Making all in .
make[3]: Entering directory `/cygdrive/c/devel/surround/xmlsec_1.2.8/src'
source='xmlsec-ltdl.c' object='xmlsec-ltdl.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I. -I. 
-I.. -DPACKAGE=\"xmlsec1\" -I.. -I../include 
-D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XKMS=1 
-I/usr/include/libxml2 -I/usr/include/libxml2   
-I/cygdrive/c/MingWStudio/MinGW/include 
-I/cygdrive/c/MingWStudio/MinGW/include/c++/3.4.2  
-I/cygdrive/c/MingWStudio/MinGW/include 
-I/cygdrive/c/MingWStudio/MinGW/include/c++/3.4.2 -c -o xmlsec-ltdl.lo 
xmlsec-ltdl.c
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE=\"xmlsec1\" -I.. 
-I../include -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XKMS=1 
-I/usr/include/libxml2 -I/usr/include/libxml2 
-I/cygdrive/c/MingWStudio/MinGW/include 
-I/cygdrive/c/MingWStudio/MinGW/include/c++/3.4.2 
-I/cygdrive/c/MingWStudio/MinGW/include 
-I/cygdrive/c/MingWStudio/MinGW/include/c++/3.4.2 -c xmlsec-ltdl.c -o 
xmlsec-ltdl.o
xmlsec-ltdl.c:168: error: `LTDL_OBJDIR' undeclared here (not in a function)
xmlsec-ltdl.c:254: error: `malloc' undeclared here (not in a function)
xmlsec-ltdl.c:256: error: `free' undeclared here (not in a function)
xmlsec-ltdl.c: In function `find_file':
xmlsec-ltdl.c:1680: warning: assignment discards qualifiers from pointer 
target type
xmlsec-ltdl.c:1730: error: `FILE' undeclared (first use in this function)
xmlsec-ltdl.c:1730: error: (Each undeclared identifier is reported only once
xmlsec-ltdl.c:1730: error: for each function it appears in.)
xmlsec-ltdl.c:1730: error: `file' undeclared (first use in this function)
xmlsec-ltdl.c: In function `xmlsec_lt_dlopen':
xmlsec-ltdl.c:2053: warning: assignment discards qualifiers from pointer 
target type
xmlsec-ltdl.c:2078: error: `FILE' undeclared (first use in this function)
xmlsec-ltdl.c:2078: error: `file' undeclared (first use in this function)
xmlsec-ltdl.c:2121: error: parse error before ')' token
xmlsec-ltdl.c:2124: error: parse error before ')' token
xmlsec-ltdl.c:2238: warning: assignment discards qualifiers from pointer 
target type
xmlsec-ltdl.c:2238: error: `NULL' undeclared (first use in this function)
make[3]: *** [xmlsec-ltdl.lo] Error 1
make[3]: Leaving directory `/cygdrive/c/devel/surround/xmlsec_1.2.8/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/cygdrive/c/devel/surround/xmlsec_1.2.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/devel/surround/xmlsec_1.2.8'
make: *** [all] Error 2

Compilation exited abnormally with code 2 at Fri May 12 09:46:37





More information about the xmlsec mailing list