Results 1 to 5 of 5

Thread: Error on Make

  1. #1
    Join Date
    Jul 2008
    Location
    Brazil-So Paulo (S.B.Campo)
    Posts
    50

    Question Error on Make

    Hi all,

    I'm trying to compile a lirc software but when I type "make" command get this error:
    hw_i2cuser.c:55:27: error: linux/i2c-dev.h: Arquivo ou diretrio no encontrado
    hw_i2cuser.c: In function i2cuser_init:
    hw_i2cuser.c:189: error: I2C_SLAVE undeclared (first use in this function)
    hw_i2cuser.c:189: error: (Each undeclared identifier is reported only once
    hw_i2cuser.c:189: error: for each function it appears in.)
    make[3]: ** [hw_i2cuser.o] Erro 1
    How to solve this?

    *sry my englishi is little.

  2. #2
    Join Date
    Jun 2008
    Location
    /dev/belgium
    Posts
    1,946

    Default Re: Error on Make

    install kernel headers and sources

  3. #3
    Join Date
    Jul 2008
    Location
    Brazil-So Paulo (S.B.Campo)
    Posts
    50

    Default Re: Error on Make

    Headers and Sources are installed.

  4. #4
    Join Date
    Jun 2008
    Location
    /dev/belgium
    Posts
    1,946

    Default Re: Error on Make

    Install i2c-tools and libsensors4-devel

  5. #5
    Join Date
    Jul 2008
    Location
    Brazil-So Paulo (S.B.Campo)
    Posts
    50

    Default Re: Error on Make

    Make runs fine, tks u.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •