View Issue Details

IDProjectCategoryView StatusLast Update
0000376JVT JM H.264/AVC reference softwareencoder and decoderpublic2023-03-28 00:06
Reporterkhalida ahmad baba Assigned ToKarsten Suehring  
PrioritynormalSeverityfeatureReproducibilityalways
Status assignedResolutionopen 
PlatformLinuxOSDebianOS Version10
Product VersionJM 18.6 
Summary0000376: Error compiling project
Description$make
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:107: bin] Error 1
make[1]: se sale del directorio '/jm19/JM/lencod'
make: *** [Makefile:40: lencod] Error 2
Steps To Reproducefirst time compilinge project after execute
$. unixprep.sh
TagsNo tags attached.

Activities

khalida ahmad baba

2023-03-06 22:41

reporter   ~0000656

f.txt (216 bytes)   
make -C lencod
make[1]: se entra en el directorio '/home/jal/TFM/jm19/lencod'
Creating obj ...

checking dependencies


creating binary "../bin/lencod.exe"
make[1]: se sale del directorio '/home/jal/TFM/jm19/lencod'
f.txt (216 bytes)   

Karsten Suehring

2023-03-06 23:27

administrator   ~0000657

I don't have Debian to test here, but it looks like recent compilers have lots of new warning, at least that's what I'm seeing on macOS now with clang and gcc-11/12.

It is generally advisable to check out the project from the GitLab server, if you have not done that already: https://vcgit.hhi.fraunhofer.de/jvet/JM

The master branch has been changed to using `cmake` as a build tool (in contrast to pure make). I think, it also contains a number of fixes for older compiler issues. This used to work around 3 years ago, when I last worked on it, which was when Ubuntu 18.04 was still a current release...

I can try to look into this, but I can't make any promise that this will be anytime soon :(

khalida ahmad baba

2023-03-08 22:29

reporter   ~0000658

thinkyou Karsen, after install gcc and dowload the project from https://vcgit.hhi.fraunhofer.de/jvet/JM
error compiling project:

/build$ sudo make -j
cc1: all warnings being treated as errors
make[2]: *** [source/app/lencod/CMakeFiles/lencod.dir/build.make:1728: source/app/lencod/CMakeFiles/lencod.dir/__/__/lib/lcommon/img_io.c.o] Error 1
make[2]: *** Se espera a que terminen otras tareas....
cc1: all warnings being treated as errors
make[2]: *** [source/app/lencod/CMakeFiles/lencod.dir/build.make:1084: source/app/lencod/CMakeFiles/lencod.dir/parset.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:152: source/app/lencod/CMakeFiles/lencod.dir/all] Error 2
make[1]: *** Se espera a que terminen otras tareas....
make[1]: *** [CMakeFiles/Makefile2:178: source/app/ldecod/CMakeFiles/ldecod.dir/all] Error 2
f1.txt (3,745 bytes)   
Consolidate compiler generated dependencies of target rtploss
Consolidate compiler generated dependencies of target rtpdump
[  1%] Built target rtpdump
[  2%] Built target rtploss
Consolidate compiler generated dependencies of target ldecod
[  3%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/configfile.c.o
[  3%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/image.c.o
[  3%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/loop_filter_mbaff.c.o
[  4%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/loop_filter_normal.c.o
[  5%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/mb_access.c.o
[  5%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/macroblock.c.o
[  5%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/mb_prediction.c.o
[  6%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/mb_read.c.o
[  6%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/mbuffer.c.o
[  7%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/mbuffer_mvc.c.o
[  7%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/mc_direct.c.o
[  8%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/mc_prediction.c.o
[  8%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/nal.c.o
[  9%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/nalu.c.o
[  9%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/output.c.o
[ 10%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/parset.c.o
[ 10%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/quant.c.o
[ 11%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/read_comp_cabac.c.o
[ 11%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/read_comp_cavlc.c.o
[ 12%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/rtp.c.o
[ 13%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/transform8x8.c.o
[ 13%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/sei.c.o
[ 13%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/vlc.c.o
[ 13%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/__/__/lib/lcommon/blk_prediction.c.o
[ 14%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/__/__/lib/lcommon/config_common.c.o
[ 15%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/__/__/lib/lcommon/img_process.c.o
[ 15%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/__/__/lib/lcommon/img_io.c.o
[ 15%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/__/__/lib/lcommon/input.c.o
[ 16%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/__/__/lib/lcommon/io_raw.c.o
[ 16%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/__/__/lib/lcommon/io_tiff.c.o
[ 17%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/__/__/lib/lcommon/mbuffer_common.c.o
[ 17%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/__/__/lib/lcommon/memalloc.c.o
[ 18%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/__/__/lib/lcommon/mv_prediction.c.o
[ 18%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/__/__/lib/lcommon/nalucommon.c.o
[ 19%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/__/__/lib/lcommon/parsetcommon.c.o
[ 19%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/__/__/lib/lcommon/resize.c.o
[ 20%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/__/__/lib/lcommon/transform.c.o
[ 20%] Building C object source/app/ldecod/CMakeFiles/ldecod.dir/__/__/lib/lcommon/win32.c.o
Consolidate compiler generated dependencies of target lencod
[ 21%] Building C object source/app/lencod/CMakeFiles/lencod.dir/parset.c.o
[ 21%] Building C object source/app/lencod/CMakeFiles/lencod.dir/__/__/lib/lcommon/img_io.c.o
f1.txt (3,745 bytes)   

Karsten Suehring

2023-03-28 00:05

administrator   ~0000659

I made some compile fixes for more recent compilers. The changes are currently available in this merge request.

https://vcgit.hhi.fraunhofer.de/jvet/JM/-/merge_requests/6

Issue History

Date Modified Username Field Change
2023-03-06 22:35 khalida ahmad baba New Issue
2023-03-06 22:41 khalida ahmad baba Note Added: 0000656
2023-03-06 22:41 khalida ahmad baba File Added: f.txt
2023-03-06 23:27 Karsten Suehring Note Added: 0000657
2023-03-08 22:29 khalida ahmad baba Note Added: 0000658
2023-03-08 22:29 khalida ahmad baba File Added: f1.txt
2023-03-28 00:05 Karsten Suehring Note Added: 0000659
2023-03-28 00:06 Karsten Suehring Assigned To => Karsten Suehring
2023-03-28 00:06 Karsten Suehring Status new => assigned