Antes de nada pedir perdon si el tema no encaja aqui pues no sabia donde ponerlo.
Estoy instalando openwips en raspbian, y al hacer el make me salta el siguiente error
Código:
@raspberrypi:~/openwips-ng-0.1beta1# make
make -C sensor all
make[1]: Entering directory '/root/openwips-ng-0.1beta1/sensor'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/root/openwips-ng-0.1beta1/sensor'
make -C server all
make[1]: Entering directory '/root/openwips-ng-0.1beta1/server'
cc -O0 -g3 -pthread -Wall -lcrypto -lpcap -lssl -lz -D_REVISION=0 -o openwips-ng-server main.c config.c users.c plugins.c packet_analysis.c messages.c common/server.c common/server-client.c common/sockets.c common/rpcap.c common/pcap.c common/utils.c common/deamonize.c common/config.c common/version.c sensor/packet_assembly.c sensor/sensor.c sensor/command_parse.c sensor/rpcap_server.c
packet_analysis.c: In function ‘packet_analysis_thread’:
packet_analysis.c:83:57: warning: variable ‘plugin_check’ set but not used [-Wunused-but-set-variable]
char * attack_details, is_attacked, do_attacked_check, plugin_check, * temp_str, * new_details;
^
messages.c: In function ‘message_thread’:
messages.c:204:8: warning: case label value is less than minimum value for type
case MESSAGE_TYPE_NOT_SET:
^
/usr/bin/ld: /tmp/cc3ftQ2w.o: undefined reference to symbol 'dlsym@@GLIBC_2.4'
//lib/arm-linux-gnueabihf/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:36: recipe for target 'openwips-ng-server' failed
make[1]: *** [openwips-ng-server] Error 1
make[1]: Leaving directory '/root/openwips-ng-0.1beta1/server'
Makefile:6: recipe for target 'all' failed
make: *** [all] Error 2
os pongo el common.mak porsi...
Código:
$(shell chmod 755 ../evalrev)
CC ?= gcc
CFLAGS ?= -O0 -g3 -pthread -Wall -lcrypto
prefix = /usr/local
sbindir = $(prefix)/sbin
bindir = $(prefix)/bin
confdir = $(prefix)/etc/openwips-ng/
REVISION = $(shell ../evalrev)
REV_DEFINE = -D_REVISION=$(REVISION)
Muchas gracias