[Bro] Bro 1.1/.9 won't compile under gcc/g++ 4.1.1

0100 suroot at gmail.com
Tue Jun 27 07:59:28 PDT 2006


Having trouble compiling any bro version under g++ 4.1.1 on fedora core 5.
Here is the output from the configure and make of bro-1.1-latest.


               Broccoli Configuration Summary
==========================================================

   - Debugging enabled:     no
   - Pcap packet support:   yes
   - Semaphores used:       POSIX
   - Shared memory used:    SYSV

  Now run:

  $ make
  # make install

  (or use gmake when make on your platform isn't GNU make)


                 Bro Configuration Summary
==========================================================

  - Debugging enabled:      no
  - OpenSSL support:        yes
  - Non-blocking main loop: yes
  - Non-blocking resolver:  yes
  - Installation prefix:    /usr/local/bro
  - Perl interpreter:       /usr/bin/perl
  - Using basic_string:     yes
  - Pcap used:              system-provided


g++ -DHAVE_CONFIG_H -I. -I. -I../..  -W -Wall -Wno-unused
-I../../linux-include  -g -O2 -c -o pac_parse.o `test -f pac_parse.cc
|| echo './'`pac_parse.cc
pac.h:109: warning: 'class Evaluatable' has virtual functions but
non-virtual destructor
pac.h:615: error: extra qualification 'Field::' on member 'getFieldBegin'
pac.h:616: error: extra qualification 'Field::' on member 'getFieldEnd'
pac.h:658: warning: 'class LetDef' has virtual functions but
non-virtual destructor
make[4]: *** [pac_parse.o] Error 1
make[4]: Leaving directory `/root/bro/bro-1.1/src/binpac'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/bro/bro-1.1/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/bro/bro-1.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/bro/bro-1.1'
make: *** [all] Error 2

[root@ bro-1.1]# uname -a
Linux  2.6.16-1.2122_FC5 #1 Sun May 21 15:01:01 EDT 2006 i686 i686
i386 GNU/Linux
[root@ bro-1.1]# g++ -v
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada
--enable-java-awt=gtk --disable-dssi
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
--with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.1 20060525 (Red Hat 4.1.1-1)

It should be noted that I actually fixed the Field:: extra
qualification error and it still didn't build, erroring with much more
severe problems.

Thought you folks should know... apologies if this has been mentioned
before as I'm new to the list.

Thanks..

0100



More information about the Bro mailing list