[Prelude Hybrid IDS] #268: libprelude-0.9.16 compile error on RedHat ES 4 Update 4 x86_64

"Prelude Hybrid IDS" <[email protected]>
Newsgroups gmane.comp.security.ids.prelude.devel
Message-ID <[email protected]>
#268: libprelude-0.9.16 compile error on RedHat ES 4 Update 4 x86_64
---------------------------------+------------------------------------------
 Reporter:  [email protected]  |       Owner:  yoann            
     Type:  defect               |      Status:  new              
 Priority:  normal               |   Milestone:  Libprelude 0.9.17
Component:  libprelude           |     Version:  0.9              
 Severity:  blocker              |    Keywords:                   
---------------------------------+------------------------------------------
 I got a compile error on libprelude-0.9.16 on RedHat ES 4 Update 4 x86_64
 my gnutls version is gnutls-1.0.20
 it apears to be tied to changeset 9897
 Here is some of the output leading upto it
 {{{
 make[3]: Entering directory `/usr/src/redhat/BUILD/libprelude-0.9.16/src'
 if /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99
 -DHAVE_CONFIG_H -I. -I. -I..  -I./include -I.. -I../src/include -I
 ./libprelude-error -I../libmissing -I../libmissing -I/include
 -I/usr/include -DPRELUDE_CONFIG_DIR=\"/etc/prelude\"
 -DPRELUDE_SPOOL_DIR=\"/var/spool/prelude\"   -O2 -g -pthread -Wall
 -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wbad-
 function-cast -Wcast-qual -Wcast-align -Wnested-externs -Wunused -Wformat
 -Wformat-security -MT common.lo -MD -MP -MF ".deps/common.Tpo" -c -o
 common.lo common.c; \
 then mv -f ".deps/common.Tpo" ".deps/common.Plo"; else rm -f
 ".deps/common.Tpo"; exit 1; fi
 mkdir .libs
  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -I./include -I..
 -I../src/include -I./libprelude-error -I../libmissing -I../libmissing
 -I/include -I/usr/include -DPRELUDE_CONFIG_DIR=\"/etc/prelude\"
 -DPRELUDE_SPOOL_DIR=\"/var/spool/prelude\" -O2 -g -pthread -Wall -Wstrict-
 prototypes -Wmissing-prototypes -Wmissing-declarations -Wbad-function-cast
 -Wcast-qual -Wcast-align -Wnested-externs -Wunused -Wformat -Wformat-
 security -MT common.lo -MD -MP -MF .deps/common.Tpo -c common.c  -fPIC
 -DPIC -o .libs/common.o
 if /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99
 -DHAVE_CONFIG_H -I. -I. -I..  -I./include -I.. -I../src/include -I
 ./libprelude-error -I../libmissing -I../libmissing -I/include
 -I/usr/include -DPRELUDE_CONFIG_DIR=\"/etc/prelude\"
 -DPRELUDE_SPOOL_DIR=\"/var/spool/prelude\"   -O2 -g -pthread -Wall
 -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wbad-
 function-cast -Wcast-qual -Wcast-align -Wnested-externs -Wunused -Wformat
 -Wformat-security -MT config-engine.lo -MD -MP -MF ".deps/config-
 engine.Tpo" -c -o config-engine.lo config-engine.c; \
 then mv -f ".deps/config-engine.Tpo" ".deps/config-engine.Plo"; else rm -f
 ".deps/config-engine.Tpo"; exit 1; fi
  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -I./include -I..
 -I../src/include -I./libprelude-error -I../libmissing -I../libmissing
 -I/include -I/usr/include -DPRELUDE_CONFIG_DIR=\"/etc/prelude\"
 -DPRELUDE_SPOOL_DIR=\"/var/spool/prelude\" -O2 -g -pthread -Wall -Wstrict-
 prototypes -Wmissing-prototypes -Wmissing-declarations -Wbad-function-cast
 -Wcast-qual -Wcast-align -Wnested-externs -Wunused -Wformat -Wformat-
 security -MT config-engine.lo -MD -MP -MF .deps/config-engine.Tpo -c
 config-engine.c  -fPIC -DPIC -o .libs/config-engine.o
 if /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99
 -DHAVE_CONFIG_H -I. -I. -I..  -I./include -I.. -I../src/include -I
 ./libprelude-error -I../libmissing -I../libmissing -I/include
 -I/usr/include -DPRELUDE_CONFIG_DIR=\"/etc/prelude\"
 -DPRELUDE_SPOOL_DIR=\"/var/spool/prelude\"   -O2 -g -pthread -Wall
 -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wbad-
 function-cast -Wcast-qual -Wcast-align -Wnested-externs -Wunused -Wformat
 -Wformat-security -MT daemonize.lo -MD -MP -MF ".deps/daemonize.Tpo" -c -o
 daemonize.lo daemonize.c; \
 then mv -f ".deps/daemonize.Tpo" ".deps/daemonize.Plo"; else rm -f
 ".deps/daemonize.Tpo"; exit 1; fi
  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -I./include -I..
 -I../src/include -I./libprelude-error -I../libmissing -I../libmissing
 -I/include -I/usr/include -DPRELUDE_CONFIG_DIR=\"/etc/prelude\"
 -DPRELUDE_SPOOL_DIR=\"/var/spool/prelude\" -O2 -g -pthread -Wall -Wstrict-
 prototypes -Wmissing-prototypes -Wmissing-declarations -Wbad-function-cast
 -Wcast-qual -Wcast-align -Wnested-externs -Wunused -Wformat -Wformat-
 security -MT daemonize.lo -MD -MP -MF .deps/daemonize.Tpo -c daemonize.c
 -fPIC -DPIC -o .libs/daemonize.o
 if /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99
 -DHAVE_CONFIG_H -I. -I. -I..  -I./include -I.. -I../src/include -I
 ./libprelude-error -I../libmissing -I../libmissing -I/include
 -I/usr/include -DPRELUDE_CONFIG_DIR=\"/etc/prelude\"
 -DPRELUDE_SPOOL_DIR=\"/var/spool/prelude\"   -O2 -g -pthread -Wall
 -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wbad-
 function-cast -Wcast-qual -Wcast-align -Wnested-externs -Wunused -Wformat
 -Wformat-security -MT ntp.lo -MD -MP -MF ".deps/ntp.Tpo" -c -o ntp.lo
 ntp.c; \
 then mv -f ".deps/ntp.Tpo" ".deps/ntp.Plo"; else rm -f ".deps/ntp.Tpo";
 exit 1; fi
  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -I./include -I..
 -I../src/include -I./libprelude-error -I../libmissing -I../libmissing
 -I/include -I/usr/include -DPRELUDE_CONFIG_DIR=\"/etc/prelude\"
 -DPRELUDE_SPOOL_DIR=\"/var/spool/prelude\" -O2 -g -pthread -Wall -Wstrict-
 prototypes -Wmissing-prototypes -Wmissing-declarations -Wbad-function-cast
 -Wcast-qual -Wcast-align -Wnested-externs -Wunused -Wformat -Wformat-
 security -MT ntp.lo -MD -MP -MF .deps/ntp.Tpo -c ntp.c  -fPIC -DPIC -o
 .libs/ntp.o
 if /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99
 -DHAVE_CONFIG_H -I. -I. -I..  -I./include -I.. -I../src/include -I
 ./libprelude-error -I../libmissing -I../libmissing -I/include
 -I/usr/include -DPRELUDE_CONFIG_DIR=\"/etc/prelude\"
 -DPRELUDE_SPOOL_DIR=\"/var/spool/prelude\"   -O2 -g -pthread -Wall
 -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wbad-
 function-cast -Wcast-qual -Wcast-align -Wnested-externs -Wunused -Wformat
 -Wformat-security -MT tls-auth.lo -MD -MP -MF ".deps/tls-auth.Tpo" -c -o
 tls-auth.lo tls-auth.c; \
 then mv -f ".deps/tls-auth.Tpo" ".deps/tls-auth.Plo"; else rm -f ".deps
 /tls-auth.Tpo"; exit 1; fi
  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -I./include -I..
 -I../src/include -I./libprelude-error -I../libmissing -I../libmissing
 -I/include -I/usr/include -DPRELUDE_CONFIG_DIR=\"/etc/prelude\"
 -DPRELUDE_SPOOL_DIR=\"/var/spool/prelude\" -O2 -g -pthread -Wall -Wstrict-
 prototypes -Wmissing-prototypes -Wmissing-declarations -Wbad-function-cast
 -Wcast-qual -Wcast-align -Wnested-externs -Wunused -Wformat -Wformat-
 security -MT tls-auth.lo -MD -MP -MF .deps/tls-auth.Tpo -c tls-auth.c
 -fPIC -DPIC -o .libs/tls-auth.o
 if /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99
 -DHAVE_CONFIG_H -I. -I. -I..  -I./include -I.. -I../src/include -I
 ./libprelude-error -I../libmissing -I../libmissing -I/include
 -I/usr/include -DPRELUDE_CONFIG_DIR=\"/etc/prelude\"
 -DPRELUDE_SPOOL_DIR=\"/var/spool/prelude\"   -O2 -g -pthread -Wall
 -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wbad-
 function-cast -Wcast-qual -Wcast-align -Wnested-externs -Wunused -Wformat
 -Wformat-security -MT tls-util.lo -MD -MP -MF ".deps/tls-util.Tpo" -c -o
 tls-util.lo tls-util.c; \
 then mv -f ".deps/tls-util.Tpo" ".deps/tls-util.Plo"; else rm -f ".deps
 /tls-util.Tpo"; exit 1; fi
  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -I./include -I..
 -I../src/include -I./libprelude-error -I../libmissing -I../libmissing
 -I/include -I/usr/include -DPRELUDE_CONFIG_DIR=\"/etc/prelude\"
 -DPRELUDE_SPOOL_DIR=\"/var/spool/prelude\" -O2 -g -pthread -Wall -Wstrict-
 prototypes -Wmissing-prototypes -Wmissing-declarations -Wbad-function-cast
 -Wcast-qual -Wcast-align -Wnested-externs -Wunused -Wformat -Wformat-
 security -MT tls-util.lo -MD -MP -MF .deps/tls-util.Tpo -c tls-util.c
 -fPIC -DPIC -o .libs/tls-util.o
 tls-util.c: In function `tls_certificates_load':
 tls-util.c:129: error: `GNUTLS_X509_CRT_LIST_IMPORT_FAIL_IF_EXCEED'
 undeclared (first use in this function)
 tls-util.c:129: error: (Each undeclared identifier is reported only once
 tls-util.c:129: error: for each function it appears in.)
 make[3]: *** [tls-util.lo] Error 1
 make[3]: Leaving directory `/usr/src/redhat/BUILD/libprelude-0.9.16/src'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/usr/src/redhat/BUILD/libprelude-0.9.16/src'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/usr/src/redhat/BUILD/libprelude-0.9.16'
 make: *** [all] Error 2

 }}}

-- 
Ticket URL: <https://trac.prelude-ids.org/ticket/268>
Prelude Hybrid IDS <http://www.prelude-ids.org>
The Prelude Hybrid Intrusion Detection System suite
_______________________________________________
Prelude-devel site list
[email protected]
http://www.prelude-ids.org/mailman/listinfo/prelude-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.