fatal error: linux/i2c-devices.h: No such file or directory

852 views
Skip to first unread message

Jonathan Tsai

unread,
May 19, 2016, 6:19:08 AM5/19/16
to opennetworklinux
Hi all,

I cloned from ONL repo. on 20160516. Today I try "make all" and find error as below:

/root/project/Test0516/packages/base/any/onlp/src/onlplib//module/src/i2c.c:34:31: fatal error: linux/i2c-devices.h: No such file or directory #include <linux/i2c-devices.h>

I confirm that reason is missing i2c-devices.h. Because I use the command like " find ./ -iname 'i2c-dev*.h' ". But can not find i2c-devices.h.

Please help me to solve this problem.

Thanks a lot.
Jonathan

Jeffrey Townsend

unread,
May 19, 2016, 10:43:25 AM5/19/16
to Jonathan Tsai, opennetworklinux
Jonathan, 

Are you using the docker build environment as described here?

J

--
You received this message because you are subscribed to the Google Groups "opennetworklinux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opennetworklin...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jonathan Tsai

unread,
May 19, 2016, 8:29:59 PM5/19/16
to opennetworklinux, luckj...@gmail.com
Hi Jeffrey,

Attched file is from my PC path as W:\project\Test0516\docs\Building.md.

Please help me check it.

Thanks a lot.

jeffrey.townsend於 2016年5月19日星期四 UTC+8下午10時43分25秒寫道:
Building.md

Jeffrey Townsend

unread,
May 19, 2016, 9:13:53 PM5/19/16
to Jonathan Tsai, opennetworklinux
Jonathan, 

Have you read the instructions that are contained within the document?

J

Jonathan Tsai

unread,
May 20, 2016, 1:17:23 AM5/20/16
to opennetworklinux, luckj...@gmail.com
Hi Jeffrey,

After read the instructions from Building.md. It work correctly.

Thanks a lot.

jeffrey.townsend於 2016年5月20日星期五 UTC+8上午9時13分53秒寫道:

Jeffrey Townsend

unread,
May 20, 2016, 10:13:49 AM5/20/16
to Jonathan Tsai, opennetworklinux
You're welcome!
Reply all
Reply to author
Forward
0 new messages