Page 1 of 1

Everything went wrong while I was Installing

PostPosted: Fri Aug 14, 2015 4:17 am
by shu
Hello DSLogic. Today I receive my DSLogic but have a problem went try to compile the program.

DSView-master/libsigrokdecode$ sudo make install
[sudo] password for we:
/bin/mkdir -p '/usr/local/lib'
/bin/bash ./libtool --silent --mode=install /usr/bin/install -c libsigrokdecode.la '/usr/local/lib'
/bin/mkdir -p '/usr/local/include/libsigrokdecode'
/usr/bin/install -c -m 644 libsigrokdecode.h version.h '/usr/local/include/libsigrokdecode'
/bin/mkdir -p '/usr/local/lib/pkgconfig'
/usr/bin/install -c -m 644 libsigrokdecode.pc '/usr/local/lib/pkgconfig'
make install-data-hook
/bin/mkdir -p /usr/local/share/libsigrokdecode/decoders
python3.4 ./tools/install-decoders \
-i ./decoders -o /usr/local/share/libsigrokdecode/decoders
Installing 56 protocol decoders:
onewire_link i2s jtag pan1321 timing z80 eeprom24xx pwm tca6408a mlx90614
nrf24l01 rfm12 mdio mrf24j40 xfp arm_itm usb_packet rgb_led_spi stepper_motor
rtc8564 midi tlc5620 spi edid i2c sdcard_spi modbus adns5020 lpc sdcard_sd
usb_signalling ir_nec ds1307 ir_rc5 maxim_ds28ea00 avr_isp am230x swd parallel
i2cdemux lm75 guess_bitrate mxc6225xu uart jitter i2cfilter spdif
onewire_network dcf77 can arm_etmv3 nunchuk qi arm_tpiu spiflash jtag_stm32

cd libsigrok4DSL/
./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.22... yes
checking for library containing pow... -lm
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.32.0... yes (version 2.44.1)
checking for libzip... yes
checking for libserialport... yes
checking for libusb... yes
checking for check... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking whether byte ordering is bigendian... no
checking for inline... inline
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for size_t... yes
checking for gettimeofday... yes
checking for memset... yes
checking for strchr... yes
checking for strcspn... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for strtoull... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating version.h
config.status: creating hardware/Makefile
config.status: creating hardware/demo/Makefile
config.status: creating hardware/common/Makefile
config.status: creating hardware/DSL/Makefile
config.status: creating input/Makefile
config.status: creating output/Makefile
config.status: creating libsigrok4DSL.pc
config.status: creating tests/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

libsigrok configuration summary:

- Package version (major.minor.micro): 0.2.0
- Library version (current:revision:age): 1:2:0
- Prefix: /usr/local
- Building on: x86_64-unknown-linux-gnu
- Building for: x86_64-unknown-linux-gnu

Detected libraries:

- glib-2.0 >= 2.32.0: yes (2.44.1)
- libzip >= 0.10: yes (0.11.2)
- libserialport >= 0.1.0: yes (0.1.0)
- libusb-1.0 >= 1.0.9: yes (1.0.19)
- libftdi >= 0.16: yes (0.20)
- libudev >= 151: yes (219)
- alsa >= 1.0: yes (1.0.28)
- check >= 0.9.4: yes (0.9.10)

Enabled hardware drivers:

- demo............................ yes
- DreamSourceLab.................. yes

