Open pradiptapks opened 3 years ago
As long as it is working I would leave it as is and not worry about it. We are definitely doing a non-standard installation since it is self contained in trafficgen and we are using the libmoon luajit installation as the source of Lua (which necessitates hacking the Makefile) so warnings aren't all that suprising.
I am not sure whether it is a bug as compilation throwing a flood of warning message post-installation of Moongen. But this warning message doesn't blocker of moongen testing. So, please review if there is any pre-requisites steps can fix the "luaL_newlib" warning message.
Environment:
Red Hat Enterprise Linux release 8.2 (Ootpa)
Kernel:4.18.0-193.41.1.el8_2.x86_64 #1 SMP Wed Jan 13 11:33:33 EST 2021 x86_64 x86_64 x86_64 GNU/Linux
<..trim..> [ 96%] Building CXX object CMakeFiles/MoonGen.dir/src/hashmap.cpp.o [100%] Linking CXX executable MoonGen [100%] Built target MoonGen Cloning into 'lua-luaipc'... cc -Wall -fpic -O2 -g -D_POSIX_C_SOURCE=200809L -pthread -I/opt/trafficgen/MoonGen/libmoon/deps/luajit/src -c -o ipc.o ipc.c In file included from ipc.c:7: ipc.h:96: warning: "luaL_newlib" redefined
define luaL_newlib( L, r ) \
<..trim..>