[Help-gnutls] Problem compiling gnutls with msys

Christoph Zettl christoph_zettl at web.de
Thu Jan 10 12:25:11 CET 2008


I have compiled and installed libgpg-error and libgcrypt.

configuring gnutls works fine.

but with mingw32-make there comes following output:

c:\mingw\bin\mingw32-make.exe[3]: Leaving directory `c:/gnutls-2.2.0/lib/minitasn1'
c:\mingw\bin\mingw32-make.exe[3]: Entering directory `c:/gnutls-2.2.0/lib'
C:/msys/1.0/bin/sh.exe ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -I../lgl -I../lgl -I../includes -I../includes -I./x509 -I../libextra -I../libextra/openpgp/ -I../libextra/opencdk -I/usr/local/include -I./minitasn1 -g -O2 -D_REENTRANT -D_THREAD_SAFE -pipe -I/usr/local/include -g -O2 -D_REENTRANT -D_THREAD_SAFE -MT gnutls_record.lo -MD -MP -MF .deps/gnutls_record.Tpo -c -o gnutls_record.lo gnutls_record.c
Xgnutls_record.Tpo -c -o gnutls_record.lo gnutls_record.lo
libtool: compile: libobj name `gnutls_record.Tpo -c -o gnutls_record.lo gnutls_record.lo' may not contain shell special characters.
rm: invalid option -- c
Try `rm --help' for more information.
 gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. "-DLOCALEDIR=\\/usr/local/share/locale\" -I../lgl -I../lgl -I../includes -I../includes -I./x509 -I../libextra -I../libextra/openpgp/ -I../libextra/opencdk -I/usr/local/include -I./minitasn1 -g -O2 -D_REENTRANT -D_THREAD_SAFE -pipe -I/usr/local/include -g -O2 -D_REENTRANT -D_THREAD_SAFE -MT gnutls_record.lo -MD -MP -MF .deps/gnutls_record.Tpo -c -o gnutls_record.lo gnutls_record.c" -DDLL_EXPORT -DPIC -o .libs/gnutls_record.Tpo -c -o gnutls_record.lo gnutls_record.o
gcc.exe: gnutls_record.o: No such file or directory
gcc.exe: no input files
c:\mingw\bin\mingw32-make.exe[3]: *** [gnutls_record.lo] Error 1
c:\mingw\bin\mingw32-make.exe[3]: Leaving directory `c:/gnutls-2.2.0/lib'
c:\mingw\bin\mingw32-make.exe[2]: *** [all-recursive] Error 1
c:\mingw\bin\mingw32-make.exe[2]: Leaving directory `c:/gnutls-2.2.0/lib'
mingw32-make.exe[1]: *** [all-recursive] Error 1
mingw32-make.exe[1]: Leaving directory `c:/gnutls-2.2.0'
c:\mingw\bin\mingw32-make.exe: *** [all] Error 2


might be cause of:

 $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
# source='$<' object='$@' [mailto:object='$@'] libtool=yes \
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
# $(LTCOMPILE) -c -o $@ $<

in makefile




Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
*http://smartsurfer.web.de/?mc=100071&distributionid=000000000066* [http://smartsurfer.web.de/?mc=100071&distributionid=000000000066] 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20080110/8a2257d5/attachment.htm>

More information about the Gnutls-help mailing list