Public bug reported:

Hi,
I ran into this FTBFS when I wanted to rebuild in Ubuntu to pick up the new 
DPDK 17.11.

  error: 'i2c_smbus_read_i2c_block_data' undeclared (first use in this
function); did you mean 'i2c_smbus_ioctl_data'?


Upstream in i2c this came by the change:

  commit 251d594fd0d338c7b85707a2e72153a404a25b10
  Author: Jean Delvare <jdelv...@suse.de>
  Date:   Mon May 21 16:52:48 2012 +0000

    New library for I2C device access under Linux. As a first step, the
    library will host the i2c_smbus_*() inline functions which were
    previously in the user-space flavor of <linux/i2c-dev.h>.

I reported the issue upstream so they can add a proper toleration for
the change in the i2c lib.

Short term the following does the trick to get it building at least (obviously 
without i2c&barometer):
  confflags += --disable-barometer

** Affects: collectd
     Importance: Unknown
         Status: Unknown

** Affects: collectd (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: collectd (Debian)
     Importance: Unknown
         Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1742691

Title:
  FTBFS libi2c detection is broken

To manage notifications about this bug go to:
https://bugs.launchpad.net/collectd/+bug/1742691/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to