Git Product home page Git Product logo

openfec's Introduction

OpenFEC.org project


1- HOW-TO COMPILE?
------------------

In this folder, you can find all the necesary files to compile the library and
the various applications. In order to compile:

- Create a "build" directory, if not already present
  (NB: you can change the directory name, "build" is not mandatory).

- Enter this directory, then call cmake (i.e. the build tool we're using) with
  the appropriate option:
  . to generate the Release version (i.e. maximum speed, no debug code):
	bash$ cmake .. -DDEBUG:STRING=OFF
  . to generate the Debug version:
	bash$ cmake .. -DDEBUG:STRING=ON

- Then, run make command to compile library from the "build" directory.
  The target is created in the "../bin/{Debug|Release}/" folder.


Comments:
---------

- There is no Makefile by default in the distribution. This is normal, as this
  project relies on the cmake tool, available on all current platforms, to produce
  all the required makefiles. For more information on cmake, please see:
	http://www.cmake.org/

- The advantage of creating a specific "build" directory and running cmake there
  (see step below) is to keep all the automatically created files (including
  makefiles) as sub-directories of "build", instead of having them throughout
  the source directories. However this is not mandatory, so feel free to ignore
  this.

- Add the DevIL library if you want to have the possibility to produce H/G matrix
  images with LDPC codes. See http://openil.sourceforge.net/
  Please install it on your machine before compiling the OpenFEC library if needed.
  Otherwise please edit and remove the IL library from the src/CMakeLists.txt file
  and from any src/lib_stable/*/of_codec_profile.h file.


2- HOW-TO CHECK THE BUILD BEFORE USING IT?
------------------------------------------

From the build directory, type:
	make test
A long list of unit tests is automatically launched.

NB: Some tests use the applis/eperftool performance evaluation tool, with different
parameter values, others are written explicitely in tests/*.c. Tests are all described
in tests/CMakeLists.txt, using cmake facilities.


3- HOW-TO MAKE EXTENSIVE PERFORMANCE EVALUATIONS?
-------------------------------------------------

Several tools have been designed to carry out extensive performance evaluations,
using an SQL database to store individual results. Some of the tools enable to launch
performance tests, the others to analyse the results and produce several kinds of
curves.

Basically:
- Enter the "perf_eval" directory.
- Edit the params.txt ASCII file, that describes the tests to carry out.
- Launch the tests with the following PERL file:
	./run_tests.pl params.txt
  (you may give any name you want to the params.txt file, to better reflect the
   nature of the tests being run)
- Analyze the results and generates the associated curves with:
	generate_curves -curve=<curve_id>

For more information on performance evaluation, please have a look at:
	doc/performance_tool.pdf

NB: there are some requirements in terms of PERL modules available, in particular
because of the use of mySQL or SQLite.

openfec's People

Contributors

alyssais avatar baranovmv avatar dankamongmen avatar gavv avatar s-trace avatar viccie30 avatar yarda avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openfec's Issues

There is no install target

Hi! I'm currently trying to package this project, as it is a dependency of roc-toolkit.
Unfortunately that is very painful, because this project does not have an install target (although cmake is used to build it).
Having no install target is problematic especially given that a shared library is provided for which packagers would have to provide symlinks etc. themselves. That has extremely high potential for going sideways fast.

1.4.2.5: test suite fails

Looks like test suite is failing in many units. On first look it seems that test suite is not prepared to be used with off-source-tree build ๐Ÿค”

+ cd openfec-1.4.2.5
+ /usr/bin/ctest --test-dir x86_64-redhat-linux-gnu --output-on-failure --force-new-ctest-process -j48
Internal ctest changing into directory: /home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu
Test project /home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu
        Start   1: create_instance
Could not find executable /home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/test_create_instance
Looked in the following places:
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/test_create_instance
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/test_create_instance
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Release/test_create_instance
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Release/test_create_instance
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Debug/test_create_instance
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Debug/test_create_instance
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/MinSizeRel/test_create_instance
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/MinSizeRel/test_create_instance
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/RelWithDebInfo/test_create_instance
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/RelWithDebInfo/test_create_instance
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Deployment/test_create_instance
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Deployment/test_create_instance
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Development/test_create_instance
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Development/test_create_instance
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/test_create_instance
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/test_create_instance
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Release/test_create_instance
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Release/test_create_instance
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Debug/test_create_instance
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Debug/test_create_instance
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/MinSizeRel/test_create_instance
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/MinSizeRel/test_create_instance
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/RelWithDebInfo/test_create_instance
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/RelWithDebInfo/test_create_instance
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Deployment/test_create_instance
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Deployment/test_create_instance
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Development/test_create_instance
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Development/test_create_instance
Unable to find executable: /home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/test_create_instance
  1/265 Test   #1: create_instance ..................***Not Run   0.00 sec
        Start   2: encoder_instance
Could not find executable /home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/test_encoder_instance
Looked in the following places:
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/test_encoder_instance
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/test_encoder_instance
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Release/test_encoder_instance
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Release/test_encoder_instance
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Debug/test_encoder_instance
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Debug/test_encoder_instance
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/MinSizeRel/test_encoder_instance
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/MinSizeRel/test_encoder_instance
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/RelWithDebInfo/test_encoder_instance
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/RelWithDebInfo/test_encoder_instance
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Deployment/test_encoder_instance
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Deployment/test_encoder_instance
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Development/test_encoder_instance
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Development/test_encoder_instance
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/test_encoder_instance
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/test_encoder_instance
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Release/test_encoder_instance
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Release/test_encoder_instance
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Debug/test_encoder_instance
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Debug/test_encoder_instance
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/MinSizeRel/test_encoder_instance
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/MinSizeRel/test_encoder_instance
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/RelWithDebInfo/test_encoder_instance
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/RelWithDebInfo/test_encoder_instance
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Deployment/test_encoder_instance
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Deployment/test_encoder_instance
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Development/test_encoder_instance
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Development/test_encoder_instance
Unable to find executable: /home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/test_encoder_instance
  2/265 Test   #2: encoder_instance .................***Not Run   0.00 sec
        Start   3: code_params
Could not find executable /home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/test_code_params
Looked in the following places:
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/test_code_params
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/test_code_params
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Release/test_code_params
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Release/test_code_params
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Debug/test_code_params
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Debug/test_code_params
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/MinSizeRel/test_code_params
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/MinSizeRel/test_code_params
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/RelWithDebInfo/test_code_params
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/RelWithDebInfo/test_code_params
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Deployment/test_code_params
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Deployment/test_code_params
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Development/test_code_params
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Development/test_code_params
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/test_code_params
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/test_code_params
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Release/test_code_params
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Release/test_code_params
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Debug/test_code_params
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Debug/test_code_params
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/MinSizeRel/test_code_params
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/MinSizeRel/test_code_params
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/RelWithDebInfo/test_code_params
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/RelWithDebInfo/test_code_params
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Deployment/test_code_params
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Deployment/test_code_params
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Development/test_code_params
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/Development/test_code_params
Unable to find executable: /home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/tests/test_code_params
  3/265 Test   #3: code_params ......................***Not Run   0.00 sec
        Start   4: Test.LDPC-SC-ADV.cr2.3.tx0
Could not find executable /home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/eperftool
Looked in the following places:
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/eperftool
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/eperftool
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/Release/eperftool
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/Release/eperftool
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/Debug/eperftool
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/Debug/eperftool
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/MinSizeRel/eperftool
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/MinSizeRel/eperftool
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/RelWithDebInfo/eperftool
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/RelWithDebInfo/eperftool
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/Deployment/eperftool
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/Deployment/eperftool
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/Development/eperftool
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/Development/eperftool
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/eperftool
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/eperftool
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/Release/eperftool
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/Release/eperftool
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/Debug/eperftool
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/Debug/eperftool
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/MinSizeRel/eperftool
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/MinSizeRel/eperftool
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/RelWithDebInfo/eperftool
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/RelWithDebInfo/eperftool
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/Deployment/eperftool
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/Deployment/eperftool
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/Development/eperftool
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/Development/eperftool
Unable to find executable: /home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/eperftool
  4/265 Test   #4: Test.LDPC-SC-ADV.cr2.3.tx0 .......***Not Run   0.00 sec
        Start   5: Test.LDPC-SC-ADV.cr1.2.tx1
Could not find executable /home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/eperftool

[..]

264/265 Test #264: Test.RS_28.ss12 ..................***Not Run   0.00 sec
        Start 265: Test.RS_28.ss13
Could not find executable /home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/eperftool
Looked in the following places:
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/eperftool
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/eperftool
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/Release/eperftool
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/Release/eperftool
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/Debug/eperftool
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/Debug/eperftool
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/MinSizeRel/eperftool
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/MinSizeRel/eperftool
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/RelWithDebInfo/eperftool
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/RelWithDebInfo/eperftool
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/Deployment/eperftool
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/Deployment/eperftool
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/Development/eperftool
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/Development/eperftool
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/eperftool
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/eperftool
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/Release/eperftool
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/Release/eperftool
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/Debug/eperftool
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/Debug/eperftool
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/MinSizeRel/eperftool
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/MinSizeRel/eperftool
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/RelWithDebInfo/eperftool
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/RelWithDebInfo/eperftool
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/Deployment/eperftool
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/Deployment/eperftool
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/Development/eperftool
home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/Development/eperftool
Unable to find executable: /home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/x86_64-redhat-linux-gnu/applis/eperftool/eperftool
265/265 Test #265: Test.RS_28.ss13 ..................***Not Run   0.00 sec

0% tests passed, 265 tests failed out of 265

Total Test time (real) =   0.13 sec

The following tests FAILED:
          1 - create_instance (Not Run)
          2 - encoder_instance (Not Run)
          3 - code_params (Not Run)
          4 - Test.LDPC-SC-ADV.cr2.3.tx0 (Not Run)
          5 - Test.LDPC-SC-ADV.cr1.2.tx1 (Not Run)
          6 - Test.LDPC-SC-ADV.cr1.2.tx2 (Not Run)
          7 - Test.LDPC-SC.cr1.2.tx3 (Not Run)
          8 - Test.LDPC-SC.cr2.3.tx4 (Not Run)
          9 - Test.LDPC-SC.cr2.3.tx5 (Not Run)
         10 - Test.LDPC-SC.cr2.3.tx6 (Not Run)
         11 - Test.LDPC-SC.cr2.3.tx7 (Not Run)
         12 - Test.LDPC-SC.cr2.3.loss1 (Not Run)
         13 - Test.LDPC-SC.cr2.3.loss2 (Not Run)
         14 - Test.LDPC-SC.cr2.3.loss3 (Not Run)
         15 - Test.LDPC-SC.cr1.2.loss4 (Not Run)
         16 - Test.LDPC-SC.cr3.4.tx4 (Not Run)
         17 - Test.LDPC-SC.cr3.4.tx5 (Not Run)
         18 - Test.LDPC-SC.cr3.4.tx6 (Not Run)
         19 - Test.LDPC-SC.cr3.4.tx7 (Not Run)
         20 - Test.LDPC-SC.cr3.4.loss1 (Not Run)
         21 - Test.LDPC-SC.cr3.4.loss2 (Not Run)
         22 - Test.LDPC-SC.cr3.4.loss3 (Not Run)
         23 - Test.LDPC-SC.cr3.4.loss4 (Not Run)
         24 - Test.LDPC-SC.cr2.3.small.IT (Not Run)
         25 - Test.LDPC-SC.cr1.2.small.IT (Not Run)
         26 - Test.LDPC-SC.cr1.3.small.IT (Not Run)
         27 - Test.LDPC-SC.cr1.4.small.IT (Not Run)
         28 - Test.LDPC-SC.cr1.5.small.IT (Not Run)
         29 - Test.LDPC-SC.cr3.4.med.IT (Not Run)
         30 - Test.LDPC-SC.cr1.2.med.IT (Not Run)
         31 - Test.LDPC-SC.cr1.3.med.IT (Not Run)
         32 - Test.LDPC-SC.src1.IT (Not Run)
         33 - Test.LDPC-SC.src2.IT (Not Run)
         34 - Test.LDPC-SC.src3.IT (Not Run)
         35 - Test.LDPC-SC.src4.IT (Not Run)
         36 - Test.LDPC-SC.src5.IT (Not Run)
         37 - Test.LDPC-SC.src6.IT (Not Run)
         38 - Test.LDPC-SC.src7.IT (Not Run)
         39 - Test.LDPC-SC.src8.IT (Not Run)
         40 - Test.LDPC-SC.src9.IT (Not Run)
         41 - Test.LDPC-SC.src10.IT (Not Run)
         42 - Test.LDPC-SC.src11.IT (Not Run)
         43 - Test.LDPC-SC.src12.IT (Not Run)
         44 - Test.LDPC-SC.src13.IT (Not Run)
         45 - Test.LDPC-SC.src14.IT (Not Run)
         46 - Test.LDPC-SC.src15.IT (Not Run)
         47 - Test.LDPC-SC.src16.IT (Not Run)
         48 - Test.LDPC-SC.src17.IT (Not Run)
         49 - Test.LDPC-SC.src18.IT (Not Run)
         50 - Test.LDPC-SC.src19.IT (Not Run)
         51 - Test.LDPC-SC.src20.IT (Not Run)
         52 - Test.LDPC-SC.src21.IT (Not Run)
         53 - Test.LDPC-SC.src22.IT (Not Run)
         54 - Test.LDPC-SC.src23.IT (Not Run)
         55 - Test.LDPC-SC.src24.IT (Not Run)
         56 - Test.LDPC-SC.src25.IT (Not Run)
         57 - Test.LDPC-SC.src26.IT (Not Run)
         58 - Test.LDPC-SC.src27.IT (Not Run)
         59 - Test.LDPC-SC.src28.IT (Not Run)
         60 - Test.LDPC-SC.src29.IT (Not Run)
         61 - Test.LDPC-SC.src30.IT (Not Run)
         62 - Test.LDPC-SC.src31.IT (Not Run)
         63 - Test.LDPC-SC.src32.IT (Not Run)
         64 - Test.LDPC-SC.src33.IT (Not Run)
         65 - Test.LDPC-SC.src34.IT (Not Run)
         66 - Test.LDPC-SC.src35.IT (Not Run)
         67 - Test.LDPC-SC.src36.IT (Not Run)
         68 - Test.LDPC-SC.src37.IT (Not Run)
         69 - Test.LDPC-SC.src38.IT (Not Run)
         70 - Test.LDPC-SC.src39.IT (Not Run)
         71 - Test.LDPC-SC.src40.IT (Not Run)
         72 - Test.LDPC-SC.cr2.3.small.ML (Not Run)
         73 - Test.LDPC-SC.cr1.2.small.ML (Not Run)
         74 - Test.LDPC-SC.cr1.3.small.ML (Not Run)
         75 - Test.LDPC-SC.cr1.4.small.ML (Not Run)
         76 - Test.LDPC-SC.cr1.5.small.ML (Not Run)
         77 - Test.LDPC-SC.cr3.4.med.ML (Not Run)
         78 - Test.LDPC-SC.cr1.2.med.ML (Not Run)
         79 - Test.LDPC-SC.cr1.3.med.ML (Not Run)
         80 - Test.LDPC-SC.src1.ML (Not Run)
         81 - Test.LDPC-SC.src2.ML (Not Run)
         82 - Test.LDPC-SC.src3.ML (Not Run)
         83 - Test.LDPC-SC.src4.ML (Not Run)
         84 - Test.LDPC-SC.src5.ML (Not Run)
         85 - Test.LDPC-SC.src6.ML (Not Run)
         86 - Test.LDPC-SC.src7.ML (Not Run)
         87 - Test.LDPC-SC.src8.ML (Not Run)
         88 - Test.LDPC-SC.src9.ML (Not Run)
         89 - Test.LDPC-SC.src10.ML (Not Run)
         90 - Test.LDPC-SC.src11.ML (Not Run)
         91 - Test.LDPC-SC.src12.ML (Not Run)
         92 - Test.LDPC-SC.src13.ML (Not Run)
         93 - Test.LDPC-SC.src14.ML (Not Run)
         94 - Test.LDPC-SC.src15.ML (Not Run)
         95 - Test.LDPC-SC.src16.ML (Not Run)
         96 - Test.LDPC-SC.src17.ML (Not Run)
         97 - Test.LDPC-SC.src18.ML (Not Run)
         98 - Test.LDPC-SC.src19.ML (Not Run)
         99 - Test.LDPC-SC.src20.ML (Not Run)
        100 - Test.LDPC-SC.src21.ML (Not Run)
        101 - Test.LDPC-SC.src22.ML (Not Run)
        102 - Test.LDPC-SC.src23.ML (Not Run)
        103 - Test.LDPC-SC.src24.ML (Not Run)
        104 - Test.LDPC-SC.src25.ML (Not Run)
        105 - Test.LDPC-SC.src26.ML (Not Run)
        106 - Test.LDPC-SC.src27.ML (Not Run)
        107 - Test.LDPC-SC.src28.ML (Not Run)
        108 - Test.LDPC-SC.src29.ML (Not Run)
        109 - Test.LDPC-SC.src30.ML (Not Run)
        110 - Test.LDPC-SC.src31.ML (Not Run)
        111 - Test.LDPC-SC.src32.ML (Not Run)
        112 - Test.LDPC-SC.src33.ML (Not Run)
        113 - Test.LDPC-SC.src34.ML (Not Run)
        114 - Test.LDPC-SC.src35.ML (Not Run)
        115 - Test.LDPC-SC.src36.ML (Not Run)
        116 - Test.LDPC-SC.src37.ML (Not Run)
        117 - Test.LDPC-SC.src38.ML (Not Run)
        118 - Test.LDPC-SC.src39.ML (Not Run)
        119 - Test.LDPC-SC.src40.ML (Not Run)
        120 - Test.LDPC-SC.cr2.3.big.IT (Not Run)
        121 - Test.LDPC-SC.cr1.2.big.IT (Not Run)
        122 - Test.LDPC-SC.cr1.3.big.IT (Not Run)
        123 - Test.LDPC-SC.cr2.3.big.ML (Not Run)
        124 - Test.LDPC-SC.ss1 (Not Run)
        125 - Test.LDPC-SC.ss2 (Not Run)
        126 - Test.LDPC-SC.ss3 (Not Run)
        127 - Test.LDPC-SC.ss4 (Not Run)
        128 - Test.LDPC-SC.ss5 (Not Run)
        129 - Test.LDPC-SC.ss6 (Not Run)
        130 - Test.LDPC-SC.ss7 (Not Run)
        131 - Test.LDPC-SC.ss8 (Not Run)
        132 - Test.LDPC-SC.ss9 (Not Run)
        133 - Test.LDPC-SC.ss10 (Not Run)
        134 - Test.LDPC-SC.ss11 (Not Run)
        135 - Test.LDPC-SC.ss12 (Not Run)
        136 - Test.LDPC-SC.ss13 (Not Run)
        137 - Test.RS_2m_4.src1 (Not Run)
        138 - Test.RS_2m_4.src2 (Not Run)
        139 - Test.RS_2m_4.src3 (Not Run)
        140 - Test.RS_2m_4.src4 (Not Run)
        141 - Test.RS_2m_4.src11 (Not Run)
        142 - Test.RS_2m_4.src13 (Not Run)
        143 - Test.RS_2m_4.src15 (Not Run)
        144 - Test.RS_2m_4.src17 (Not Run)
        145 - Test.RS_2m_4.src21 (Not Run)
        146 - Test.RS_2m_4.cr2.3.tx0 (Not Run)
        147 - Test.RS_2m_4.cr1.2.tx1 (Not Run)
        148 - Test.RS_2m_4.cr1.2.tx2 (Not Run)
        149 - Test.RS_2m_4.cr1.2.tx3 (Not Run)
        150 - Test.RS_2m_4.cr2.3.tx4 (Not Run)
        151 - Test.RS_2m_4.cr2.3.tx5 (Not Run)
        152 - Test.RS_2m_4.cr2.3.tx6 (Not Run)
        153 - Test.RS_2m_4.cr2.3.tx7 (Not Run)
        154 - Test.RS_2m_4.cr2.3.loss1 (Not Run)
        155 - Test.RS_2m_4.cr2.3.loss2 (Not Run)
        156 - Test.RS_2m_4.cr2.3.loss3 (Not Run)
        157 - Test.RS_2m_4.cr1.2.loss4 (Not Run)
        158 - Test.RS_2m_4.cr2.3.big (Not Run)
        159 - Test.RS_2m_4.cr3.4.tx4 (Not Run)
        160 - Test.RS_2m_4.cr3.4.tx5 (Not Run)
        161 - Test.RS_2m_4.cr3.4.tx6 (Not Run)
        162 - Test.RS_2m_4.cr3.4.tx7 (Not Run)
        163 - Test.RS_2m_4.cr3.4.loss1 (Not Run)
        164 - Test.RS_2m_4.cr3.4.loss2 (Not Run)
        165 - Test.RS_2m_4.cr3.4.loss3 (Not Run)
        166 - Test.RS_2m_4.cr3.4.big (Not Run)
        167 - Test.RS_2m_4.ss1 (Not Run)
        168 - Test.RS_2m_4.ss2 (Not Run)
        169 - Test.RS_2m_4.ss3 (Not Run)
        170 - Test.RS_2m_4.ss4 (Not Run)
        171 - Test.RS_2m_4.ss5 (Not Run)
        172 - Test.RS_2m_4.ss6 (Not Run)
        173 - Test.RS_2m_4.ss7 (Not Run)
        174 - Test.RS_2m_4.ss8 (Not Run)
        175 - Test.RS_2m_4.ss9 (Not Run)
        176 - Test.RS_2m_4.ss10 (Not Run)
        177 - Test.RS_2m_4.ss11 (Not Run)
        178 - Test.RS_2m_4.ss12 (Not Run)
        179 - Test.RS_2m_4.ss13 (Not Run)
        180 - Test.RS_2m_8.src1 (Not Run)
        181 - Test.RS_2m_8.src2 (Not Run)
        182 - Test.RS_2m_8.src3 (Not Run)
        183 - Test.RS_2m_8.src4 (Not Run)
        184 - Test.RS_2m_8.src11 (Not Run)
        185 - Test.RS_2m_8.src13 (Not Run)
        186 - Test.RS_2m_8.src15 (Not Run)
        187 - Test.RS_2m_8.src17 (Not Run)
        188 - Test.RS_2m_8.src21 (Not Run)
        189 - Test.RS_2m_8.cr2.3.tx0 (Not Run)
        190 - Test.RS_2m_8.cr1.2.tx1 (Not Run)
        191 - Test.RS_2m_8.cr1.2.tx2 (Not Run)
        192 - Test.RS_2m_8.cr1.2.tx3 (Not Run)
        193 - Test.RS_2m_8.cr2.3.tx4 (Not Run)
        194 - Test.RS_2m_8.cr2.3.tx5 (Not Run)
        195 - Test.RS_2m_8.cr2.3.tx6 (Not Run)
        196 - Test.RS_2m_8.cr2.3.tx7 (Not Run)
        197 - Test.RS_2m_8.cr2.3.loss1 (Not Run)
        198 - Test.RS_2m_8.cr2.3.loss2 (Not Run)
        199 - Test.RS_2m_8.cr2.3.loss3 (Not Run)
        200 - Test.RS_2m_8.cr1.2.loss4 (Not Run)
        201 - Test.RS_2m_8.cr2.3.big (Not Run)
        202 - Test.RS_2m_8.cr3.4.tx4 (Not Run)
        203 - Test.RS_2m_8.cr3.4.tx5 (Not Run)
        204 - Test.RS_2m_8.cr3.4.tx6 (Not Run)
        205 - Test.RS_2m_8.cr3.4.tx7 (Not Run)
        206 - Test.RS_2m_8.cr3.4.loss1 (Not Run)
        207 - Test.RS_2m_8.cr3.4.loss2 (Not Run)
        208 - Test.RS_2m_8.cr3.4.loss3 (Not Run)
        209 - Test.RS_2m_8.cr3.4.big (Not Run)
        210 - Test.RS_2m_8.ss1 (Not Run)
        211 - Test.RS_2m_8.ss2 (Not Run)
        212 - Test.RS_2m_8.ss3 (Not Run)
        213 - Test.RS_2m_8.ss4 (Not Run)
        214 - Test.RS_2m_8.ss5 (Not Run)
        215 - Test.RS_2m_8.ss6 (Not Run)
        216 - Test.RS_2m_8.ss7 (Not Run)
        217 - Test.RS_2m_8.ss8 (Not Run)
        218 - Test.RS_2m_8.ss9 (Not Run)
        219 - Test.RS_2m_8.ss10 (Not Run)
        220 - Test.RS_2m_8.ss11 (Not Run)
        221 - Test.RS_2m_8.ss12 (Not Run)
        222 - Test.RS_2m_8.ss13 (Not Run)
        223 - Test.RS_28.src1 (Not Run)
        224 - Test.RS_28.src2 (Not Run)
        225 - Test.RS_28.src3 (Not Run)
        226 - Test.RS_28.src4 (Not Run)
        227 - Test.RS_28.src11 (Not Run)
        228 - Test.RS_28.src13 (Not Run)
        229 - Test.RS_28.src15 (Not Run)
        230 - Test.RS_28.src17 (Not Run)
        231 - Test.RS_28.src21 (Not Run)
        232 - Test.RS_28.cr2.3.tx0 (Not Run)
        233 - Test.RS_28.cr1.2.tx1 (Not Run)
        234 - Test.RS_28.cr1.2.tx2 (Not Run)
        235 - Test.RS_28.cr1.2.tx3 (Not Run)
        236 - Test.RS_28.cr2.3.tx4 (Not Run)
        237 - Test.RS_28.cr2.3.tx5 (Not Run)
        238 - Test.RS_28.cr2.3.tx6 (Not Run)
        239 - Test.RS_28.cr2.3.tx7 (Not Run)
        240 - Test.RS_28.cr2.3.loss1 (Not Run)
        241 - Test.RS_28.cr2.3.loss2 (Not Run)
        242 - Test.RS_28.cr2.3.loss3 (Not Run)
        243 - Test.RS_28.cr1.2.loss4 (Not Run)
        244 - Test.RS_28.cr2.3.big (Not Run)
        245 - Test.RS_28.cr3.4.tx4 (Not Run)
        246 - Test.RS_28.cr3.4.tx5 (Not Run)
        247 - Test.RS_28.cr3.4.tx6 (Not Run)
        248 - Test.RS_28.cr3.4.tx7 (Not Run)
        249 - Test.RS_28.cr3.4.loss1 (Not Run)
        250 - Test.RS_28.cr3.4.loss2 (Not Run)
        251 - Test.RS_28.cr3.4.loss3 (Not Run)
        252 - Test.RS_28.cr3.4.big (Not Run)
        253 - Test.RS_28.ss1 (Not Run)
        254 - Test.RS_28.ss2 (Not Run)
        255 - Test.RS_28.ss3 (Not Run)
        256 - Test.RS_28.ss4 (Not Run)
        257 - Test.RS_28.ss5 (Not Run)
        258 - Test.RS_28.ss6 (Not Run)
        259 - Test.RS_28.ss7 (Not Run)
        260 - Test.RS_28.ss8 (Not Run)
        261 - Test.RS_28.ss9 (Not Run)
        262 - Test.RS_28.ss10 (Not Run)
        263 - Test.RS_28.ss11 (Not Run)
        264 - Test.RS_28.ss12 (Not Run)
        265 - Test.RS_28.ss13 (Not Run)
Errors while running CTest

License issues

There are quite a few files in the repository without clear licenses and copyright notices. Debian requires that software in its archives follows its guidelines. The issues I have specifically noted in the code:

  • All files in the doc/ subdirectory.
  • The recently added pkg-config file and accompanying CMakeLists.txt in the pc/ subdirectory.
  • All files in the perf_eval/ subdirectory.
  • The recently added RPM spec file and accompanying rpm/ subdirectory.
  • The HTML file tools/descr_stats_v1.2/descr_stats_doc.html and the accompanying GIF file tools/descr_stats_v1.2/sigma2.gif.

For the recently added files in pc/ and rpm/, perhaps @twojstaryzdomu and @yarda can clarify what license they want this code to be under.

The other files come from the original distribution at openfec.org and it does not look like that website has seen any activity in the last years. Perhaps it would be possible to ask for clarification via e-mail? Alternatively, they can also be deleted without impacting the functionality of the library itself.

Add CI step that checks version

On CI, in release step, check that version written in .version file is the same as the git tag which we're building. If it differs, CI should fail and release shouldn't be published.

This is needed to ensure that we don't forget to update .version file when making new release.

Add CI step that publishes RPM package

We have an RPM spec file in rpm directory.

We now should add a CI step to "release" pipeline, that build two RPM packages (libopenfec and libopenfec-devel) and publishes them to release assets, the same way as we already do for DEB packages.

Add script for bumping rpm spec version

Add a script that renames the rpc spec and updates the version inside it according to the specified version. Maybe it could also update changelog in the spec from git log (not sure if it's really needed).

See #5 (comment)

1.4.2.5: compile time warnings

First summary stats

[tkloczko@pers-jacek SPECS]$ rpmbuild -ba openfec.spec --quiet 2>&1 | grep -- \\[-W | sed 's/.*\[//; s/\]//' | sort | uniq -c | sort -nr
     10 -Wunused-variable
      9 -Wunused-but-set-variable
      8 -Wunused-result
      4 -Wunused-const-variable=
      3 -Wunused-label
      1 -Wparentheses

and extracted stderr

/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/src/lib_common/linear_binary_codes_utils/binary_matrix/of_hamming_weight.c:45:21: warning: 'of_hff' defined but not used [-Wunused-const-variable=]
   45 | static const UINT64 of_hff = 0xffffffffffffffffLL; //binary: all ones
      |                     ^~~~~~
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/src/lib_common/linear_binary_codes_utils/binary_matrix/of_hamming_weight.c:44:21: warning: 'of_m32' defined but not used [-Wunused-const-variable=]
   44 | static const UINT64 of_m32 = 0x00000000ffffffffLL; //binary: 32 zeros, 32 ones
      |                     ^~~~~~
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/src/lib_common/linear_binary_codes_utils/binary_matrix/of_hamming_weight.c:43:21: warning: 'of_m16' defined but not used [-Wunused-const-variable=]
   43 | static const UINT64 of_m16 = 0x0000ffff0000ffffLL; //binary: 16 zeros, 16 ones ...
      |                     ^~~~~~
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/src/lib_common/linear_binary_codes_utils/binary_matrix/of_hamming_weight.c:42:21: warning: 'of_m8' defined but not used [-Wunused-const-variable=]
   42 | static const UINT64 of_m8  = 0x00ff00ff00ff00ffLL; //binary:  8 zeros,  8 ones ...
      |                     ^~~~~
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/src/lib_common/linear_binary_codes_utils/binary_matrix/of_matrix_sparse.c: In function 'of_mod2sparse_copy':
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/src/lib_common/linear_binary_codes_utils/binary_matrix/of_matrix_sparse.c:192:27: warning: variable 'f' set but not used [-Wunused-but-set-variable]
  192 |         of_mod2entry *e, *f;
      |                           ^
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/src/lib_common/linear_binary_codes_utils/binary_matrix/of_matrix_dense.c: In function 'of_mod2dense_row_weight':
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/src/lib_common/linear_binary_codes_utils/binary_matrix/of_matrix_dense.c:1542:25: warning: variable 'nwords' set but not used [-Wunused-but-set-variable]
 1542 |         UINT32          nwords;                 /* number of of_mod2word in a row */
      |                         ^~~~~~
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/src/lib_common/linear_binary_codes_utils/binary_matrix/of_matrix_dense.c: In function 'of_mod2dense_row_weight_ignore_first':
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/src/lib_common/linear_binary_codes_utils/binary_matrix/of_matrix_dense.c:1568:25: warning: variable 'start0' set but not used [-Wunused-but-set-variable]
 1568 |         UINT32          start0;
      |                         ^~~~~~
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/src/lib_common/linear_binary_codes_utils/binary_matrix/of_matrix_sparse.c: In function 'of_mod2sparse_print_bitmap':
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/src/lib_common/linear_binary_codes_utils/binary_matrix/of_matrix_sparse.c:619:25: warning: variable 'val' set but not used [-Wunused-but-set-variable]
  619 |         UINT32          val = 1;
      |                         ^~~
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/src/lib_common/linear_binary_codes_utils/binary_matrix/of_matrix_sparse.c:616:25: warning: variable 'y' set but not used [-Wunused-but-set-variable]
  616 |         UINT32          y;
      |                         ^
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/src/lib_common/linear_binary_codes_utils/binary_matrix/of_matrix_sparse.c:615:25: warning: variable 'x' set but not used [-Wunused-but-set-variable]
  615 |         UINT32          x;
      |                         ^
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/src/lib_common/linear_binary_codes_utils/ml_decoding/of_ml_tool.c: In function 'of_linear_binary_code_col_forward_elimination':
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/src/lib_common/linear_binary_codes_utils/ml_decoding/of_ml_tool.c:165:25: warning: variable 'n' set but not used [-Wunused-but-set-variable]
  165 |         INT32           n, p;
      |                         ^
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/src/lib_stable/reed-solomon_gf_2_8/of_reed-solomon_gf_2_8_api.c: In function 'of_rs_release_codec_instance':
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/src/lib_stable/reed-solomon_gf_2_8/of_reed-solomon_gf_2_8_api.c:83:16: warning: unused variable 'i' [-Wunused-variable]
   83 |         UINT32 i;
      |                ^
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/tools/descr_stats_v1.2/descr_stats.c: In function 'main':
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/tools/descr_stats_v1.2/descr_stats.c:234:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result]
  234 |         system(cmd);
      |         ^~~~~~~~~~~
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/tools/descr_stats_v1.2/descr_stats.c:359:17: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
  359 |                 scanf("%c", &answer);
      |                 ^~~~~~~~~~~~~~~~~~~~
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/tools/descr_stats_v1.2/descr_stats.c:364:17: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
  364 |                 scanf("%lf", &step);/* XXX: done this way, the user MUST enter a value */
      |                 ^~~~~~~~~~~~~~~~~~~
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/tools/descr_stats_v1.2/descr_stats.c:409:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result]
  409 |         system(cmd);
      |         ^~~~~~~~~~~
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/tools/descr_stats_v1.2/descr_stats.c:425:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result]
  425 |         system(cmd);
      |         ^~~~~~~~~~~
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/tools/descr_stats_v1.2/descr_stats.c: In function 'initialize_file_names':
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/tools/descr_stats_v1.2/descr_stats.c:456:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  456 |                 fgets(dirn, MAXNAMELEN, file);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/tools/descr_stats_v1.2/descr_stats.c:468:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  468 |                 fgets(basen, MAXNAMELEN, file);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/src/lib_stable/reed-solomon_gf_2_8/of_reed-solomon_gf_2_8_api.c: In function 'of_rs_finish_decoding':
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/src/lib_stable/reed-solomon_gf_2_8/of_reed-solomon_gf_2_8_api.c:283:25: warning: variable 'n' set but not used [-Wunused-but-set-variable]
  283 |         UINT32          n;
      |                         ^
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/src/lib_common/linear_binary_codes_utils/ml_decoding/of_ml_decoding.c: In function 'of_linear_binary_code_create_simplified_linear_system':
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/src/lib_common/linear_binary_codes_utils/ml_decoding/of_ml_decoding.c:523:26: warning: unused variable '__pchk_matrix_simplified_cols' [-Wunused-variable]
  523 |         of_mod2sparse   *__pchk_matrix_simplified_cols;
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/src/lib_stable/reed-solomon_gf_2_m/of_reed-solomon_gf_2_m_api.c: In function 'of_rs_2_m_finish_decoding':
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/src/lib_stable/reed-solomon_gf_2_m/of_reed-solomon_gf_2_m_api.c:376:25: warning: variable 'n' set but not used [-Wunused-but-set-variable]
  376 |         UINT32          n;
      |                         ^
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/src/lib_stable/reed-solomon_gf_2_m/galois_field_codes_utils/of_galois_field_code.c: In function 'of_rs_2m_build_encoding_matrix':
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/src/lib_stable/reed-solomon_gf_2_m/galois_field_codes_utils/of_galois_field_code.c:193:9: warning: label 'error' defined but not used [-Wunused-label]
  193 |         error:
      |         ^~~~~
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/src/lib_stable/reed-solomon_gf_2_m/galois_field_codes_utils/of_galois_field_code.c: In function 'of_rs_2m_build_decoding_matrix':
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/src/lib_stable/reed-solomon_gf_2_m/galois_field_codes_utils/of_galois_field_code.c:252:1: warning: label 'error' defined but not used [-Wunused-label]
  252 | error:
      | ^~~~~
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/src/lib_stable/reed-solomon_gf_2_m/galois_field_codes_utils/algebra_2_4.c: In function 'of_galois_field_2_4_addmul1_compact':
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/src/lib_stable/reed-solomon_gf_2_m/galois_field_codes_utils/algebra_2_4.c:43:85: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
   43 | #define GF_ADDMULC_COMPACT(dst,x)       {dst = (dst>>4 ^ __gf_mulc_[x>>4])<<4 |(dst & 0x0F ^ __gf_mulc_[x & 0x0F]); }
      |                                                                                     ^
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/src/lib_stable/reed-solomon_gf_2_m/galois_field_codes_utils/algebra_2_4.c:280:17: note: in expansion of macro 'GF_ADDMULC_COMPACT'
  280 |                 GF_ADDMULC_COMPACT (*dst , *src);
      |                 ^~~~~~~~~~~~~~~~~~
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/tests/create_instance_test.c: In function 'main':
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/tests/create_instance_test.c:107:1: warning: label 'error' defined but not used [-Wunused-label]
  107 | error:
      | ^~~~~
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/tests/code_params_test.c: In function 'main':
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/tests/code_params_test.c:75:27: warning: unused variable 'encoding_symb_tab' [-Wunused-variable]
   75 |         void            **encoding_symb_tab;
      |                           ^~~~~~~~~~~~~~~~~
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/tests/code_params_test.c:74:27: warning: unused variable 'orig_symb_tab' [-Wunused-variable]
   74 |         char            **orig_symb_tab;
      |                           ^~~~~~~~~~~~~
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/tests/code_params_test.c:71:25: warning: unused variable 'esi' [-Wunused-variable]
   71 |         UINT32          esi;
      |                         ^~~
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/tests/code_params_test.c:67:28: warning: unused variable 'j' [-Wunused-variable]
   67 |         UINT32          i, j;
      |                            ^
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/tests/code_params_test.c:67:25: warning: unused variable 'i' [-Wunused-variable]
   67 |         UINT32          i, j;
      |                         ^
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/applis/eperftool/tx_simulator.c: In function 'init_prng_with_seed':
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/applis/eperftool/tx_simulator.c:629:25: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
  629 |                         fread(&seed, sizeof(int), 1, dev_random);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/applis/howto_examples/simple_client_server/simple_client.c: In function 'main':
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/applis/howto_examples/simple_client_server/simple_client.c:93:25: warning: unused variable 'dst_host' [-Wunused-variable]
   93 |         SOCKADDR_IN     dst_host;
      |                         ^~~~~~~~
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/applis/howto_examples/simple_client_server/simple_client.c:85:25: warning: unused variable 'symb_sz_32' [-Wunused-variable]
   85 |         UINT32          symb_sz_32      = SYMBOL_SIZE / 4;      /* symbol size in units of 32 bit words */
      |                         ^~~~~~~~~~
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/applis/eperftool/sender.c: In function 'encode':
/home/tkloczko/rpmbuild/BUILD/openfec-1.4.2.5/applis/eperftool/sender.c:261:25: warning: unused variable 'i' [-Wunused-variable]
  261 |         UINT32          i;
      |                         ^

Debian package fixes

Minor issues with debian packages implemented in #5.

  • Rename releases from openfec_1.2.3 to v1.2.3 and tags from 1.2.3 to v1.2.3
  • Make packages compatible with debian: #5 (comment)
  • Exclude .c files from -dev package: #5 (comment)
  • Add .pc file to -dev package: #5 (comment)
  • Add lib_advanced to include dirs in .pc file: #5 (comment)
  • Likely, we should remove libopenfec-tools package: #5 (comment)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.