help-gnutls
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gnutls] cannot build outside the source directory


From: Gerrit P. Haase
Subject: [Help-gnutls] cannot build outside the source directory
Date: Fri, 17 Sep 2004 00:05:15 +0200

 gcc -DHAVE_CONFIG_H -I. -I/ftproot/pub/gnome/gnutls/gnutls-1.0.20/lib -I.. 
-I../libextra -Iminitasn1/ -I../libextra/openpgp/ -I../libextra/opencdk -Ix509/ 
-I../includes -I/usr/include -I/usr/include -g0 -O3 -D_REENTRANT -D_THREAD_SAFE 
-O2 -finline-functions -pipe -MT gnutls_handshake.lo -MD -MP -MF 
.deps/gnutls_handshake.Tpo -c 
/ftproot/pub/gnome/gnutls/gnutls-1.0.20/lib/gnutls_handshake.c  -o 
.libs/gnutls_handshake.o
/ftproot/pub/gnome/gnutls/gnutls-1.0.20/lib/gnutls_handshake.c:49:21: 
ext_srp.h: No such file or directory
make[3]: *** [gnutls_handshake.lo] Error 1

$ find . -name "ext_srp.h"
./gnutls-1.0.20/libextra/ext_srp.h

This are the bad INCLUDE flags:

-I.. -I../libextra -Iminitasn1/ -I../libextra/openpgp/ -I../libextra/opencdk 
-Ix509/ -I../includes

Please use no relative paths, use full paths like this in your
Makefile.am:
INCLUDES = -I$(top_srcdir)/libextra -I$(top_srcdir)/lib/minitasn1/ 
-I$(top_srcdir)/libextra/openpgp/ -I$(top_srcdir)/libextra/opencdk 
-I$(top_srcdir)/lib/x509/ -I$(top_srcdir)/includes $(LIBOPENCDK_CFLAGS) 
$(LIBTASN1_CFLAGS) $(LIBGCRYPT_CFLAGS)


Why do you force the user to build inside the source tree?
Do you build inside the source tree?  Why???


Gerrit
-- 
=^..^=





reply via email to

[Prev in Thread] Current Thread [Next in Thread]