Linux: error compile dsview-0.98.tar.gz

Help to track any bugs about DSView software

The sources from the linux tar-file-0.98, which can be downloaded from the download area

have a problem compiling.


cd libsigrok4DSL

Code: Select all
error output:
  CC       session_file.lo
  CC       session_driver.lo
session_driver.c: In function 'trans_data':
session_driver.c:106:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
     for (int k = 0; k < CHUNKSIZE / (UNITLEN * bytes); k++) {
session_driver.c:106:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
session_driver.c:114:13: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
             for (int j = 0; j < UNITLEN; j++) {
Makefile:589: recipe for target 'session_driver.lo' failed
make[2]: *** [session_driver.lo] Error 1
Makefile:653: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
Makefile:459: recipe for target 'all' failed
make: *** [all] Error 2

md5sum is
4515ede78609cb8aa4d65fce3ce76113 DSView-0.98.tar.gz

Please use the sources of github

git clone git: //

or git-download-button

Code: Select all
jo@debian: ~ $ git log
commit d276e8138bfb1e797bc18baf5d85c8fa18b4427e
Merge: 8d8d74 82c9b77
Author: DreamSourceLab <>
Date: Thu Sep 28 13:04:53 2017 +0800

     Merge pull request # 108 from s117 / NEWS_spell_fix
     Spell fixing in file NEWS

was able to create on my system Debian Jessie 64bit without any problems

This software is currently running smoothly and offers new interesting features!

I succeeded in installing DSView with the information from the Sigrok homepage local under my user. Thus, several test installation can be used. If interested, please ask.


Posts: 14
Joined: Thu Nov 19, 2015 1:33 am

Return to Bugs Report

Who is online
Users browsing this forum: No registered users and 1 guest