firnsy / barnyard2

Barnyard2 is a dedicated spooler for Snort's unified2 binary output format.
GNU General Public License v2.0
344 stars 190 forks source link

Latest git fails to compile #209

Open DigiAngel opened 7 years ago

DigiAngel commented 7 years ago

Topic. Config line:

LDFLAGS="-L/opt/daq/lib -L/opt/libdnet12/lib" CFLAGS="-I/opt/daq/include -I/opt/libdnet12/include" ./configure --prefix=/opt --enable-ipv6 --enable-gre --with-mysql --with-tcl=/usr/local/lib

and the error:

/bin/bash ../libtool  --tag=CC   --mode=link gcc  -I/opt/daq/include -I/opt/libdnet12/include -Wall  -L/opt/daq/lib -L/opt/libdnet12/lib -L/usr/local/lib -o barnyard2 barnyard2.o debug.o decode.o log.o log_text.o map.o mstring.o parser.o plugbase.o spooler.o strlcatu.o strlcpyu.o twofish.o util.o output-plugins/libspo.a input-plugins/libspi.a sfutil/libsfutil.a -lmysqlclient -lz -lpcap -lnsl -lm -lm  -ldl  -lieee -lm -L/usr/local/lib -ltcl8.5
libtool: link: gcc -I/opt/daq/include -I/opt/libdnet12/include -Wall -o barnyard2 barnyard2.o debug.o decode.o log.o log_text.o map.o mstring.o parser.o plugbase.o spooler.o strlcatu.o strlcpyu.o twofish.o util.o  -L/opt/daq/lib -L/opt/libdnet12/lib -L/usr/local/lib output-plugins/libspo.a input-plugins/libspi.a sfutil/libsfutil.a -lmysqlclient -lz -lpcap -lnsl -ldl -lieee -lm -ltcl8.5
output-plugins/libspo.a(spo_database_cache.o): In function `cacheSignatureLookup':
spo_database_cache.c:(.text+0x194): undefined reference to `glsl'
output-plugins/libspo.a(spo_database_cache.o): In function `cacheSignatureGetObject':
spo_database_cache.c:(.text+0x270): undefined reference to `glsl'
output-plugins/libspo.a(spo_database_cache.o): In function `cacheReferenceLookup':
spo_database_cache.c:(.text+0x4e6): undefined reference to `glsl'
output-plugins/libspo.a(spo_database_cache.o): In function `dbReferenceLookup':
spo_database_cache.c:(.text+0x683): undefined reference to `glsl'
output-plugins/libspo.a(spo_database_cache.o): In function `dbSystemLookup':
spo_database_cache.c:(.text+0x79d): undefined reference to `glsl'
output-plugins/libspo.a(spo_database_cache.o):spo_database_cache.c:(.text+0x8a4): more undefined references to `glsl' follow
collect2: error: ld returned 1 exit status
Makefile:467: recipe for target 'barnyard2' failed
make[3]: *** [barnyard2] Error 1
make[3]: Leaving directory '/home/jlay/build/barnyard2/src'
Makefile:498: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/jlay/build/barnyard2/src'
Makefile:412: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/jlay/build/barnyard2'
Makefile:344: recipe for target 'all' failed
make: *** [all] Error 2

Previous build works fine however:

  ______   -*> Barnyard2 <*-
 / ,,_  \  Version 2.1.13 (Build 327) IPv6 TCL
 |o"  )~|  By Ian Firns (SecurixLive): http://www.securixlive.com/
 + '''' +  (C) Copyright 2008-2013 Ian Firns <firnsy@securixlive.com>

Thank you.