Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92042 - snort 2.3.3 fails to compile with prelude support
Summary: snort 2.3.3 fails to compile with prelude support
Status: RESOLVED DUPLICATE of bug 91820
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-09 13:25 UTC by Alexander Ivanchev
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Ivanchev 2005-05-09 13:25:05 UTC
dmz ~ # emerge -pv libprelude
[ebuild   R   ] dev-libs/libprelude-0.9.0_rc5-r1  +pcre +perl +python 0 kB 

dmz ~ # emerge -pv snort     

[ebuild     U ] net-analyzer/snort-2.3.3 [2.3.2] -debug -flexresp -inline +mysql +odbc -postgres +prelude (-selinux) -sguil -snortsam +ssl 0 kB 

emerge -u snort:

Making all in spo_alert_prelude
make[4]: Entering directory `/var/tmp/portage/snort-2.3.3/work/snort-2.3.3/src/output-plugins/spo_alert_prelude'
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I../../../src -I../../../src/sfutil -I/usr/include/pcap -I../../../src/output-plugins -I../../../src/detection-plugins -I../../../src/preprocessors -I../../../src/preprocessors/flow -I../../../src/preprocessors/portscan  -I../../../src/preprocessors/flow/int-snort  -I../../../src/preprocessors/HttpInspect/include  -DWITH_PRELUDE -I/usr/include/mysql -DENABLE_MYSQL -DENABLE_ODBC  -march=athlon-xp -O3 -fomit-frame-pointer -pipe -Wall -c `test -f 'spo_alert_prelude.c' || echo './'`spo_alert_prelude.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I../../../src -I../../../src/sfutil -I/usr/include/pcap -I../../../src/output-plugins -I../../../src/detection-plugins -I../../../src/preprocessors -I../../../src/preprocessors/flow -I../../../src/preprocessors/portscan  -I../../../src/preprocessors/flow/int-snort  -I../../../src/preprocessors/HttpInspect/include  -DWITH_PRELUDE -I/usr/include/mysql -DENABLE_MYSQL -DENABLE_ODBC  -march=athlon-xp -O3 -fomit-frame-pointer -pipe -Wall -c `test -f 'prelude-hash.c' || echo './'`prelude-hash.c
prelude-hash.c:36:29: libprelude/list.h: No such file or directory
prelude-hash.c:43: error: field `list' has incomplete type
prelude-hash.c: In function `hash_elem_get':
prelude-hash.c:98: error: invalid use of undefined type `struct list_head'
prelude-hash.c:100: warning: implicit declaration of function `list_for_each'
prelude-hash.c:100: error: parse error before '{' token
prelude-hash.c: At top level:
prelude-hash.c:106: error: parse error before "return"
prelude-hash.c: In function `prelude_hash_new':
prelude-hash.c:137: warning: implicit declaration of function `log'
prelude-hash.c:137: error: too many arguments to function `log'
prelude-hash.c:145: error: dereferencing pointer to incomplete type
prelude-hash.c:147: error: too many arguments to function `log'
prelude-hash.c:158: warning: implicit declaration of function `INIT_LIST_HEAD'
prelude-hash.c:158: error: invalid use of undefined type `struct list_head'
prelude-hash.c: In function `prelude_hash_destroy':
prelude-hash.c:175: error: invalid use of undefined type `struct list_head'
prelude-hash.c:177: warning: implicit declaration of function `list_for_each_safe'
prelude-hash.c:177: error: parse error before '{' token
prelude-hash.c:181: warning: implicit declaration of function `list_del'
prelude-hash.c: At top level:
prelude-hash.c:186: error: parse error before '->' token
prelude-hash.c:186: warning: type defaults to `int' in declaration of `free'
prelude-hash.c:186: error: conflicting types for 'free'
/usr/include/stdlib.h:597: error: previous declaration of 'free' was here
prelude-hash.c:186: error: conflicting types for 'free'
/usr/include/stdlib.h:597: error: previous declaration of 'free' was here
prelude-hash.c:186: warning: data definition has no type or storage class
prelude-hash.c:187: warning: type defaults to `int' in declaration of `free'
prelude-hash.c:187: warning: parameter names (without types) in function declaration
prelude-hash.c:187: warning: data definition has no type or storage class
prelude-hash.c:188: error: parse error before '}' token
prelude-hash.c: In function `prelude_hash_set':
prelude-hash.c:209: error: too many arguments to function `log'
prelude-hash.c:216: error: invalid use of undefined type `struct list_head'
prelude-hash.c:217: warning: implicit declaration of function `list_add'
make[4]: *** [prelude-hash.o] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from spo_alert_prelude.c:51:

etc.

dmz boot # emerge info
Portage 2.0.51.21-r1 (hardened/x86/2.6, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo-r7 i686)
=================================================================
System uname: 2.6.11-gentoo-r7 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.6.11
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.5-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks sandbox strict"
GENTOO_MIRRORS="http://gentoo.itdnet.net/gentoo/ http://gentoo.inode.at/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ rsync://mirrors.sec.informatik.tu-darmstadt.de/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
SYNC="rsync://gentoo.itdnet.net/gentoo-portage"
USE="x86 3dnow GAPING_SECURITY_HOLE X X509 Xaw3d aalib acl acpi apache2 artworkextra authdaemond bash-completion bcmath berkdb bind-mysql bitmap-fonts bonobo bzip2 bzlib calendar caps cdb chroot clamav crypt curl curlwrappers dba dbx dlloader ecc eds erandom ethereal exif extensions fam fbcon flatfile font-server freetds ftp gd gd-external gdbm gif gmp gnome gnutls gpm gtk gtk2 gtkhtml guile hal hardened hardenedphp howl hub iconv icq idea idn imagemagick imap imlib innodb ipalias ithreads javascript jbig jpeg jpeg2k justify lcms ldap libclamav libwww logrotate lzw lzw-tiff maildir mcal memlimit mhash mime mmap mmx motif mozilla moznocompose moznoirc moznomail mpm-leader mpm-metux mpm-prefork mpm-threadpool mpm-worker mssql mysql ncurses nfsv4 nls nntp no-old-linux nocardbus nomac nomultilib nptl nptlonly ntlm oav odbc offensive opengl pam pam_chroot pam_console pam_timestamp parse-clocks pcntl pcre pdflib perl perlsuid php pic png posix prelude pwdb python qmail quotas readline samba sasl session sftplogging shared sharedmem skey slang sockets socks5 spamassassin spell sse ssl symlink tcltk tcpd threads tiff tokenizer toolbar truetype truetype-fonts type1-fonts unicode urandom userlocales wmf xchatdccserver xml xml2 xosd xpm xrandr xscreensaver xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-05-09 13:32:51 UTC

*** This bug has been marked as a duplicate of 91820 ***