aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: impossible to compile wxWidgets  (Read 2404 times)

Bourdieu

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 55
impossible to compile wxWidgets
« on: June 11, 2006, 08:34:09 PM »

I cannot compile wWidgets 2.6.3 anymore.

I'm using latest kernel 2.6.16.20. the configure script give me this warning:

Code: [Select]
checking linux/joystick.h usability... no
checking linux/joystick.h presence... yes
configure: WARNING: linux/joystick.h: present but cannot be compiled
configure: WARNING: linux/joystick.h:     check for missing prerequisite headers?
configure: WARNING: linux/joystick.h: see the Autoconf documentation
configure: WARNING: linux/joystick.h:     section "Present But Cannot Be Compiled"
configure: WARNING: linux/joystick.h: proceeding with the preprocessor's result
configure: WARNING: linux/joystick.h: in the future, the compiler will take precedence
configure: WARNING:     ## ----------------------------------------- ##
configure: WARNING:     ## Report this to [EMAIL]wx-dev@lists.wxwidgets.org[/EMAIL] ##
configure: WARNING:     ## ----------------------------------------- ##
checking for linux/joystick.h... yes

and at compilt time:

Code: [Select]
./bk-deps g++ -c -o advdll_joystick.o -I.pch/wxprec_advdll -D__WXGTK__            -DWXUSINGDLL -DWXMAKINGDLL_ADV -fPIC -DPIC -DWX_PRECOMP -DNO_GCC_PRAGMA -DGTK_NO_CHECK_CASTS -Ilib/wx/include/gtk2-ansi-release-2.6 -I./include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -O2 -fno-strict-aliasing -pthread -Wall -Wundef -Wno-ctor-dtor-privacy ./src/unix/joystick.cpp
In file included from /usr/include/linux/joystick.h:33,
                 from ./src/unix/joystick.cpp:25:
/usr/include/linux/input.h:801: erreur: « kernel_ulong_t » ne nomme pas un type
/usr/include/linux/input.h:805: erreur: « kernel_ulong_t » ne nomme pas un type
/usr/include/linux/input.h:806: erreur: « kernel_ulong_t » ne nomme pas un type
/usr/include/linux/input.h:807: erreur: « kernel_ulong_t » ne nomme pas un type
/usr/include/linux/input.h:808: erreur: « kernel_ulong_t » ne nomme pas un type
/usr/include/linux/input.h:809: erreur: « kernel_ulong_t » ne nomme pas un type
/usr/include/linux/input.h:810: erreur: « kernel_ulong_t » ne nomme pas un type
/usr/include/linux/input.h:811: erreur: « kernel_ulong_t » ne nomme pas un type
/usr/include/linux/input.h:812: erreur: « kernel_ulong_t » ne nomme pas un type
/usr/include/linux/input.h:813: erreur: « kernel_ulong_t » ne nomme pas un type
/usr/include/linux/input.h:815: erreur: « kernel_ulong_t » ne nomme pas un type
make: *** [advdll_joystick.o] Erreur 1

The problem seems to come from the file /usr/include/linux/input.h which is a kernel header flag.

kernel_ulong_t and BITS_PER_LONG are not defined.

Don't know what to do about it. I sent a report to wx-dev@lists.wxwidgets.org but had no reply yet.
« Last Edit: June 11, 2006, 08:34:31 PM by Bourdieu »
Logged