RSS/Atom feed Twitter
Site is read-only, email is disabled

Compile problems with 2.3.18

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

4 of 4 messages available
Toggle history

Please log in to manage your subscriptions.

Compile problems with 2.3.18 David Woodfall 15 Jun 11:33
  Compile problems with 2.3.18 Simon Budig 15 Jun 12:21
   Compile problems with 2.3.18 David Woodfall 15 Jun 15:04
    Compile problems with 2.3.18 David Woodfall 15 Jun 17:26
David Woodfall
2007-06-15 11:33:59 UTC (over 17 years ago)

Compile problems with 2.3.18

I'm getting errors on make:

controller_linux_input.c:76: error: 'BTN_TASK' undeclared here (not in a function)
controller_linux_input.c: In function 'linux_input_get_device_info': controller_linux_input.c:444: error: 'KEY_OK' undeclared (first use in this function)
controller_linux_input.c:444: error: (Each undeclared identifier is reported only once
controller_linux_input.c:444: error: for each function it appears in.) controller_linux_input.c:444: warning: assignment makes integer from pointer without a cast
controller_linux_input.c:454: warning: comparison between pointer and integer
controller_linux_input.c:493: error: storage size of 'absinfo' isn't known controller_linux_input.c:501: error: request for member 'minimum' in something not a structure or union
controller_linux_input.c:501: error: request for member 'maximum' in something not a structure or union
controller_linux_input.c:501: warning: format '%d' expects type 'int', but argument 4 has type 'const struct LinuxInputEvent *' controller_linux_input.c:501: warning: format '%d' expects type 'int', but argument 5 has type 'const struct LinuxInputEvent *' controller_linux_input.c:493: warning: unused variable 'absinfo' make[2]: *** [libcontroller_linux_input_la-controller_linux_input.lo] Error 1
make[2]: Leaving directory `/mnt/str1/downloads/gimp/gimp-2.3.18/modules' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/str1/downloads/gimp/gimp-2.3.18' make: *** [all] Error 2

Anyone have a solution for this? I've also had problems compiling pygtk so I'm using --disable-python since I can't find a rpm or other package for it.

Cheers

Simon Budig
2007-06-15 12:21:08 UTC (over 17 years ago)

Compile problems with 2.3.18

David Woodfall (dave@unrealize.co.uk) wrote:

I'm getting errors on make:

controller_linux_input.c:76: error: 'BTN_TASK' undeclared here (not in a function)

What version of the linux kernel are you using? Does it match the header files installed?

BTN_TASK should be defined in /usr/include/linux/input.h

Hope this helps, Simon

David Woodfall
2007-06-15 15:04:21 UTC (over 17 years ago)

Compile problems with 2.3.18

On (12:21 15/06/07), Simon Budig put forth the proposition:

David Woodfall (dave@unrealize.co.uk) wrote:

I'm getting errors on make:

controller_linux_input.c:76: error: 'BTN_TASK' undeclared here (not in a function)

What version of the linux kernel are you using? Does it match the header files installed?

BTN_TASK should be defined in /usr/include/linux/input.h

I'm using 2.6.20. Not sure about header version though. input.h doesn't have that function. I will try to check up on the headers.

Hope this helps,
Simon

David Woodfall
2007-06-15 17:26:15 UTC (over 17 years ago)

Compile problems with 2.3.18

On (14:04 15/06/07), David Woodfall put forth the proposition:

On (12:21 15/06/07), Simon Budig put forth the proposition:

David Woodfall (dave@unrealize.co.uk) wrote:

I'm getting errors on make:

controller_linux_input.c:76: error: 'BTN_TASK' undeclared here (not in a function)

What version of the linux kernel are you using? Does it match the header files installed?

BTN_TASK should be defined in /usr/include/linux/input.h

I'm using 2.6.20. Not sure about header version though. input.h doesn't have that function. I will try to check up on the headers.

Yes it was a header mismatch and Gimp compiles fine now. Still haven't fixed the pygtk problem though.

Thanks

Hope this helps,
Simon