Skip to content
This repository was archived by the owner on Apr 7, 2020. It is now read-only.
This repository was archived by the owner on Apr 7, 2020. It is now read-only.

Build fails on Ubuntu 16.04 #12

@Kukant

Description

@Kukant

Does anyone have a clue what cut be wrong?
Build log:
...
Making all in bin
make[2]: Entering directory '/home/zeusko/Plocha/libnf/bin'
/bin/bash ../libtool --tag=CC --mode=link gcc -I../include -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -fno-strict-aliasing -DLNF_THREADS -DNSEL -o nfdumpp nfdumpp.o flist.o cpucores.o output.o output_line.o output_nfdump.o output_ringbuf.o progress.o ../src/.libs/libnf.a -lpthread -lresolv -lpthread
libtool: link: gcc -I../include -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -fno-strict-aliasing -DLNF_THREADS -DNSEL -o nfdumpp nfdumpp.o flist.o cpucores.o output.o output_line.o output_nfdump.o output_ringbuf.o progress.o ../src/.libs/libnf.a -lresolv -lpthread
../src/.libs/libnf.a(lnf_ringbuf.o): In function lnf_ring_init': /home/zeusko/Plocha/libnf/src/lnf_ringbuf.c:88: undefined reference to shm_open'
/home/zeusko/Plocha/libnf/src/lnf_ringbuf.c:74: undefined reference to shm_unlink' /home/zeusko/Plocha/libnf/src/lnf_ringbuf.c:94: undefined reference to shm_open'
../src/.libs/libnf.a(lnf_ringbuf.o): In function lnf_ring_free': /home/zeusko/Plocha/libnf/src/lnf_ringbuf.c:314: undefined reference to shm_unlink'
collect2: error: ld returned 1 exit status
Makefile:392: recipe for target 'nfdumpp' failed
make[2]: *** [nfdumpp] Error 1
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions