Package Details: iioutils 0.2-2

Git Clone URL: https://aur.archlinux.org/iioutils.git (read-only, click to copy)
Package Base: iioutils
Description: The Industrial I/O equivalent to pciutils
Upstream URL: http://sourceforge.net/projects/iioutils/
Licenses: GPL
Submitter: ultraviolet
Maintainer: None
Last Packager: ultraviolet
Votes: 2
Popularity: 0.000000
First Submitted: 2014-07-06 02:33 (UTC)
Last Updated: 2015-07-07 18:41 (UTC)

Latest Comments

dreieck commented on 2024-02-02 10:20 (UTC) (edited on 2024-02-02 10:43 (UTC) by dreieck)

Please add export CFLAGS="${CFLAGS} -fcommon" to build(), otherwise build fails with

gcc -Wall -W -Wunused -std=c99 -march=native -mtune=native -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -fstack-clash-protection -fcf-protection -flto=auto  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -o lsiio lsiio.o iio_utils.o -lm -lsysfs 
/usr/bin/ld: iio_utils.o (symbol from plugin): in function `iio_posint_from_path':
(.text+0x0): multiple definition of `sensor_prefix'; lsiio.o (symbol from plugin):(.text+0x0): first defined here
collect2: error: ld returned 1 exit status

Regards and thanks for maintaining!

drws commented on 2023-10-31 21:00 (UTC)

Build error with newer GCC can be worked around by adding export CFLAGS="${CFLAGS} -fcommon" to the beginning of build().