zlog_init fails on ARM
pavangk opened this issue · 2 comments
Hi Folks,
After building on the ARM platform, zlog_init() fails to initialize.
Is ARM supported? Any other steps to be done to make it work?
Pavan
x86_64 platform alse failed in zlog_init(), test system is archlinux-2021.11.01-x86_64.iso and then I just insert fprintf interface to debug where problem is? suddenly, the zlog_init is running success. so be rather baffling。
Could you provide error.log?
It contains self-diagnostic information.
How to export error.log?
Pls see user manual ( http://hardysimpson.github.io/zlog/)
Main step:
-
export ZLOG_PROFILE_DEBUG, ZLOG_PROFILE_DEBUG, assign a file path to the 2 environment variables to indicate output file path for zlog_debug() and zlog_error().
-
Create target directory use "$mkdir {your directory}" or "$mkdir -p {your directory}". zlog would not create folder for the two file path.
-
Run your application.
-
Check your error log under your directory.