Fail build in linux (commit 8eb9bd5 . hevc_rext branch)
sl1pkn07 opened this issue · 11 comments
Hi
When try to build this commit (8eb9bd5), make a fail build
[ 9%] Building C object CMakeFiles/LibOpenHevcWrapper.dir/libavutil/avstring.c.o
cc: fatal error: no input files
compilation terminated.
/bin/sh: -Wl,-Bsymbolic: command not found
CMakeFiles/LibOpenHevcWrapper.dir/build.make:129: recipe for target 'CMakeFiles/LibOpenHevcWrapper.dir/libavutil/avstring.c.o' failed
make[2]: *** [CMakeFiles/LibOpenHevcWrapper.dir/libavutil/avstring.c.o] Error 127
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/LibOpenHevcWrapper.dir/all' failed
make[1]: *** [CMakeFiles/LibOpenHevcWrapper.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
Builded on linux with GCC5 with:
cd build
cmake ../openhevc \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RELEASE \
-DCMAKE_SKIP_RPATH=ON
make
cmake log:
http://sl1pkn07.wtf/paste/view/e4828ad2
greetings
can you let us know whether the compilation has worked for you before using gcc 5? Have you been able to manage compilation with an older version of gcc?
Hello,
Could you please try with the latest version?
--need test again--
oh sorr, need test again, because i not switch to correct branch.
EDIT: build with clang works ok, but still fail with GCC5 in same point
log with clang:
http://sl1pkn07.wtf/paste/view/10a97f26 (see warning about C99 code(?))
log with GCC 5:
http://sl1pkn07.wtf/paste/view/aa652d71
No issue on my side when compiling with GCC 5... Your problem seems to be related to your build environment.
Could you provide compilation log using "make VERBOSE=1"?
Thanks, could you try with the updated version?
Build OK. now fixed. thanks!