[ 74%] Building C object epan/CMakeFiles/epan.dir/dtd_grammar.c.o
[ 74%] Linking C shared library ../run/libwireshark.so
/usr/local/lib/liblua.a(loslib.o): In function os_tmpname':
loslib.c:(.text+0x290): warning: the use of
tmpnam' is dangerous, better use mkstemp'
/usr/bin/ld: /usr/local/lib/liblua.a(lauxlib.o): relocation R_X86_64_PC32 against symbol
stderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
epan/CMakeFiles/epan.dir/build.make:5416: recipe for target 'run/libwireshark.so.0.0.0' failed
make[2]: * [run/libwireshark.so.0.0.0] Error 1
CMakeFiles/Makefile2:2040: recipe for target 'epan/CMakeFiles/epan.dir/all' failed
make[1]: [epan/CMakeFiles/epan.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: ** [all] Error 2