[Help-gnutls] Re: Problem compiling gnutls with msys
Simon Josefsson
simon at josefsson.org
Thu Jan 10 17:21:20 CET 2008
Christoph Zettl <christoph_zettl at web.de> writes:
> Hi,
>
> I have compiled and installed libgpg-error and libgcrypt.
>
> configuring gnutls works fine.
>
> but with mingw32-make there comes following output:
Could it be that the LOCALEDIR path is causing problems? It seems like
it is terminated with a \ thereby escaping the " after it.
How did you invoke ./configure? Maybe you could avoid all trailing '/'
or '\' in paths.
If that doesn't solve it, please send the config.log and ./configure
output.
/Simon
> 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:
>
> .c.lo:
> $(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
>
>
>
> Thanks
>
> Christoph
>
>
>
>
> 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]
> _______________________________________________
> Help-gnutls mailing list
> Help-gnutls at gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnutls
More information about the Gnutls-help
mailing list