* gnutls : error compiling
@ 2011-05-04 23:49 T.V. Raman
2011-05-05 2:08 ` Ted Zlatanov
0 siblings, 1 reply; 4+ messages in thread
From: T.V. Raman @ 2011-05-04 23:49 UTC (permalink / raw)
To: emacs-devel
This is on ubuntu jaunty.
I get an error compiling against the last git snapshot.
Error below:
gcc -c -Demacs -DHAVE_CONFIG_H -I.
-I/home/raman/sourceforge/emacs/src -I../lib
-I/home/raman/sourceforge/emacs/src/../lib -D_REENTRANT
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/directfb -I/usr/include/libpng12
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/freetype2 -I/usr/include/alsa -D_REENTRANT
-I/usr/include/librsvg-2 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0
-I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/directfb -I/usr/include/libpng12 -fopenmp
-I/usr/include/ImageMagick -I/usr/include/libxml2
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -DORBIT2=1
-pthread -I/usr/include/gconf/2 -I/usr/include/orbit-2.0
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/freetype2 -MMD -MF deps/gnutls.d
-Wimplicit-function-declaration -Wold-style-definition
-Wdeclaration-after-statement -g -O2 gnutls.c
gnutls.c: In function ‘Fgnutls_boot’:
gnutls.c:744: error: ‘GNUTLS_CERT_NOT_ACTIVATED’ undeclared (first use
in this function)
gnutls.c:744: error: (Each undeclared identifier is reported only once
gnutls.c:744: error: for each function it appears in.)
gnutls.c:748: error: ‘GNUTLS_CERT_EXPIRED’ undeclared (first use in
this function)
make[1]: *** [gnutls.o] Error 1
make[1]: Leaving directory `/data/v3/raman/sourceforge/git-emacs/emacs/src'
make: *** [src] Error 2
16:34:31 labrador emacs $
--
Best Regards,
--raman
--
Best Regards,
--raman
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: gnutls : error compiling
2011-05-04 23:49 gnutls : error compiling T.V. Raman
@ 2011-05-05 2:08 ` Ted Zlatanov
2011-05-05 3:37 ` T.V. Raman
0 siblings, 1 reply; 4+ messages in thread
From: Ted Zlatanov @ 2011-05-05 2:08 UTC (permalink / raw)
To: emacs-devel
On Wed, 4 May 2011 16:49:55 -0700 "T.V. Raman" <tv.raman.tv@gmail.com> wrote:
TVR> This is on ubuntu jaunty.
TVR> I get an error compiling against the last git snapshot.
TVR> -Wdeclaration-after-statement -g -O2 gnutls.c
TVR> gnutls.c: In function ‘Fgnutls_boot’:
TVR> gnutls.c:744: error: ‘GNUTLS_CERT_NOT_ACTIVATED’ undeclared (first use
TVR> in this function)
TVR> gnutls.c:744: error: (Each undeclared identifier is reported only once
TVR> gnutls.c:744: error: for each function it appears in.)
TVR> gnutls.c:748: error: ‘GNUTLS_CERT_EXPIRED’ undeclared (first use in
TVR> this function)
TVR> make[1]: *** [gnutls.o] Error 1
TVR> make[1]: Leaving directory `/data/v3/raman/sourceforge/git-emacs/emacs/src'
TVR> make: *** [src] Error 2
TVR> 16:34:31 labrador emacs $
Do you have an old version of the GnuTLS library?
I just fixed another problem (the fn_ alias for
`gnutls_certificate_set_x509_key_file' was missing) but this one I don't
see on Ubuntu (10.10 or 11.04).
Ted
^ permalink raw reply [flat|nested] 4+ messages in thread
* gnutls : error compiling
2011-05-05 2:08 ` Ted Zlatanov
@ 2011-05-05 3:37 ` T.V. Raman
2011-05-05 10:32 ` Ted Zlatanov
0 siblings, 1 reply; 4+ messages in thread
From: T.V. Raman @ 2011-05-05 3:37 UTC (permalink / raw)
To: Ted Zlatanov, emacs-devel
Here is what Ihave for the gnutls libs:
aptitude show libgnutls-dev
Package: libgnutls-dev
State: installed
Automatically installed: no
Version: 2.4.2-6ubuntu0.1
Priority: optional
Section: libdevel
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Uncompressed Size: 1475k
Depends: libgnutls26 (= 2.4.2-6ubuntu0.1), libgcrypt11-dev (>= 1.3.0), libc6-dev
| libc-dev, zlib1g-dev, libtasn1-3-dev (>= 0.3.4)
Suggests: gnutls-doc, gnutls-bin, guile-gnutls
Conflicts: gnutls-dev (< 0.4.0-0), gnutls0.4-dev, libgnutls11-dev
Replaces: gnutls-dev (< 0.4.0-0), gnutls0.4-dev, libgnutls11-dev
Provides: gnutls-dev
Description: the GNU TLS library - development files
gnutls is a portable library which implements the Transport Layer Security
(TLS) 1.0 and Secure Sockets Layer (SSL) 3.0 protocols.
Currently gnutls implements:
* the TLS 1.0 and SSL 3.0 protocols, without any US-export controlled
algorithms
* X509 Public Key Infrastructure (with several limitations).
* SRP for TLS authentication.
* TLS Extension mechanism
This package contains the gnutls development files.
Homepage: http://www.gnutls.org/
20:36:04 labrador info $
--
Best Regards,
--raman
--
Best Regards,
--raman
On 5/4/11, Ted Zlatanov <tzz@lifelogs.com> wrote:
> On Wed, 4 May 2011 16:49:55 -0700 "T.V. Raman" <tv.raman.tv@gmail.com>
> wrote:
>
> TVR> This is on ubuntu jaunty.
> TVR> I get an error compiling against the last git snapshot.
>
> TVR> -Wdeclaration-after-statement -g -O2 gnutls.c
> TVR> gnutls.c: In function ‘Fgnutls_boot’:
> TVR> gnutls.c:744: error: ‘GNUTLS_CERT_NOT_ACTIVATED’ undeclared (first use
> TVR> in this function)
> TVR> gnutls.c:744: error: (Each undeclared identifier is reported only once
> TVR> gnutls.c:744: error: for each function it appears in.)
> TVR> gnutls.c:748: error: ‘GNUTLS_CERT_EXPIRED’ undeclared (first use in
> TVR> this function)
> TVR> make[1]: *** [gnutls.o] Error 1
> TVR> make[1]: Leaving directory
> `/data/v3/raman/sourceforge/git-emacs/emacs/src'
> TVR> make: *** [src] Error 2
> TVR> 16:34:31 labrador emacs $
>
> Do you have an old version of the GnuTLS library?
>
> I just fixed another problem (the fn_ alias for
> `gnutls_certificate_set_x509_key_file' was missing) but this one I don't
> see on Ubuntu (10.10 or 11.04).
>
> Ted
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: gnutls : error compiling
2011-05-05 3:37 ` T.V. Raman
@ 2011-05-05 10:32 ` Ted Zlatanov
0 siblings, 0 replies; 4+ messages in thread
From: Ted Zlatanov @ 2011-05-05 10:32 UTC (permalink / raw)
To: emacs-devel
On Wed, 4 May 2011 20:37:10 -0700 "T.V. Raman" <tv.raman.tv@gmail.com> wrote:
TVR> Here is what Ihave for the gnutls libs:
TVR> aptitude show libgnutls-dev
TVR> Package: libgnutls-dev
TVR> State: installed
TVR> Automatically installed: no
TVR> Version: 2.4.2-6ubuntu0.1
OK, so we're checking for 2.2.4 but using features from 2.6:
PKG_CHECK_MODULES([LIBGNUTLS], [gnutls >= 2.2.4], HAVE_GNUTLS=yes, HAVE_GNUTLS=no)
Could someone with GnuTLS 2.6.x see if it compiles OK for them? I don't
have any such machines.
I'll bump the version correspondingly. I'd rather not try to be
backwards compatible with 2.4.x, as already discussed.
T.V., you can use "--without-gnutls" meanwhile to get your compilation
working.
Thanks
ted
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-05-05 10:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-04 23:49 gnutls : error compiling T.V. Raman
2011-05-05 2:08 ` Ted Zlatanov
2011-05-05 3:37 ` T.V. Raman
2011-05-05 10:32 ` Ted Zlatanov
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.