Closed kevinsmia1939 closed 4 years ago
Let me check. exit
is, of course, should not be used in library...
Can't find exit
in brunsli.
However, it might be used by brotli memory manager.
Try compiling with -DBROTLI_ENCODER_CLEANUP_ON_OOM
flag.
Can't find
exit
in brunsli. However, it might be used by brotli memory manager. Try compiling with-DBROTLI_ENCODER_CLEANUP_ON_OOM
flag.
Did you mean to use -DBROTLI_ENCODER_CLEANUP_ON_OOM flag on Brunsli? Because that flag is not found. If you mean adding flag to brotli, it is not install to compile brunsli.
Exactly. If you use CMake to build Brunsli, then it builds brotli as well... and flag will propagate there. Brotli is checked out to third_party/brotli directory
Exactly. If you use CMake to build Brunsli, then it builds brotli as well... and flag will propagate there. Brotli is checked out to third_party/brotli directory
I add the flag but it is not found.
CMake Error: Parse error in command line argument: -DBROTLI_ENCODER_CLEANUP_ON_OOM
Should be: VAR:type=value
CMake Error: Problem processing arguments. Aborting.
I tried using cmake-gui to help list the flags, but did not found something similar to -DBROTLI at all. I also tried navigating into third_party/brotli directory and run cmake-gui from there and does not found relevant flag.
Oh, it is a C compiler, not Cmake flag.
For CMake is will look like: -DCMAKE_C_FLAGS="-DBROTLI_ENCODER_CLEANUP_ON_OOM"
Oh, it is a C compiler, not Cmake flag. For CMake is will look like:
-DCMAKE_C_FLAGS="-DBROTLI_ENCODER_CLEANUP_ON_OOM"
Thanks, that fix the issue.
Hello,
I am trying to package brunsli into openSUSE Tumbleweed Linux. While building the package, RPMLINT warning show up as shown below.
I personally don't know what this meant, is it something to worry? Also, is it intended to not have share lib version? Full log here: https://build.opensuse.org/package/live_build_log/home:andythe_great/brunsli/openSUSE_Tumbleweed/x86_64
Thanks