weechat-dev
[Top][All Lists]
Advanced

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

[Weechat-dev] [bug #28723] 0.3.1 compilation fails with gnutls compilati


From: Will Foster
Subject: [Weechat-dev] [bug #28723] 0.3.1 compilation fails with gnutls compilation errors (centos5.4/x86_64)
Date: Sun, 24 Jan 2010 01:38:29 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.6) Gecko/20091216 Fedora/3.5.6-1.fc12 Firefox/3.5.6

URL:
  <http://savannah.nongnu.org/bugs/?28723>

                 Summary: 0.3.1 compilation fails with gnutls compilation
errors (centos5.4/x86_64)
                 Project: WeeChat
            Submitted by: sadsfae
            Submitted on: Sun 24 Jan 2010 01:38:28 AM GMT
                Category: compilation
                Severity: 3 - Normal
              Item Group: compile/install
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 0.3.1
                IRC nick: sadsfae

    _______________________________________________________

Details:

Hello,

I am running into gnutls errors when trying to compile 0.3.1.
I can compile 0.2.6.x up to 0.3.0 with no problems.

distribution: centos5.4 (x86_64, vm)
kernel: 2.6.31-302-rs
-- other packages --
gnutls-1.4.1-3.el5_3.5
gnutls-devel-1.4.1-3.el5_3.5
gcc-4.1.2-46.el5_4.2
make-3.81-3.el5
cmake-2.4.8-3.el5


As you can see below my include path and headers are present

-- configure snip --
checking gnutls/gnutls.h presence... yes
checking for gnutls/gnutls.h... yes
checking for gnutls_global_init in -lgnutls... yes
checking for gnutls headers and librairies... yes
-- configure snip --

Below is a paste from the failed build from both cmake and make.

Please let me know if I need to provide more information or collect anymore
information.  Thanks.

-- cmake --
[ 52%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-raw.o
[ 53%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-server.o
/home/***/source/weechat-0.3.1/src/plugins/irc/irc-server.c: In function
‘irc_server_gnutls_callback’:
/home/***/source/weechat-0.3.1/src/plugins/irc/irc-server.c:2312: error:
implicit declaration of function ‘gnutls_x509_crt_print’
/home/***/source/weechat-0.3.1/src/plugins/irc/irc-server.c:2312: error:
‘GNUTLS_CRT_PRINT_ONELINE’ undeclared (first use in this function)
/home/***/source/weechat-0.3.1/src/plugins/irc/irc-server.c:2312: error:
(Each undeclared identifier is reported only once
/home/***/source/weechat-0.3.1/src/plugins/irc/irc-server.c:2312: error: for
each function it appears in.)
make[2]: *** [src/plugins/irc/CMakeFiles/irc.dir/irc-server.o] Error 1
make[1]: *** [src/plugins/irc/CMakeFiles/irc.dir/all] Error 2
make: *** [all] Error 2

-- make --
/bin/sh ../../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../../.. -DLOCALEDIR=\"/usr/local/share/locale\"     -Wall -W
-Werror-implicit-function-declaration -pipe -O2 -DHAVE_GNUTLS
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -g -O0
-DWEECHAT_VERSION=\"0.3.1\" -MT irc-server.lo -MD -MP -MF .deps/irc-server.Tpo
-c -o irc-server.lo irc-server.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../..
-DLOCALEDIR=\"/usr/local/share/locale\" -Wall -W
-Werror-implicit-function-declaration -pipe -O2 -DHAVE_GNUTLS
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -g -O0
-DWEECHAT_VERSION=\"0.3.1\" -MT irc-server.lo -MD -MP -MF .deps/irc-server.Tpo
-c irc-server.c  -fPIC -DPIC -o .libs/irc-server.o
irc-server.c: In function ‘irc_server_gnutls_callback’:
irc-server.c:2312: error: implicit declaration of function
‘gnutls_x509_crt_print’
irc-server.c:2312: error: ‘GNUTLS_CRT_PRINT_ONELINE’ undeclared (first
use in this function)
irc-server.c:2312: error: (Each undeclared identifier is reported only once
irc-server.c:2312: error: for each function it appears in.)
make[4]: *** [irc-server.lo] Error 1
make[4]: Leaving directory `/home/***/source/weechat-0.3.1/src/plugins/irc'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/***/source/weechat-0.3.1/src/plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/***/source/weechat-0.3.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/***/source/weechat-0.3.1'
make: *** [all] Error 2




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?28723>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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