DSView-master/libsigrok4DSL$ make
make all-recursive
Making all in hardware
Making all in demo
CC libsigrok4DSL_hw_demo_la-demo.lo
In file included from demo.c:32:0:
../../libsigrok.h:154:77: warning: 'struct sr_dev_inst' declared inside parameter list
typedef int (*sr_receive_data_callback_t)(int fd, int revents, const struct sr_dev_inst *sdi);
^
../../libsigrok.h:154:77: warning: its scope is only this definition or declaration, which is probably not what you want
demo.c: In function 'hw_dev_mode_list':
demo.c:277:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < ARRAY_SIZE(mode_list); i++) {
^
demo.c: In function 'receive_data':
demo.c:775:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < sending_now; i++) {
^
demo.c:830:29: warning: assignment from incompatible pointer type
analog.data = buf;
^
demo.c:846:33: warning: passing argument 1 of 'hw_dev_acquisition_stop' discards 'const' qualifier from pointer target type
hw_dev_acquisition_stop(sdi, NULL);
^
demo.c:186:12: note: expected 'struct sr_dev_inst *' but argument is of type 'const struct sr_dev_inst *'
static int hw_dev_acquisition_stop(struct sr_dev_inst *sdi, void *cb_data);
^
demo.c: In function 'hw_dev_acquisition_start':
demo.c:876:9: warning: implicit declaration of function 'ds_trigger_get_mask0' [-Wimplicit-function-declaration]
devc->trigger_mask = ds_trigger_get_mask0(TriggerStages);
^
demo.c:877:9: warning: implicit declaration of function 'ds_trigger_get_value0' [-Wimplicit-function-declaration]
devc->trigger_value = ds_trigger_get_value0(TriggerStages);
^
demo.c:878:9: warning: implicit declaration of function 'ds_trigger_get_edge0' [-Wimplicit-function-declaration]
devc->trigger_edge = ds_trigger_get_edge0(TriggerStages);
^
demo.c:909:18: warning: passing argument 4 of 'sr_session_source_add_channel' from incompatible pointer type
100, receive_data, sdi);
^
In file included from ../../libsigrok.h:1071:0,
from demo.c:32:
../../proto.h:123:12: note: expected 'sr_receive_data_callback_t' but argument is of type 'int (*)(int, int, const struct sr_dev_inst *)'
SR_API int sr_session_source_add_channel(GIOChannel *channel, int events,
^
demo.c: At top level:
demo.c:979:2: warning: initialization from incompatible pointer type
.config_set = config_set,
^
demo.c:979:2: warning: (near initialization for 'demo_driver_info.config_set')
demo.c: In function 'receive_data':
demo.c:702:24: warning: 'demo_data' may be used uninitialized in this function [-Wmaybe-uninitialized]
*(buf + i) = demo_data + (demo_data << 8);
^
demo.c:590:14: note: 'demo_data' was declared here
uint16_t demo_data;
^
CCLD libsigrok4DSL_hw_demo.la
Making all in common
CC libsigrok4DSL_hw_common_la-ezusb.lo
In file included from ezusb.c:30:0:
../../libsigrok.h:154:77: warning: 'struct sr_dev_inst' declared inside parameter list
typedef int (*sr_receive_data_callback_t)(int fd, int revents, const struct sr_dev_inst *sdi);
^
../../libsigrok.h:154:77: warning: its scope is only this definition or declaration, which is probably not what you want
CC libsigrok4DSL_hw_common_la-usb.lo
In file included from usb.c:23:0:
../../libsigrok.h:154:77: warning: 'struct sr_dev_inst' declared inside parameter list
typedef int (*sr_receive_data_callback_t)(int fd, int revents, const struct sr_dev_inst *sdi);
^
../../libsigrok.h:154:77: warning: its scope is only this definition or declaration, which is probably not what you want
CCLD libsigrok4DSL_hw_common.la
Making all in DSL
CC libsigrok4DSL_hw_dsl_la-command.lo
In file included from command.h:24:0,
from command.c:21:
../../libsigrok.h:154:77: warning: 'struct sr_dev_inst' declared inside parameter list
typedef int (*sr_receive_data_callback_t)(int fd, int revents, const struct sr_dev_inst *sdi);
^
../../libsigrok.h:154:77: warning: its scope is only this definition or declaration, which is probably not what you want
CC libsigrok4DSL_hw_dsl_la-dslogic.lo
In file included from dsl.h:25:0,
from dslogic.c:31:
../../libsigrok.h:154:77: warning: 'struct sr_dev_inst' declared inside parameter list
typedef int (*sr_receive_data_callback_t)(int fd, int revents, const struct sr_dev_inst *sdi);
^
../../libsigrok.h:154:77: warning: its scope is only this definition or declaration, which is probably not what you want
dslogic.c: In function 'fpga_setting':
dslogic.c:337:9: warning: implicit declaration of function 'ds_trigger_get_mask0' [-Wimplicit-function-declaration]
setting.trig_mask0[0] = ds_trigger_get_mask0(TriggerStages);
^
dslogic.c:338:9: warning: implicit declaration of function 'ds_trigger_get_mask1' [-Wimplicit-function-declaration]
setting.trig_mask1[0] = ds_trigger_get_mask1(TriggerStages);
^
dslogic.c:340:9: warning: implicit declaration of function 'ds_trigger_get_value0' [-Wimplicit-function-declaration]
setting.trig_value0[0] = ds_trigger_get_value0(TriggerStages);
^
dslogic.c:341:9: warning: implicit declaration of function 'ds_trigger_get_value1' [-Wimplicit-function-declaration]
setting.trig_value1[0] = ds_trigger_get_value1(TriggerStages);
^
dslogic.c:343:9: warning: implicit declaration of function 'ds_trigger_get_edge0' [-Wimplicit-function-declaration]
setting.trig_edge0[0] = ds_trigger_get_edge0(TriggerStages);
^
dslogic.c:344:9: warning: implicit declaration of function 'ds_trigger_get_edge1' [-Wimplicit-function-declaration]
setting.trig_edge1[0] = ds_trigger_get_edge1(TriggerStages);
^
dslogic.c:389:32: warning: passing argument 3 of 'libusb_bulk_transfer' from incompatible pointer type
&setting, sizeof(struct DSL_setting),
^
In file included from ../../libsigrok-internal.h:27:0,
from dsl.h:26,
from dslogic.c:31:
/usr/include/libusb-1.0/libusb.h:1747:17: note: expected 'unsigned char *' but argument is of type 'struct DSL_setting *'
int LIBUSB_CALL libusb_bulk_transfer(libusb_device_handle *dev_handle,
^
dslogic.c: In function 'fpga_config':
dslogic.c:418:5: warning: implicit declaration of function 'g_fopen' [-Wimplicit-function-declaration]
if ((fw = g_fopen(filename, "rb")) == NULL) {
^
dslogic.c:418:13: warning: assignment makes pointer from integer without a cast
if ((fw = g_fopen(filename, "rb")) == NULL) {
^
dslogic.c: In function 'adjust_probes':
dslogic.c:702:13: warning: unused variable 'p' [-Wunused-variable]
GSList *p;
^
dslogic.c:700:13: warning: unused variable 'l' [-Wunused-variable]
GSList *l;
^
dslogic.c: In function 'dev_mode_list':
dslogic.c:849:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < ARRAY_SIZE(pro_mode_list); i++) {
^
dslogic.c:853:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < ARRAY_SIZE(mode_list); i++) {
^
dslogic.c: In function 'dev_open':
dslogic.c:997:13: warning: unused variable 'l' [-Wunused-variable]
GSList *l;
^
dslogic.c: In function 'config_set':
dslogic.c:1414:19: warning: assignment from incompatible pointer type
for(l = sdi->channels; l; l = l->next) {
^
dslogic.c:1449:19: warning: assignment from incompatible pointer type
for(l = sdi->channels; l; l = l->next) {
^
dslogic.c:1672:66: warning: passing argument 2 of 'dso_cmd_gen' makes pointer from integer without a cast
ret = command_dso_ctrl(usb->devhdl, dso_cmd_gen(sdi, 1, SR_CONF_HORIZ_TRIGGERPOS));
^
dslogic.c:860:17: note: expected 'struct sr_channel *' but argument is of type 'int'
static uint64_t dso_cmd_gen(struct sr_dev_inst *sdi, struct sr_channel* ch, int id)
^
dslogic.c: In function 'abort_acquisition':
dslogic.c:1811:5: warning: implicit declaration of function 'command_stop_acquisition' [-Wimplicit-function-declaration]
if ((ret = command_stop_acquisition (usb->devhdl)) != SR_OK)
^
dslogic.c: In function 'finish_acquisition':
dslogic.c:1832:29: warning: unused variable 'usb' [-Wunused-variable]
struct sr_usb_dev_inst *usb;
^
dslogic.c:1831:12: warning: unused variable 'ret' [-Wunused-variable]
int i, ret;
^
dslogic.c: In function 'receive_transfer':
dslogic.c:2050:17: warning: left shift count >= width of type
mstatus.ch0_period += *((const uint32_t*)cur_buf + mstatus_offset/2 + 4/2) << 32;
^
dslogic.c:2055:17: warning: left shift count >= width of type
mstatus.ch1_period += *((const uint32_t*)cur_buf + mstatus_offset/2 + 12/2) << 32;
^
dslogic.c:2074:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
mstatus.vlen <= (transfer->actual_length - 512) / sample_width) ||
^
dslogic.c:2098:25: warning: assignment from incompatible pointer type
analog.data = cur_buf + trigger_offset_bytes;
^
dslogic.c:2101:55: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((devc->limit_samples && devc->num_samples < devc->limit_samples) ||
^
dslogic.c:2109:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < logic.length / 2; i++) {
^
dslogic.c:2127:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < logic.length / 2; i++) {
^
dslogic.c: In function 'get_timeout':
dslogic.c:2202:18: warning: variable 'timeout' set but not used [-Wunused-but-set-variable]
unsigned int timeout;
^
dslogic.c: In function 'dev_transfer_start':
dslogic.c:2245:93: warning: signed and unsigned type in conditional expression [-Wsign-compare]
size = (sdi->mode == ANALOG) ? cons_buffer_size : ((sdi->mode == DSO) ? dso_buffer_size : get_buffer_size(devc));
^
dslogic.c:2245:53: warning: signed and unsigned type in conditional expression [-Wsign-compare]
size = (sdi->mode == ANALOG) ? cons_buffer_size : ((sdi->mode == DSO) ? dso_buffer_size : get_buffer_size(devc));
^
dslogic.c:2215:21: warning: unused variable 'timeout' [-Wunused-variable]
unsigned int i, timeout, num_transfers;
^
dslogic.c: In function 'receive_trigger_pos':
dslogic.c:2313:31: warning: unused variable 'analog' [-Wunused-variable]
struct sr_datafeed_analog analog;
^
dslogic.c:2312:28: warning: unused variable 'dso' [-Wunused-variable]
struct sr_datafeed_dso dso;
^
dslogic.c:2311:30: warning: unused variable 'logic' [-Wunused-variable]
struct sr_datafeed_logic logic;
^
dslogic.c: In function 'dev_acquisition_start':
dslogic.c:2399:19: warning: assignment discards 'const' qualifier from pointer target type
devc->cb_data = sdi;
^
dslogic.c:2434:15: warning: assignment from incompatible pointer type
for(l = sdi->channels; l; l = l->next) {
^
dslogic.c:2436:61: warning: passing argument 1 of 'dso_cmd_gen' discards 'const' qualifier from pointer target type
ret = command_dso_ctrl(usb->devhdl, dso_cmd_gen(sdi, probe, SR_CONF_COUPLING));
^
dslogic.c:860:17: note: expected 'struct sr_dev_inst *' but argument is of type 'const struct sr_dev_inst *'
static uint64_t dso_cmd_gen(struct sr_dev_inst *sdi, struct sr_channel* ch, int id)
^
dslogic.c:2441:61: warning: passing argument 1 of 'dso_cmd_gen' discards 'const' qualifier from pointer target type
ret = command_dso_ctrl(usb->devhdl, dso_cmd_gen(sdi, probe, SR_CONF_VDIV));
^
dslogic.c:860:17: note: expected 'struct sr_dev_inst *' but argument is of type 'const struct sr_dev_inst *'
static uint64_t dso_cmd_gen(struct sr_dev_inst *sdi, struct sr_channel* ch, int id)
^
dslogic.c:2464:32: warning: passing argument 4 of 'sr_source_add' from incompatible pointer type
get_timeout(devc), receive_data, sdi);
^
In file included from dsl.h:26:0,
from dslogic.c:31:
../../libsigrok-internal.h:115:13: note: expected 'sr_receive_data_callback_t' but argument is of type 'int (*)(int, int, const struct sr_dev_inst *)'
SR_PRIV int sr_source_add(int fd, int events, int timeout,
^
dslogic.c:2464:46: warning: passing argument 5 of 'sr_source_add' discards 'const' qualifier from pointer target type
get_timeout(devc), receive_data, sdi);
^
In file included from dsl.h:26:0,
from dslogic.c:31:
../../libsigrok-internal.h:115:13: note: expected 'void *' but argument is of type 'const struct sr_dev_inst *'
SR_PRIV int sr_source_add(int fd, int events, int timeout,
^
dslogic.c:2483:37: warning: passing argument 4 of 'libusb_fill_bulk_transfer' from incompatible pointer type
6 | LIBUSB_ENDPOINT_IN, trigger_pos, sizeof(struct ds_trigger_pos),
^
In file included from ../../libsigrok-internal.h:27:0,
from dsl.h:26,
from dslogic.c:31:
/usr/include/libusb-1.0/libusb.h:1548:20: note: expected 'unsigned char *' but argument is of type 'struct ds_trigger_pos *'
static inline void libusb_fill_bulk_transfer(struct libusb_transfer *transfer,
^
dslogic.c:2387:9: warning: unused variable 'header_transferred' [-Wunused-variable]
int header_transferred;
^
dslogic.c:2386:31: warning: unused variable 'packet' [-Wunused-variable]
struct sr_datafeed_packet packet;
^
dslogic.c:2385:9: warning: unused variable 'transferred' [-Wunused-variable]
int transferred;
^
dslogic.c:2375:71: warning: unused parameter 'cb_data' [-Wunused-parameter]
static int dev_acquisition_start(const struct sr_dev_inst *sdi, void *cb_data)
^
dslogic.c: At top level:
dslogic.c:2577:2: warning: initialization from incompatible pointer type
.config_set = config_set,
^
dslogic.c:2577:2: warning: (near initialization for 'DSLogic_driver_info.config_set')
dslogic.c: In function 'adjust_probes':
dslogic.c:716:9: warning: ignoring return value of 'g_slist_delete_link', declared with attribute warn_unused_result [-Wunused-result]
g_slist_delete_link(sdi->channels, g_slist_last(sdi->channels));
^
dslogic.c: In function 'config_get':
dslogic.c:1314:43: warning: 'devc' may be used uninitialized in this function [-Wmaybe-uninitialized]
*data = g_variant_new_boolean(devc->status != DSL_INIT);
^
dslogic.c: In function 'config_set':
dslogic.c:1685:12: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (ret == SR_OK)
^
dslogic.c:1410:9: warning: 'num_probes' may be used uninitialized in this function [-Wmaybe-uninitialized]
set_probes(sdi, num_probes);
^
CC libsigrok4DSL_hw_dsl_la-dscope.lo
In file included from dsl.h:25:0,
from dscope.c:31:
../../libsigrok.h:154:77: warning: 'struct sr_dev_inst' declared inside parameter list
typedef int (*sr_receive_data_callback_t)(int fd, int revents, const struct sr_dev_inst *sdi);
^
../../libsigrok.h:154:77: warning: its scope is only this definition or declaration, which is probably not what you want
dscope.c: In function 'fpga_setting':
dscope.c:270:9: warning: implicit declaration of function 'ds_trigger_get_mask0' [-Wimplicit-function-declaration]
setting.trig_mask0[0] = ds_trigger_get_mask0(TriggerStages);
^
dscope.c:271:9: warning: implicit declaration of function 'ds_trigger_get_mask1' [-Wimplicit-function-declaration]
setting.trig_mask1[0] = ds_trigger_get_mask1(TriggerStages);
^
dscope.c:273:9: warning: implicit declaration of function 'ds_trigger_get_value0' [-Wimplicit-function-declaration]
setting.trig_value0[0] = ds_trigger_get_value0(TriggerStages);
^
dscope.c:274:9: warning: implicit declaration of function 'ds_trigger_get_value1' [-Wimplicit-function-declaration]
setting.trig_value1[0] = ds_trigger_get_value1(TriggerStages);
^
dscope.c:276:9: warning: implicit declaration of function 'ds_trigger_get_edge0' [-Wimplicit-function-declaration]
setting.trig_edge0[0] = ds_trigger_get_edge0(TriggerStages);
^
dscope.c:277:9: warning: implicit declaration of function 'ds_trigger_get_edge1' [-Wimplicit-function-declaration]
setting.trig_edge1[0] = ds_trigger_get_edge1(TriggerStages);
^
dscope.c:322:32: warning: passing argument 3 of 'libusb_bulk_transfer' from incompatible pointer type
&setting, sizeof(struct DSL_setting),
^
In file included from ../../libsigrok-internal.h:27:0,
from dsl.h:26,
from dscope.c:31:
/usr/include/libusb-1.0/libusb.h:1747:17: note: expected 'unsigned char *' but argument is of type 'struct DSL_setting *'
int LIBUSB_CALL libusb_bulk_transfer(libusb_device_handle *dev_handle,
^
dscope.c: In function 'fpga_config':
dscope.c:351:5: warning: implicit declaration of function 'g_fopen' [-Wimplicit-function-declaration]
if ((fw = g_fopen(filename, "rb")) == NULL) {
^
dscope.c:351:13: warning: assignment makes pointer from integer without a cast
if ((fw = g_fopen(filename, "rb")) == NULL) {
^
dscope.c: In function 'adjust_probes':
dscope.c:633:13: warning: unused variable 'p' [-Wunused-variable]
GSList *p;
^
dscope.c:631:13: warning: unused variable 'l' [-Wunused-variable]
GSList *l;
^
dscope.c: In function 'dev_mode_list':
dscope.c:779:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < ARRAY_SIZE(mode_list); i++) {
^
dscope.c: In function 'config_set':
dscope.c:1547:66: warning: passing argument 2 of 'dso_cmd_gen' makes pointer from integer without a cast
ret = command_dso_ctrl(usb->devhdl, dso_cmd_gen(sdi, 1, SR_CONF_HORIZ_TRIGGERPOS));
^
dscope.c:786:17: note: expected 'struct sr_channel *' but argument is of type 'int'
static uint64_t dso_cmd_gen(struct sr_dev_inst *sdi, struct sr_channel* ch, int id)
^
dscope.c: In function 'abort_acquisition':
dscope.c:1681:5: warning: implicit declaration of function 'command_stop_acquisition' [-Wimplicit-function-declaration]
if ((ret = command_stop_acquisition (usb->devhdl)) != SR_OK)
^
dscope.c: In function 'finish_acquisition':
dscope.c:1702:29: warning: unused variable 'usb' [-Wunused-variable]
struct sr_usb_dev_inst *usb;
^
dscope.c:1701:12: warning: unused variable 'ret' [-Wunused-variable]
int i, ret;
^
dscope.c: In function 'receive_transfer':
dscope.c:1961:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
mstatus.vlen <= (transfer->actual_length - 512) / sample_width) ||
^
dscope.c:1985:25: warning: assignment from incompatible pointer type
analog.data = cur_buf + trigger_offset_bytes;
^
dscope.c:1995:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < logic.length / 2; i++) {
^
dscope.c:2012:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < logic.length / 2; i++) {
^
dscope.c:1779:29: warning: unused variable 'meta' [-Wunused-variable]
struct sr_datafeed_meta meta;
^
dscope.c: In function 'dev_transfer_start':
dscope.c:2105:21: warning: variable 'timeout' set but not used [-Wunused-but-set-variable]
unsigned int i, timeout, num_transfers;
^
dscope.c: In function 'receive_trigger_pos':
dscope.c:2203:31: warning: unused variable 'analog' [-Wunused-variable]
struct sr_datafeed_analog analog;
^
dscope.c:2202:28: warning: unused variable 'dso' [-Wunused-variable]
struct sr_datafeed_dso dso;
^
dscope.c:2201:30: warning: unused variable 'logic' [-Wunused-variable]
struct sr_datafeed_logic logic;
^
dscope.c: In function 'dev_acquisition_start':
dscope.c:2289:19: warning: assignment discards 'const' qualifier from pointer target type
devc->cb_data = sdi;
^
dscope.c:2354:32: warning: passing argument 4 of 'sr_source_add' from incompatible pointer type
get_timeout(devc), receive_data, sdi);
^
In file included from dsl.h:26:0,
from dscope.c:31:
../../libsigrok-internal.h:115:13: note: expected 'sr_receive_data_callback_t' but argument is of type 'int (*)(int, int, const struct sr_dev_inst *)'
SR_PRIV int sr_source_add(int fd, int events, int timeout,
^
dscope.c:2354:46: warning: passing argument 5 of 'sr_source_add' discards 'const' qualifier from pointer target type
get_timeout(devc), receive_data, sdi);
^
In file included from dsl.h:26:0,
from dscope.c:31:
../../libsigrok-internal.h:115:13: note: expected 'void *' but argument is of type 'const struct sr_dev_inst *'
SR_PRIV int sr_source_add(int fd, int events, int timeout,
^
dscope.c:2373:37: warning: passing argument 4 of 'libusb_fill_bulk_transfer' from incompatible pointer type
6 | LIBUSB_ENDPOINT_IN, trigger_pos, sizeof(struct ds_trigger_pos),
^
In file included from ../../libsigrok-internal.h:27:0,
from dsl.h:26,
from dscope.c:31:
/usr/include/libusb-1.0/libusb.h:1548:20: note: expected 'unsigned char *' but argument is of type 'struct ds_trigger_pos *'
static inline void libusb_fill_bulk_transfer(struct libusb_transfer *transfer,
^
dscope.c:2277:9: warning: unused variable 'header_transferred' [-Wunused-variable]
int header_transferred;
^
dscope.c:2276:31: warning: unused variable 'packet' [-Wunused-variable]
struct sr_datafeed_packet packet;
^
dscope.c:2275:9: warning: unused variable 'transferred' [-Wunused-variable]
int transferred;
^
dscope.c:2265:71: warning: unused parameter 'cb_data' [-Wunused-parameter]
static int dev_acquisition_start(const struct sr_dev_inst *sdi, void *cb_data)
^
dscope.c: At top level:
dscope.c:2462:2: warning: initialization from incompatible pointer type
.config_set = config_set,
^
dscope.c:2462:2: warning: (near initialization for 'DSCope_driver_info.config_set')
dscope.c:1757:27: warning: 'new_config' defined but not used [-Wunused-function]
static struct sr_config * new_config(int key, GVariant *data)
^
dscope.c: In function 'adjust_probes':
dscope.c:647:9: warning: ignoring return value of 'g_slist_delete_link', declared with attribute warn_unused_result [-Wunused-result]
g_slist_delete_link(sdi->channels, g_slist_last(sdi->channels));
^
dscope.c: In function 'config_set':
dscope.c:1560:12: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (ret == SR_OK)
^
dscope.c:1384:9: warning: 'num_probes' may be used uninitialized in this function [-Wmaybe-uninitialized]
set_probes(sdi, num_probes);
^
CCLD libsigrok4DSL_hw_dsl.la
CCLD libsigrok4DSLhardware.la
Making all in input
CC libsigrok4DSLinput_la-in_binary.lo
In file included from in_binary.c:26:0:
../libsigrok.h:154:77: warning: 'struct sr_dev_inst' declared inside parameter list
typedef int (*sr_receive_data_callback_t)(int fd, int revents, const struct sr_dev_inst *sdi);
^
../libsigrok.h:154:77: warning: its scope is only this definition or declaration, which is probably not what you want
CC libsigrok4DSLinput_la-in_vcd.lo
In file included from in_vcd.c:64:0:
../libsigrok.h:154:77: warning: 'struct sr_dev_inst' declared inside parameter list
typedef int (*sr_receive_data_callback_t)(int fd, int revents, const struct sr_dev_inst *sdi);
^
../libsigrok.h:154:77: warning: its scope is only this definition or declaration, which is probably not what you want
in_vcd.c: In function 'format_match':
in_vcd.c:302:5: warning: implicit declaration of function 'g_fopen' [-Wimplicit-function-declaration]
file = g_fopen(filename, "r");
^
in_vcd.c:302:10: warning: assignment makes pointer from integer without a cast
file = g_fopen(filename, "r");
^
in_vcd.c: In function 'loadfile':
in_vcd.c:567:15: warning: assignment makes pointer from integer without a cast
if ((file = g_fopen(filename, "r")) == NULL)
^
CC libsigrok4DSLinput_la-in_wav.lo
In file included from in_wav.c:25:0:
../libsigrok.h:154:77: warning: 'struct sr_dev_inst' declared inside parameter list
typedef int (*sr_receive_data_callback_t)(int fd, int revents, const struct sr_dev_inst *sdi);
^
../libsigrok.h:154:77: warning: its scope is only this definition or declaration, which is probably not what you want
CC libsigrok4DSLinput_la-input.lo
In file included from input.c:20:0:
../libsigrok.h:154:77: warning: 'struct sr_dev_inst' declared inside parameter list
typedef int (*sr_receive_data_callback_t)(int fd, int revents, const struct sr_dev_inst *sdi);
^
../libsigrok.h:154:77: warning: its scope is only this definition or declaration, which is probably not what you want
CCLD libsigrok4DSLinput.la
Making all in output
CC libsigrok4DSLoutput_la-output.lo
In file included from output.c:21:0:
../libsigrok.h:154:77: warning: 'struct sr_dev_inst' declared inside parameter list
typedef int (*sr_receive_data_callback_t)(int fd, int revents, const struct sr_dev_inst *sdi);
^
../libsigrok.h:154:77: warning: its scope is only this definition or declaration, which is probably not what you want
output.c: In function 'sr_output_new':
output.c:259:13: warning: assignment discards 'const' qualifier from pointer target type
op->module = omod;
^
output.c:260:10: warning: assignment discards 'const' qualifier from pointer target type
op->sdi = sdi;
^
CC libsigrok4DSLoutput_la-csv.lo
In file included from csv.c:25:0:
../libsigrok.h:154:77: warning: 'struct sr_dev_inst' declared inside parameter list
typedef int (*sr_receive_data_callback_t)(int fd, int revents, const struct sr_dev_inst *sdi);
^
../libsigrok.h:154:77: warning: its scope is only this definition or declaration, which is probably not what you want
csv.c: In function 'receive':
csv.c:239:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < dso->num_samples; i++) {
^
CC libsigrok4DSLoutput_la-vcd.lo
In file included from vcd.c:26:0:
../libsigrok.h:154:77: warning: 'struct sr_dev_inst' declared inside parameter list
typedef int (*sr_receive_data_callback_t)(int fd, int revents, const struct sr_dev_inst *sdi);
^
../libsigrok.h:154:77: warning: its scope is only this definition or declaration, which is probably not what you want
CC libsigrok4DSLoutput_la-gnuplot.lo
In file included from gnuplot.c:25:0:
../libsigrok.h:154:77: warning: 'struct sr_dev_inst' declared inside parameter list
typedef int (*sr_receive_data_callback_t)(int fd, int revents, const struct sr_dev_inst *sdi);
^
../libsigrok.h:154:77: warning: its scope is only this definition or declaration, which is probably not what you want
CC libsigrok4DSLoutput_la-srzip.lo
In file included from srzip.c:27:0:
../libsigrok.h:154:77: warning: 'struct sr_dev_inst' declared inside parameter list
typedef int (*sr_receive_data_callback_t)(int fd, int revents, const struct sr_dev_inst *sdi);
^
../libsigrok.h:154:77: warning: its scope is only this definition or declaration, which is probably not what you want
CCLD libsigrok4DSLoutput.la
Making all in tests
make[2]: Nothing to be done for 'all'.
CC backend.lo
In file included from backend.c:23:0:
libsigrok.h:154:77: warning: 'struct sr_dev_inst' declared inside parameter list
typedef int (*sr_receive_data_callback_t)(int fd, int revents, const struct sr_dev_inst *sdi);
^
libsigrok.h:154:77: warning: its scope is only this definition or declaration, which is probably not what you want
backend.c: In function 'sanity_check_all_output_modules':
backend.c:269:10: warning: assignment from incompatible pointer type
outputs = sr_output_list();
^
CC dsdevice.lo
In file included from dsdevice.c:23:0:
libsigrok.h:154:77: warning: 'struct sr_dev_inst' declared inside parameter list
typedef int (*sr_receive_data_callback_t)(int fd, int revents, const struct sr_dev_inst *sdi);
^
libsigrok.h:154:77: warning: its scope is only this definition or declaration, which is probably not what you want
CC session.lo
In file included from session.c:25:0:
libsigrok.h:154:77: warning: 'struct sr_dev_inst' declared inside parameter list
typedef int (*sr_receive_data_callback_t)(int fd, int revents, const struct sr_dev_inst *sdi);
^
libsigrok.h:154:77: warning: its scope is only this definition or declaration, which is probably not what you want
session.c: In function '_sr_session_source_add':
session.c:614:13: warning: assignment discards 'const' qualifier from pointer target type
s->cb_data = sdi;
^
CC session_file.lo
In file included from session_file.c:30:0:
libsigrok.h:154:77: warning: 'struct sr_dev_inst' declared inside parameter list
typedef int (*sr_receive_data_callback_t)(int fd, int revents, const struct sr_dev_inst *sdi);
^
libsigrok.h:154:77: warning: its scope is only this definition or declaration, which is probably not what you want
session_file.c: In function 'sr_session_load':
session_file.c:126:44: warning: unused variable 's' [-Wunused-variable]
char **sections, **keys, *metafile, *val, s[11];
^
session_file.c:124:29: warning: unused variable 'version' [-Wunused-variable]
int ret, probenum, devcnt, version, i, j;
^
session_file.c: In function 'sr_session_save':
session_file.c:259:24: warning: unused variable 'versrc' [-Wunused-variable]
struct zip_source *versrc, *metasrc, *logicsrc;
^
CC session_driver.lo
In file included from session_driver.c:26:0:
libsigrok.h:154:77: warning: 'struct sr_dev_inst' declared inside parameter list
typedef int (*sr_receive_data_callback_t)(int fd, int revents, const struct sr_dev_inst *sdi);
^
libsigrok.h:154:77: warning: its scope is only this definition or declaration, which is probably not what you want
session_driver.c: In function 'dev_acquisition_start':
session_driver.c:303:37: warning: passing argument 4 of 'sr_session_source_add' from incompatible pointer type
sr_session_source_add(-1, 0, 0, receive_data, sdi);
^
In file included from libsigrok.h:1071:0,
from session_driver.c:26:
proto.h:119:12: note: expected 'sr_receive_data_callback_t' but argument is of type 'int (*)(int, int, const struct sr_dev_inst *)'
SR_API int sr_session_source_add(int fd, int events, int timeout,
^
session_driver.c:265:9: warning: unused parameter 'cb_data' [-Wunused-parameter]
void *cb_data)
^
session_driver.c: At top level:
session_driver.c:319:5: warning: initialization from incompatible pointer type
.config_get = config_get,
^
session_driver.c:319:5: warning: (near initialization for 'session_driver.config_get')
session_driver.c:320:5: warning: initialization from incompatible pointer type
.config_set = config_set,
^
session_driver.c:320:5: warning: (near initialization for 'session_driver.config_set')
session_driver.c:321:5: warning: initialization from incompatible pointer type
.config_list = config_list,
^
session_driver.c:321:5: warning: (near initialization for 'session_driver.config_list')
CC hwdriver.lo
In file included from hwdriver.c:27:0:
libsigrok.h:154:77: warning: 'struct sr_dev_inst' declared inside parameter list
typedef int (*sr_receive_data_callback_t)(int fd, int revents, const struct sr_dev_inst *sdi);
^
libsigrok.h:154:77: warning: its scope is only this definition or declaration, which is probably not what you want
hwdriver.c: In function 'sr_status_get':
hwdriver.c:412:43: warning: passing argument 1 of 'sdi->driver->dev_status_get' discards 'const' qualifier from pointer target type
ret = sdi->driver->dev_status_get(sdi, status, begin, end);
^
hwdriver.c:412:43: note: expected 'struct sr_dev_inst *' but argument is of type 'const struct sr_dev_inst *'
CC filter.lo
In file included from filter.c:24:0:
libsigrok.h:154:77: warning: 'struct sr_dev_inst' declared inside parameter list
typedef int (*sr_receive_data_callback_t)(int fd, int revents, const struct sr_dev_inst *sdi);
^
libsigrok.h:154:77: warning: its scope is only this definition or declaration, which is probably not what you want
CC strutil.lo
In file included from strutil.c:24:0:
libsigrok.h:154:77: warning: 'struct sr_dev_inst' declared inside parameter list
typedef int (*sr_receive_data_callback_t)(int fd, int revents, const struct sr_dev_inst *sdi);
^
libsigrok.h:154:77: warning: its scope is only this definition or declaration, which is probably not what you want
CC log.lo
In file included from log.c:23:0:
libsigrok.h:154:77: warning: 'struct sr_dev_inst' declared inside parameter list
typedef int (*sr_receive_data_callback_t)(int fd, int revents, const struct sr_dev_inst *sdi);
^
libsigrok.h:154:77: warning: its scope is only this definition or declaration, which is probably not what you want
CC trigger.lo
In file included from trigger.c:11:0:
libsigrok.h:154:77: warning: 'struct sr_dev_inst' declared inside parameter list
typedef int (*sr_receive_data_callback_t)(int fd, int revents, const struct sr_dev_inst *sdi);
^
libsigrok.h:154:77: warning: its scope is only this definition or declaration, which is probably not what you want
In file included from trigger.c:9:0:
trigger.c: In function 'ds_trigger_set_pos':
trigger.c:178:21: warning: comparison is always true due to limited range of data type [-Wtype-limits]
assert(position >= 0);
^
trigger.c: In function 'ds_trigger_get_mask0':
trigger.c:233:46: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
mask += (trigger->trigger0[stage][i] == 'X' | trigger->trigger0[stage][i] == 'C');
^
trigger.c: In function 'ds_trigger_get_mask1':
trigger.c:247:46: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
mask += (trigger->trigger1[stage][i] == 'X' | trigger->trigger1[stage][i] == 'C');
^
trigger.c: In function 'ds_trigger_get_value0':
trigger.c:261:47: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
value += (trigger->trigger0[stage][i] == '1' | trigger->trigger0[stage][i] == 'R');
^
trigger.c: In function 'ds_trigger_get_value1':
trigger.c:275:47: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
value += (trigger->trigger1[stage][i] == '1' | trigger->trigger1[stage][i] == 'R');
^
trigger.c: In function 'ds_trigger_get_edge0':
trigger.c:289:46: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
edge += (trigger->trigger0[stage][i] == 'R' | trigger->trigger0[stage][i] == 'F' |
^
trigger.c:290:46: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
trigger->trigger0[stage][i] == 'C');
^
trigger.c: In function 'ds_trigger_get_edge1':
trigger.c:304:46: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
edge += (trigger->trigger1[stage][i] == 'R' | trigger->trigger1[stage][i] == 'F' |
^
trigger.c:305:46: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
trigger->trigger1[stage][i] == 'C');
^
CC version.lo
In file included from version.c:21:0:
libsigrok.h:154:77: warning: 'struct sr_dev_inst' declared inside parameter list
typedef int (*sr_receive_data_callback_t)(int fd, int revents, const struct sr_dev_inst *sdi);
^
libsigrok.h:154:77: warning: its scope is only this definition or declaration, which is probably not what you want
CC error.lo
In file included from error.c:21:0:
libsigrok.h:154:77: warning: 'struct sr_dev_inst' declared inside parameter list
typedef int (*sr_receive_data_callback_t)(int fd, int revents, const struct sr_dev_inst *sdi);
^
libsigrok.h:154:77: warning: its scope is only this definition or declaration, which is probably not what you want
CC std.lo
In file included from std.c:22:0:
libsigrok.h:154:77: warning: 'struct sr_dev_inst' declared inside parameter list
typedef int (*sr_receive_data_callback_t)(int fd, int revents, const struct sr_dev_inst *sdi);
^
libsigrok.h:154:77: warning: its scope is only this definition or declaration, which is probably not what you want
CCLD libsigrok4DSL.la

DSView-master/libsigrok4DSL$ make check
Making check in hardware
Making check in demo
make[2]: Nothing to be done for 'check'.
Making check in common
make[2]: Nothing to be done for 'check'.
Making check in DSL
make[2]: Nothing to be done for 'check'.
make[2]: Nothing to be done for 'check-am'.
Making check in input
make[1]: Nothing to be done for 'check'.
Making check in output
make[1]: Nothing to be done for 'check'.
Making check in tests
make check_main
CC check_main-lib.o
In file included from lib.c:24:0:
../libsigrok.h:154:77: warning: ‘struct sr_dev_inst’ declared inside parameter list
typedef int (*sr_receive_data_callback_t)(int fd, int revents, const struct sr_dev_inst *sdi);
^
../libsigrok.h:154:77: warning: its scope is only this definition or declaration, which is probably not what you want
lib.c: In function ‘srtest_set_samplerate’:
lib.c:82:8: error: too few arguments to function ‘driver->config_set’
ret = driver->config_set(SR_CONF_SAMPLERATE, gvar, sdi);
^
lib.c: In function ‘srtest_get_samplerate’:
lib.c:99:8: error: too few arguments to function ‘driver->config_get’
ret = driver->config_get(SR_CONF_SAMPLERATE, &gvar, sdi);
^
Makefile:619: recipe for target 'check_main-lib.o' failed
make[2]: *** [check_main-lib.o] Error 1
Makefile:940: recipe for target 'check-am' failed
make[1]: *** [check-am] Error 2
Makefile:655: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1

DSView-master/libsigrok4DSL$ sudo make install
Making install in hardware
Making install in demo
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
Making install in common
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
Making install in DSL
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
Making install in input
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
Making install in output
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
Making install in tests
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
/bin/mkdir -p '/usr/local/lib'
/bin/bash ./libtool --silent --mode=install /usr/bin/install -c libsigrok4DSL.la '/usr/local/lib'
/bin/mkdir -p '/usr/local/include/libsigrok4DSL'
/usr/bin/install -c -m 644 libsigrok.h proto.h version.h '/usr/local/include/libsigrok4DSL'
/bin/mkdir -p '/usr/local/lib/pkgconfig'
/usr/bin/install -c -m 644 libsigrok4DSL.pc '/usr/local/lib/pkgconfig'

DSView-master/DSView$ cmake .
-- Using Qt5
-- Boost version: 1.55.0
-- Found the following Boost libraries:
-- filesystem
-- system
-- thread
-- Found libusb-1.0:
-- - Includes: /usr/include
-- - Libraries: /usr/lib/x86_64-linux-gnu/libusb-1.0.so
-- Configuring done
-- Generating done
-- Build files have been written to: ~/BBB_p_Proj/DSView-master/DSView
[1]+ Done gedit INSTALL


thx. for your time

Re: Everything went wrong while I was Installing

PostPosted: Tue Aug 18, 2015 11:09 pm
by Andy
Please download the newest version and follow the "INSTALL" file to compile DSView.
And tell us which step you get error.

thanks.

Re: Everything went wrong while I was Installing

PostPosted: Thu Aug 20, 2015 12:22 am
by shu
uname -a
Linux Main 3.19.0-26-generic #28-Ubuntu SMP Tue Aug 11 14:16:32 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

DSLogic-v0.4/DSLogic-gui$ cmake .
-- Using Qt5
-- Boost version: 1.55.0
-- Found the following Boost libraries:
-- filesystem
-- system
-- thread
-- Found libusb-1.0:
-- - Includes: /usr/local/include
-- - Libraries: /usr/local/lib/libusb-1.0.so
-- Configuring done
-- Generating done
-- Build files have been written to: ~/BBB_p_Proj/DSLogic-v0.4/DSLogic-gui

DSLogic-v0.4/DSLogic-gui$ make
[ 0%] Building CXX object CMakeFiles/DSLogic.dir/main.cpp.o
~/BBB_p_Proj/DSLogic-v0.4/DSLogic-gui/main.cpp:33:30: fatal error: QtGui/QApplication: No such file or directory
#include <QtGui/QApplication>
^
compilation terminated.
CMakeFiles/DSLogic.dir/build.make:285: recipe for target 'CMakeFiles/DSLogic.dir/main.cpp.o' failed
make[2]: *** [CMakeFiles/DSLogic.dir/main.cpp.o] Error 1
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/DSLogic.dir/all' failed
make[1]: *** [CMakeFiles/DSLogic.dir/all] Error 2
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2


DSLogic-v0.4/DSLogic-gui$ sudo make install
[ 0%] Building CXX object CMakeFiles/DSLogic.dir/main.cpp.o
~/BBB_p_Proj/DSLogic-v0.4/DSLogic-gui/main.cpp:33:30: fatal error: QtGui/QApplication: No such file or directory
#include <QtGui/QApplication>
^
compilation terminated.
CMakeFiles/DSLogic.dir/build.make:285: recipe for target 'CMakeFiles/DSLogic.dir/main.cpp.o' failed
make[2]: *** [CMakeFiles/DSLogic.dir/main.cpp.o] Error 1
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/DSLogic.dir/all' failed
make[1]: *** [CMakeFiles/DSLogic.dir/all] Error 2
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2

DSLogic-v0.4/libusbx-1.0.18$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
~/BBB_p_Proj/DSLogic-v0.4/libusbx-1.0.18/missing: Unknown `--is-lightweight' option
Try `~/BBB_p_Proj/DSLogic-v0.4/libusbx-1.0.18/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for windres... no
checking for inline... inline
checking operating system... Linux
checking for library containing clock_gettime... none required
checking libudev.h usability... yes
checking libudev.h presence... yes
checking for libudev.h... yes
checking for udev_new in -ludev... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/timerfd.h usability... yes
checking sys/timerfd.h presence... yes
checking for sys/timerfd.h... yes
checking whether TFD_NONBLOCK is declared... yes
checking whether to use timerfd for timing... yes
checking for struct timespec... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for syslog... yes
checking for sigaction... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for gettimeofday... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating libusb-1.0.pc
config.status: creating Makefile
config.status: creating libusb/Makefile
config.status: creating examples/Makefile
config.status: creating tests/Makefile
config.status: creating doc/Makefile
config.status: creating doc/doxygen.cfg
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

DSLogic-v0.4/libusbx-1.0.18$ make
make all-recursive
make[1]: Entering directory '~/BBB_p_Proj/DSLogic-v0.4/libusbx-1.0.18'
Making all in libusb
make[2]: Entering directory '~/BBB_p_Proj/DSLogic-v0.4/libusbx-1.0.18/libusb'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '~/BBB_p_Proj/DSLogic-v0.4/libusbx-1.0.18/libusb'
Making all in doc
make[2]: Entering directory '~/BBB_p_Proj/DSLogic-v0.4/libusbx-1.0.18/doc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '~/BBB_p_Proj/DSLogic-v0.4/libusbx-1.0.18/doc'
make[2]: Entering directory '~/BBB_p_Proj/DSLogic-v0.4/libusbx-1.0.18'
make[2]: Leaving directory '~/BBB_p_Proj/DSLogic-v0.4/libusbx-1.0.18'
make[1]: Leaving directory '~/BBB_p_Proj/DSLogic-v0.4/libusbx-1.0.18'

DSLogic-v0.4/libusbx-1.0.18$ sudo make install
Making install in libusb
make[1]: Entering directory '~/BBB_p_Proj/DSLogic-v0.4/libusbx-1.0.18/libusb'
make[2]: Entering directory '~/BBB_p_Proj/DSLogic-v0.4/libusbx-1.0.18/libusb'
/bin/mkdir -p '/usr/local/lib'
/bin/bash ../libtool --mode=install /usr/bin/install -c libusb-1.0.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libusb-1.0.so.0.1.0 /usr/local/lib/libusb-1.0.so.0.1.0
libtool: install: (cd /usr/local/lib && { ln -s -f libusb-1.0.so.0.1.0 libusb-1.0.so.0 || { rm -f libusb-1.0.so.0 && ln -s libusb-1.0.so.0.1.0 libusb-1.0.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libusb-1.0.so.0.1.0 libusb-1.0.so || { rm -f libusb-1.0.so && ln -s libusb-1.0.so.0.1.0 libusb-1.0.so; }; })
libtool: install: /usr/bin/install -c .libs/libusb-1.0.lai /usr/local/lib/libusb-1.0.la
libtool: install: /usr/bin/install -c .libs/libusb-1.0.a /usr/local/lib/libusb-1.0.a
libtool: install: chmod 644 /usr/local/lib/libusb-1.0.a
libtool: install: ranlib /usr/local/lib/libusb-1.0.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/mkdir -p '/usr/local/include/libusb-1.0'
/usr/bin/install -c -m 644 libusb.h '/usr/local/include/libusb-1.0'
make[2]: Leaving directory '~/BBB_p_Proj/DSLogic-v0.4/libusbx-1.0.18/libusb'
make[1]: Leaving directory '~/BBB_p_Proj/DSLogic-v0.4/libusbx-1.0.18/libusb'
Making install in doc
make[1]: Entering directory '~/BBB_p_Proj/DSLogic-v0.4/libusbx-1.0.18/doc'
make[2]: Entering directory '~/BBB_p_Proj/DSLogic-v0.4/libusbx-1.0.18/doc'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '~/BBB_p_Proj/DSLogic-v0.4/libusbx-1.0.18/doc'
make[1]: Leaving directory '~/BBB_p_Proj/DSLogic-v0.4/libusbx-1.0.18/doc'
make[1]: Entering directory '~/BBB_p_Proj/DSLogic-v0.4/libusbx-1.0.18'
make[2]: Entering directory '~/BBB_p_Proj/DSLogic-v0.4/libusbx-1.0.18'
make[2]: Nothing to be done for 'install-exec-am'.
/bin/mkdir -p '/usr/local/lib/pkgconfig'
/usr/bin/install -c -m 644 libusb-1.0.pc '/usr/local/lib/pkgconfig'
make[2]: Leaving directory '~/BBB_p_Proj/DSLogic-v0.4/libusbx-1.0.18'
make[1]: Leaving directory '~/BBB_p_Proj/DSLogic-v0.4/libusbx-1.0.18'

DSLogic-v0.4/libsigrok4DSLogic$ sudo make install
Making install in hardware
Making install in demo
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
Making install in common
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
Making install in DSLogic
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
Making install in input
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
Making install in output
Making install in text
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
Making install in tests
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
/bin/mkdir -p '/usr/local/lib'
/bin/bash ./libtool --silent --mode=install /usr/bin/install -c libsigrok4DSLogic.la '/usr/local/lib'
/bin/mkdir -p '/usr/local/include/libsigrok4DSLogic'
/usr/bin/install -c -m 644 libsigrok.h proto.h version.h '/usr/local/include/libsigrok4DSLogic'
/bin/mkdir -p '/usr/local/lib/pkgconfig'
/usr/bin/install -c -m 644 libsigrok4DSLogic.pc '/usr/local/lib/pkgconfig'

DSLogic-v0.4/libsigrokdecode$ make
make all-am
CC libsigrokdecode_la-srd.lo
CC libsigrokdecode_la-session.lo
CC libsigrokdecode_la-decoder.lo
CC libsigrokdecode_la-instance.lo
CC libsigrokdecode_la-log.lo
CC libsigrokdecode_la-util.lo
CC libsigrokdecode_la-exception.lo
CC libsigrokdecode_la-module_sigrokdecode.lo
CC libsigrokdecode_la-type_decoder.lo
CC libsigrokdecode_la-type_logic.lo
CC libsigrokdecode_la-error.lo
CC libsigrokdecode_la-version.lo
CCLD libsigrokdecode.la

DSLogic-v0.4/libsigrokdecode$ sudo make install

/bin/mkdir -p '/usr/local/lib'
/bin/bash ./libtool --silent --mode=install /usr/bin/install -c libsigrokdecode.la '/usr/local/lib'
/bin/mkdir -p '/usr/local/include/libsigrokdecode'
/usr/bin/install -c -m 644 libsigrokdecode.h version.h '/usr/local/include/libsigrokdecode'
/bin/mkdir -p '/usr/local/lib/pkgconfig'
/usr/bin/install -c -m 644 libsigrokdecode.pc '/usr/local/lib/pkgconfig'
make install-data-hook
/bin/mkdir -p /usr/local/share/libsigrokdecode/decoders
python3.4 ./tools/install-decoders \
-i ./decoders -o /usr/local/share/libsigrokdecode/decoders
Installing 56 protocol decoders:
onewire_link i2s jtag pan1321 timing z80 eeprom24xx pwm tca6408a mlx90614
nrf24l01 rfm12 mdio mrf24j40 xfp arm_itm usb_packet rgb_led_spi stepper_motor
rtc8564 midi tlc5620 spi edid i2c sdcard_spi modbus adns5020 lpc sdcard_sd
usb_signalling ir_nec ds1307 ir_rc5 maxim_ds28ea00 avr_isp am230x swd parallel
i2cdemux lm75 guess_bitrate mxc6225xu uart jitter i2cfilter spdif
onewire_network dcf77 can arm_etmv3 nunchuk qi arm_tpiu spiflash jtag_stm32

Re: Everything went wrong while I was Installing

PostPosted: Fri Aug 28, 2015 2:14 am
by Andy
The newest version is v0.9.4 on github
https://github.com/DreamSourceLab/DSView

Thanks.

Re: Everything went wrong while I was Installing

PostPosted: Sat Sep 12, 2015 10:58 pm
by shu
DSView-master$ ./all.sh
Reading package lists... Done
Building dependency tree
Reading state information... Done
autoconf is already the newest version.
automake is already the newest version.
check is already the newest version.
default-jdk is already the newest version.
doxygen is already the newest version.
g++ is already the newest version.
gcc is already the newest version.
git-core is already the newest version.
libftdi-dev is already the newest version.
libglibmm-2.4-dev is already the newest version.
libtool is already the newest version.
libusb-1.0-0-dev is already the newest version.
make is already the newest version.
pkg-config is already the newest version.
python-dev is already the newest version.
python-gi-dev is already the newest version.
python-numpy is already the newest version.
python-setuptools is already the newest version.
swig is already the newest version.
autoconf-archive is already the newest version.
libzip-dev is already the newest version.
libglib2.0-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 177 not upgraded.
fatal: destination path 'libsigrok' already exists and is not an empty directory.
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `autostuff'.
libtoolize: copying file `autostuff/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~/obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory `.'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether ln -s works... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.22... yes
checking compiler flag for C99... -std=c99
checking compiler flag for visibility... -fvisibility=hidden
checking which C compiler warning flags to use... -Wall -Wextra -Wmissing-prototypes
checking whether byte ordering is bigendian... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/timerfd.h usability... yes
checking sys/timerfd.h presence... yes
checking for sys/timerfd.h... yes
checking for library containing pow... -lm
checking for RPC support... yes
checking which C++ compiler warning flags to use... -Wall -Wextra
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=c++11... yes
checking for doxygen... yes
checking for a Python interpreter with version >= 2.7... python
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.7/dist-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.7/dist-packages
checking for stoi and stod... yes
checking python module: setuptools... yes
checking for swig... swig
checking for javac... yes
checking for gcj... gcj -C
checking if gcj -C works... yes
checking jni.h usability... yes
checking jni.h presence... yes
checking for jni.h... yes
checking for LIBSIGROK... yes
checking for TESTS... yes
checking for LIBSIGROKCXX... yes
checking for PYSIGROK... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libsigrok.pc
config.status: creating bindings/cxx/libsigrokcxx.pc
config.status: creating config.h
config.status: creating include/libsigrok/version.h
config.status: include/libsigrok/version.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

libsigrok configuration summary:
- Package version................. 0.4.0-git-6879961
- Library ABI version............. 2:0:0
- Prefix.......................... /usr/local
- Building on..................... x86_64-unknown-linux-gnu
- Building for.................... x86_64-unknown-linux-gnu
- Additional C compiler flags..... -std=c99 -fvisibility=hidden
- C compiler warnings............. -Wall -Wextra -Wmissing-prototypes
- C++ compiler warnings........... -Wall -Wextra

Detected libraries (required):
- glib-2.0 >= 2.32.0.............. 2.44.1
- libzip >= 0.10.................. 0.11.2

Detected libraries (optional):
- libserialport >= 0.1.1.......... 0.1.1
- libftdi1 >= 1.0................. no
- libftdi >= 0.16................. 0.20
- libusb-1.0 >= 1.0.16............ 1.0.18
- librevisa >= 0.0.20130412....... 0.0.20130412
- libgpib......................... 2:0:2
- check >= 0.9.4.................. 0.9.10
- glibmm-2.4 >= 2.32.0............ 2.42.0
- python >= 2.7................... 2.7
- pygobject-3.0 >= 3.0.0.......... 3.14.0

Enabled hardware drivers:
- agilent-dmm..................... yes
- appa-55ii....................... yes
- asix-sigma...................... yes
- atten-pps3xxx................... yes
- baylibre-acme................... yes
- beaglelogic..................... yes
- brymen-bm86x.................... yes
- brymen-dmm...................... yes
- cem-dt-885x..................... yes
- center-3xx...................... yes
- chronovu-la..................... yes
- colead-slm...................... yes
- conrad-digi-35-cpu.............. yes
- deree-de5000.................... yes
- demo............................ yes
- fluke-dmm....................... yes
- fx2lafw......................... yes
- gmc-mh-1x-2x.................... yes
- hameg-hmo....................... yes
- hantek-dso...................... yes
- ikalogic-scanalogic2............ yes
- ikalogic-scanaplus.............. yes
- kecheng-kc-330b................. yes
- lascar-el-usb................... yes
- manson-hcs-3xxx................. yes
- maynuo-m97...................... yes
- mic-985xx....................... yes
- motech-lps-30x.................. yes
- norma-dmm....................... yes
- openbench-logic-sniffer......... yes
- pipistrello-ols................. yes
- rigol-ds........................ yes
- saleae-logic16.................. yes
- scpi-pps........................ yes
- serial-dmm...................... yes
- sysclk-lwla..................... yes
- teleinfo........................ yes
- testo........................... yes
- tondaj-sl-814................... yes
- uni-t-dmm....................... yes
- uni-t-ut32x..................... yes
- victor-dmm...................... yes
- yokogawa-dlm.................... yes
- zeroplus-logic-cube............. yes

Enabled SCPI backends:
- TCP............................. yes
- RPC............................. yes
- serial.......................... yes
- VISA............................ yes
- GPIB............................ yes
- USBTMC.......................... yes

Enabled language bindings:
- C++............................. yes
- Python.......................... yes
- Java............................ yes

make all-am
CC src/backend.lo
CC src/device.lo
CC src/session.lo
CC src/session_file.lo
CC src/session_driver.lo
CC src/drivers.lo
CC src/hwdriver.lo
CC src/trigger.lo
CC src/soft-trigger.lo
CC src/analog.lo
CC src/fallback.lo
CC src/strutil.lo
CC src/log.lo
CC src/std.lo
CC src/input/input.lo
CC src/input/binary.lo
CC src/input/chronovu_la8.lo
CC src/input/csv.lo
CC src/input/vcd.lo
CC src/input/wav.lo
CC src/output/output.lo
CC src/output/analog.lo
CC src/output/ascii.lo
CC src/output/bits.lo
CC src/output/binary.lo
CC src/output/csv.lo
CC src/output/chronovu_la8.lo
CC src/output/wav.lo
CC src/output/gnuplot.lo
CC src/output/hex.lo
CC src/output/ols.lo
CC src/output/srzip.lo
CC src/output/vcd.lo
CC src/transform/transform.lo
CC src/transform/nop.lo
CC src/transform/scale.lo
CC src/transform/invert.lo
CC src/scpi/scpi.lo
CC src/scpi/helpers.lo
CC src/scpi/scpi_tcp.lo
CC src/scpi/scpi_vxi.lo
CC src/serial.lo
CC src/scpi/scpi_serial.lo
CC src/ezusb.lo
CC src/usb.lo
CC src/scpi/scpi_usbtmc_libusb.lo
CC src/scpi/scpi_visa.lo
CC src/scpi/scpi_libgpib.lo
CC src/modbus/modbus.lo
CC src/modbus/modbus_serial_rtu.lo
CC src/dmm/es519xx.lo
CC src/dmm/fs9721.lo
CC src/dmm/fs9922.lo
CC src/dmm/m2110.lo
CC src/dmm/metex14.lo
CC src/dmm/rs9lcd.lo
CC src/dmm/bm25x.lo
CC src/dmm/ut71x.lo
CC src/dmm/ut372.lo
CC src/dmm/vc870.lo
CC src/lcr/es51919.lo
CC src/hardware/agilent-dmm/api.lo
CC src/hardware/agilent-dmm/sched.lo
CC src/hardware/appa-55ii/protocol.lo
CC src/hardware/appa-55ii/api.lo
CC src/hardware/asix-sigma/asix-sigma.lo
CC src/hardware/atten-pps3xxx/protocol.lo
CC src/hardware/atten-pps3xxx/api.lo
CC src/hardware/baylibre-acme/protocol.lo
CC src/hardware/baylibre-acme/api.lo
CC src/hardware/baylibre-acme/gpio.lo
CC src/hardware/beaglelogic/protocol.lo
CC src/hardware/beaglelogic/api.lo
CC src/hardware/brymen-bm86x/protocol.lo
CC src/hardware/brymen-bm86x/api.lo
CC src/hardware/brymen-dmm/parser.lo
CC src/hardware/brymen-dmm/protocol.lo
CC src/hardware/brymen-dmm/api.lo
CC src/hardware/cem-dt-885x/protocol.lo
CC src/hardware/cem-dt-885x/api.lo
CC src/hardware/center-3xx/protocol.lo
CC src/hardware/center-3xx/api.lo
CC src/hardware/chronovu-la/protocol.lo
CC src/hardware/chronovu-la/api.lo
CC src/hardware/colead-slm/protocol.lo
CC src/hardware/colead-slm/api.lo
CC src/hardware/conrad-digi-35-cpu/protocol.lo
CC src/hardware/conrad-digi-35-cpu/api.lo
CC src/hardware/demo/demo.lo
CC src/hardware/deree-de5000/api.lo
CC src/hardware/fluke-dmm/fluke.lo
CC src/hardware/fluke-dmm/api.lo
CC src/hardware/fx2lafw/protocol.lo
CC src/hardware/fx2lafw/api.lo
CC src/hardware/fx2lafw/dslogic.lo
CC src/hardware/gmc-mh-1x-2x/protocol.lo
CC src/hardware/gmc-mh-1x-2x/api.lo
CC src/hardware/hameg-hmo/protocol.lo
CC src/hardware/hameg-hmo/api.lo
CC src/hardware/hantek-dso/dso.lo
CC src/hardware/hantek-dso/api.lo
CC src/hardware/ikalogic-scanalogic2/protocol.lo
CC src/hardware/ikalogic-scanalogic2/api.lo
CC src/hardware/ikalogic-scanaplus/protocol.lo
CC src/hardware/ikalogic-scanaplus/api.lo
CC src/hardware/kecheng-kc-330b/protocol.lo
CC src/hardware/kecheng-kc-330b/api.lo
CC src/hardware/lascar-el-usb/protocol.lo
CC src/hardware/lascar-el-usb/api.lo
CC src/hardware/manson-hcs-3xxx/protocol.lo
CC src/hardware/manson-hcs-3xxx/api.lo
CC src/hardware/maynuo-m97/protocol.lo
CC src/hardware/maynuo-m97/api.lo
CC src/hardware/mic-985xx/protocol.lo
CC src/hardware/mic-985xx/api.lo
CC src/hardware/motech-lps-30x/protocol.lo
CC src/hardware/motech-lps-30x/api.lo
CC src/hardware/norma-dmm/protocol.lo
CC src/hardware/norma-dmm/api.lo
CC src/hardware/openbench-logic-sniffer/protocol.lo
CC src/hardware/openbench-logic-sniffer/api.lo
CC src/hardware/pipistrello-ols/protocol.lo
CC src/hardware/pipistrello-ols/api.lo
CC src/hardware/rigol-ds/protocol.lo
CC src/hardware/rigol-ds/api.lo
CC src/hardware/saleae-logic16/protocol.lo
CC src/hardware/saleae-logic16/api.lo
CC src/hardware/scpi-pps/protocol.lo
CC src/hardware/scpi-pps/profiles.lo
CC src/hardware/scpi-pps/api.lo
CC src/hardware/serial-dmm/protocol.lo
CC src/hardware/serial-dmm/api.lo
CC src/hardware/sysclk-lwla/lwla.lo
CC src/hardware/sysclk-lwla/protocol.lo
CC src/hardware/sysclk-lwla/api.lo
CC src/hardware/teleinfo/protocol.lo
CC src/hardware/teleinfo/api.lo
CC src/hardware/testo/protocol.lo
CC src/hardware/testo/api.lo
CC src/hardware/tondaj-sl-814/protocol.lo
CC src/hardware/tondaj-sl-814/api.lo
CC src/hardware/uni-t-dmm/protocol.lo
CC src/hardware/uni-t-dmm/api.lo
CC src/hardware/uni-t-ut32x/protocol.lo
CC src/hardware/uni-t-ut32x/api.lo
CC src/hardware/victor-dmm/protocol.lo
CC src/hardware/victor-dmm/api.lo
CC src/hardware/yokogawa-dlm/protocol.lo
CC src/hardware/yokogawa-dlm/protocol_wrappers.lo
CC src/hardware/yokogawa-dlm/api.lo
CC src/hardware/zeroplus-logic-cube/analyzer.lo
CC src/hardware/zeroplus-logic-cube/gl_usb.lo
CC src/hardware/zeroplus-logic-cube/protocol.lo
CC src/hardware/zeroplus-logic-cube/api.lo
CCLD libsigrok.la
copying selected object files to avoid basename conflicts...
CXX bindings/cxx/classes.lo
CXXLD bindings/cxx/libsigrokcxx.la
GEN bindings/python/timestamp
/usr/local/lib/python2.7/dist-packages/setuptools-18.1-py2.7.egg/setuptools/dist.py:294: UserWarning: The version specified (u'2.44.1\n2.42.0\n3.14.0') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1761:0,
from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
from sigrok/core/classes_wrap.cpp:3183:
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by " \
^
GEN bindings/java/libsigrok_java_core_classes.so
cd bindings/python && /usr/bin/python "~/BBB_p_Proj/DSView-master/libsigrok/bindings/python/setup.py" --quiet install --root "/" --prefix "/usr/local" --exec-prefix "/usr/local"
/usr/local/lib/python2.7/dist-packages/setuptools-18.1-py2.7.egg/setuptools/dist.py:294: UserWarning: The version specified (u'2.44.1\n2.42.0\n3.14.0') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
Skipping installation of /usr/local/lib/python2.7/dist-packages/sigrok/__init__.py (namespace package)
/usr/bin/install -c -d /usr/local/lib/jni
/usr/bin/install -c bindings/java/libsigrok_java_core_classes.so -t /usr/local/lib/jni
/usr/bin/install -c -d /usr/local/share/java
/usr/bin/install -c bindings/java/sigrok-core.jar -t /usr/local/share/java
/bin/mkdir -p '/usr/local/lib'
/bin/bash ./libtool --silent --mode=install /usr/bin/install -c libsigrok.la bindings/cxx/libsigrokcxx.la '/usr/local/lib'
libtool: install: warning: relinking `bindings/cxx/libsigrokcxx.la'
/bin/mkdir -p '/usr/local/include/libsigrokcxx'
/usr/bin/install -c -m 644 bindings/cxx/include/libsigrokcxx/libsigrokcxx.hpp '/usr/local/include/libsigrokcxx'
/bin/mkdir -p '/usr/local/include/libsigrok'
/usr/bin/install -c -m 644 include/libsigrok/libsigrok.h include/libsigrok/proto.h '/usr/local/include/libsigrok'
/bin/mkdir -p '/usr/local/include/libsigrokcxx'
/usr/bin/install -c -m 644 bindings/cxx/include/libsigrokcxx/enums.hpp '/usr/local/include/libsigrokcxx'
/bin/mkdir -p '/usr/local/include/libsigrok'
/usr/bin/install -c -m 644 include/libsigrok/version.h '/usr/local/include/libsigrok'
/bin/mkdir -p '/usr/local/lib/pkgconfig'
/usr/bin/install -c -m 644 libsigrok.pc bindings/cxx/libsigrokcxx.pc '/usr/local/lib/pkgconfig'
Reading package lists... Done
Building dependency tree
Reading state information... Done
autoconf is already the newest version.
automake is already the newest version.
gcc is already the newest version.
git-core is already the newest version.
libtool is already the newest version.
make is already the newest version.
pkg-config is already the newest version.
python3-dev is already the newest version.
libglib2.0-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 177 not upgraded.
fatal: destination path 'libsigrokdecode' already exists and is not an empty directory.
Generating build system...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.22... yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.24.0... yes (version 2.44.1)
checking for python3... yes
checking for python3.4... python3.4
checking for library containing pow... -lm
checking for check... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating version.h
config.status: creating libsigrokdecode.pc
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

libsigrokdecode configuration summary:

- Package version (major.minor.micro): 0.4.0-git
- Library version (current:revision:age): 2:0:0
- Prefix: /usr/local
- Building on: x86_64-unknown-linux-gnu
- Building for: x86_64-unknown-linux-gnu

Detected libraries:

- (REQUIRED) python >= 3.2: yes (3.4)
- (REQUIRED) glib-2.0 >= 2.24.0: yes (2.44.1)
- (OPTIONAL) check >= 0.9.4: yes (0.9.10)

Enabled features:

- (OPTIONAL) Library unit test framework support: yes

make all-am
CC libsigrokdecode_la-srd.lo
CC libsigrokdecode_la-session.lo
CC libsigrokdecode_la-decoder.lo
CC libsigrokdecode_la-instance.lo
CC libsigrokdecode_la-log.lo
CC libsigrokdecode_la-util.lo
CC libsigrokdecode_la-exception.lo
CC libsigrokdecode_la-module_sigrokdecode.lo
CC libsigrokdecode_la-type_decoder.lo
CC libsigrokdecode_la-type_logic.lo
CC libsigrokdecode_la-error.lo
CC libsigrokdecode_la-version.lo
CCLD libsigrokdecode.la
/bin/mkdir -p '/usr/local/lib'
/bin/bash ./libtool --silent --mode=install /usr/bin/install -c libsigrokdecode.la '/usr/local/lib'
/bin/mkdir -p '/usr/local/include/libsigrokdecode'
/usr/bin/install -c -m 644 libsigrokdecode.h version.h '/usr/local/include/libsigrokdecode'
/bin/mkdir -p '/usr/local/lib/pkgconfig'
/usr/bin/install -c -m 644 libsigrokdecode.pc '/usr/local/lib/pkgconfig'
make install-data-hook
/bin/mkdir -p /usr/local/share/libsigrokdecode/decoders
python3.4 ./tools/install-decoders \
-i ./decoders -o /usr/local/share/libsigrokdecode/decoders
Installing 56 protocol decoders:
onewire_link i2s jtag pan1321 timing z80 eeprom24xx pwm tca6408a mlx90614
nrf24l01 rfm12 mdio mrf24j40 xfp arm_itm usb_packet rgb_led_spi stepper_motor
rtc8564 midi tlc5620 spi edid i2c sdcard_spi modbus adns5020 lpc sdcard_sd
usb_signalling ir_nec ds1307 ir_rc5 maxim_ds28ea00 avr_isp am230x swd parallel
i2cdemux lm75 guess_bitrate mxc6225xu uart jitter i2cfilter spdif
onewire_network dcf77 can arm_etmv3 nunchuk qi arm_tpiu spiflash jtag_stm32
Reading package lists... Done
Building dependency tree
Reading state information... Done
autoconf is already the newest version.
automake is already the newest version.
gcc is already the newest version.
git-core is already the newest version.
libtool is already the newest version.
make is already the newest version.
pkg-config is already the newest version.
libglib2.0-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 177 not upgraded.
fatal: destination path 'sigrok-cli' already exists and is not an empty directory.
Generating build system...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.22... yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.28.0... yes (version 2.44.1)
checking for libsigrok... yes
checking for libsigrokdecode... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating contrib/sigrok-cli_cross.nsi
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

sigrok-cli configuration summary:

- Package version: 0.6.0-git
- Prefix: /usr/local
- Building on: x86_64-unknown-linux-gnu
- Building for: x86_64-unknown-linux-gnu

Detected libraries:

- (REQUIRED) glib-2.0 >= 2.28.0: yes (2.44.1)
- (REQUIRED) libsigrok >= 0.4.0: yes (0.4.0-git-6879961)
- (REQUIRED) libsigrokdecode >= 0.4.0: yes (0.4.0-git)

make all-am
CC main.o
CC show.o
CC device.o
CC session.o
session.c: In function ‘datafeed_in’:
session.c:273:8: error: too many arguments to function ‘srd_session_send’
if (srd_session_send(srd_sess, rcvd_samples_logic, end_sample,
^
In file included from sigrok-cli.h:26:0,
from session.c:24:
/usr/local/include/libsigrokdecode/libsigrokdecode.h:278:13: note: declared here
SRD_API int srd_session_send(struct srd_session *sess,
^
Makefile:522: recipe for target 'session.o' failed
make[1]: *** [session.o] Error 1
Makefile:380: recipe for target 'all' failed
make: *** [all] Error 2
CC session.o
session.c: In function ‘datafeed_in’:
session.c:273:8: error: too many arguments to function ‘srd_session_send’
if (srd_session_send(srd_sess, rcvd_samples_logic, end_sample,
^
In file included from sigrok-cli.h:26:0,
from session.c:24:
/usr/local/include/libsigrokdecode/libsigrokdecode.h:278:13: note: declared here
SRD_API int srd_session_send(struct srd_session *sess,
^
Makefile:522: recipe for target 'session.o' failed
make: *** [session.o] Error 1
Reading package lists... Done
Building dependency tree
Reading state information... Done
cmake is already the newest version.
g++ is already the newest version.
git-core is already the newest version.
libboost-filesystem-dev is already the newest version.
libboost-system-dev is already the newest version.
libboost-test-dev is already the newest version.
libboost-thread-dev is already the newest version.
libtool is already the newest version.
make is already the newest version.
pkg-config is already the newest version.
libglib2.0-dev is already the newest version.
libqt4-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 177 not upgraded.
fatal: destination path 'pulseview' already exists and is not an empty directory.
-- Using Qt5
-- Boost version: 1.55.0
-- Found the following Boost libraries:
-- filesystem
-- system
-- thread
-- PulseView version: 0.3.0-pre-g8fe262d
-- Configuring done
-- Generating done
-- Build files have been written to: ~/BBB_p_Proj/pulseview
Scanning dependencies of target pulseview
[ 0%] Building CXX object CMakeFiles/pulseview.dir/main.cpp.o
[ 0%] Building CXX object CMakeFiles/pulseview.dir/pv/devicemanager.cpp.o
[ 0%] Building CXX object CMakeFiles/pulseview.dir/pv/mainwindow.cpp.o
[ 0%] Building CXX object CMakeFiles/pulseview.dir/pv/session.cpp.o
[ 0%] Building CXX object CMakeFiles/pulseview.dir/pv/storesession.cpp.o
[ 0%] Building CXX object CMakeFiles/pulseview.dir/pv/binding/inputoutput.cpp.o
[ 0%] Building CXX object CMakeFiles/pulseview.dir/pv/binding/device.cpp.o
[ 0%] Building CXX object CMakeFiles/pulseview.dir/pv/data/logicsegment.cpp.o
[ 0%] Building CXX object CMakeFiles/pulseview.dir/pv/devices/device.cpp.o
[ 0%] Building CXX object CMakeFiles/pulseview.dir/pv/devices/hardwaredevice.cpp.o
[ 0%] Building CXX object CMakeFiles/pulseview.dir/pv/devices/inputfile.cpp.o
[ 0%] Building CXX object CMakeFiles/pulseview.dir/pv/devices/sessionfile.cpp.o
[ 0%] Building CXX object CMakeFiles/pulseview.dir/pv/dialogs/about.cpp.o
[ 0%] Building CXX object CMakeFiles/pulseview.dir/pv/dialogs/connect.cpp.o
[ 0%] Building CXX object CMakeFiles/pulseview.dir/pv/popups/deviceoptions.cpp.o
[ 0%] Building CXX object CMakeFiles/pulseview.dir/pv/popups/channels.cpp.o
[ 0%] Building CXX object CMakeFiles/pulseview.dir/pv/toolbars/mainbar.cpp.o
[ 0%] Building CXX object CMakeFiles/pulseview.dir/pv/view/analogsignal.cpp.o
[ 0%] Building CXX object CMakeFiles/pulseview.dir/pv/view/flag.cpp.o
[ 0%] Building CXX object CMakeFiles/pulseview.dir/pv/view/logicsignal.cpp.o
[ 0%] Building CXX object CMakeFiles/pulseview.dir/pv/view/signal.cpp.o
[ 0%] Building CXX object CMakeFiles/pulseview.dir/pv/view/view.cpp.o
[ 0%] Building CXX object CMakeFiles/pulseview.dir/pv/widgets/devicetoolbutton.cpp.o
[ 0%] Building CXX object CMakeFiles/pulseview.dir/pv/widgets/exportmenu.cpp.o
[ 0%] Building CXX object CMakeFiles/pulseview.dir/pv/widgets/importmenu.cpp.o
[ 0%] Building CXX object CMakeFiles/pulseview.dir/pv/widgets/sweeptimingwidget.cpp.o
[ 0%] Building CXX object CMakeFiles/pulseview.dir/pv/binding/decoder.cpp.o
[ 0%] Building CXX object CMakeFiles/pulseview.dir/pv/data/decoderstack.cpp.o
~/BBB_p_Proj/pulseview/pv/data/decoderstack.cpp: In member function ‘void pv::data::DecoderStack::decode_data(int64_t, unsigned int, srd_session*)’:
~/BBB_p_Proj/pulseview/pv/data/decoderstack.cpp:316:43: error: too many arguments to function ‘int srd_session_send(srd_session*, uint64_t, uint64_t, const uint8_t*, uint64_t)’
(chunk_end - i) * unit_size, unit_size) != SRD_OK) {
^
In file included from ~/BBB_p_Proj/pulseview/pv/data/decoderstack.cpp:21:0:
/usr/local/include/libsigrokdecode/libsigrokdecode.h:278:13: note: declared here
SRD_API int srd_session_send(struct srd_session *sess,
^
CMakeFiles/pulseview.dir/build.make:1876: recipe for target 'CMakeFiles/pulseview.dir/pv/data/decoderstack.cpp.o' failed
make[2]: *** [CMakeFiles/pulseview.dir/pv/data/decoderstack.cpp.o] Error 1
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/pulseview.dir/all' failed
make[1]: *** [CMakeFiles/pulseview.dir/all] Error 2
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2
[ 0%] Building CXX object CMakeFiles/pulseview.dir/pv/data/decoderstack.cpp.o
~/BBB_p_Proj/pulseview/pv/data/decoderstack.cpp: In member function ‘void pv::data::DecoderStack::decode_data(int64_t, unsigned int, srd_session*)’:
~/BBB_p_Proj/pulseview/pv/data/decoderstack.cpp:316:43: error: too many arguments to function ‘int srd_session_send(srd_session*, uint64_t, uint64_t, const uint8_t*, uint64_t)’
(chunk_end - i) * unit_size, unit_size) != SRD_OK) {
^
In file included from ~/BBB_p_Proj/pulseview/pv/data/decoderstack.cpp:21:0:
/usr/local/include/libsigrokdecode/libsigrokdecode.h:278:13: note: declared here
SRD_API int srd_session_send(struct srd_session *sess,
^
CMakeFiles/pulseview.dir/build.make:1876: recipe for target 'CMakeFiles/pulseview.dir/pv/data/decoderstack.cpp.o' failed
make[2]: *** [CMakeFiles/pulseview.dir/pv/data/decoderstack.cpp.o] Error 1
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/pulseview.dir/all' failed
make[1]: *** [CMakeFiles/pulseview.dir/all] Error 2
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2

Re: Everything went wrong while I was Installing

PostPosted: Thu Oct 08, 2015 2:44 am
by Andy
please don't paste a long mass log.
Please tell us which step failed, and what the problem?