Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Compile problem

Help
agent_jdh
2007-05-30
2013-04-17
  • agent_jdh
    agent_jdh
    2007-05-30

    Compiling on Gentoo ~x86 here (gcc 4.1.2, glibc 2.5, gentoo-sources-2.6.21-r2, linux-headers-2.6.21), getting a joystick.h problem on compile.  Any ideas?

    i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I.  -I/usr/kde/3.5/include  -DQT_THREAD_SUPPORT  -D_REENTRANT -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -fforce-addr -fomit-frame-pointer -fprefetch-loop-arrays -ftracer -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DKXMAME  -c -o kxmame_joy.o kxmame_joy.cpp
    i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I.  -I/usr/kde/3.5/include  -DQT_THREAD_SUPPORT  -D_REENTRANT -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -fforce-addr -fomit-frame-pointer -fprefetch-loop-arrays -ftracer -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DKXMAME  -c -o kxmameSplash.o kxmameSplash.cpp
    /usr/include/linux/joystick.h:131: error: ‘__s64’ does not name a type
    /usr/include/linux/joystick.h:132: error: ‘__s64’ does not name a type
    make[2]: *** [kxmame_joy.o] Error 1
    make[2]: *** Waiting for unfinished jobs....
    make[2]: Leaving directory `/var/tmp/portage/games-emulation/kxmame-2.0_beta/work/kxmame-2.0-beta/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/var/tmp/portage/games-emulation/kxmame-2.0_beta/work/kxmame-2.0-beta'
    make: *** [all] Error 2

    !!! ERROR: games-emulation/kxmame-2.0_beta failed.
    Call stack:
      ebuild.sh, line 1615:   Called dyn_compile
      ebuild.sh, line 972:   Called qa_call 'src_compile'
      ebuild.sh, line 44:   Called src_compile
      ebuild.sh, line 1305:   Called kde_src_compile
      kde.eclass, line 170:   Called kde_src_compile 'all'
      kde.eclass, line 340:   Called kde_src_compile 'myconf' 'configure' 'make'
      kde.eclass, line 336:   Called die

    !!! died running emake, kde_src_compile:make
    !!! If you need support, post the topmost build error, and the call stack if relevant.
    !!! A complete build log is located at '/var/tmp/portage/games-emulation/kxmame-2.0_beta/temp/build.log'.