Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117232 - lirc-0.7.0-r1 fails to compile on xbox
Summary: lirc-0.7.0-r1 fails to compile on xbox
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Edgar Hucek (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lirc-tracker
  Show dependency tree
 
Reported: 2005-12-30 14:17 UTC by Uwe Hartmann
Modified: 2006-07-07 12:07 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Uwe Hartmann 2005-12-30 14:17:47 UTC
lirc-0.7.0-r1 fails to compile against xbox-sources-2.4.31
/etc/make.profile -> ../usr/portage/profiles/default-linux/x86/xbox

Compiler: gcc 3.4.4.

make.conf:
---------------------------
CFLAGS="-march=pentium3"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j1"
FEATURES="-distcc"
---------------------------
Reproducible: Always

Emerge log: 
---------------------------
...
make[4]: Entering directory `/usr/src/linux-2.4.31-xbox'
make -C  /var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_dev CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.31-xbox/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -fno-unit-at-a-time -DMODULE" MAKING_MODULES=1 modules
make[5]: Entering directory `/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_dev'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.31-xbox/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -fno-unit-at-a-time -DMODULE -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. -I /var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_dev/../.. -I /usr/src/linux//include/ -nostdinc -iwithprefix include -DKBUILD_BASENAME=lirc_dev  -c -o lirc_dev.o lirc_dev.c
lirc_dev.c: In function `lirc_register_plugin':
lirc_dev.c:352: warning: statement with no effect
make[5]: Leaving directory `/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_dev'
make[4]: Leaving directory `/usr/src/linux-2.4.31-xbox'
mv Makefile.automake Makefile
make[3]: Leaving directory `/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_dev'
Making all in lirc_xboxusb
make[3]: Entering directory `/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_xboxusb'
cd ../.. && \
  /bin/sh /var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/missing --run automake --gnu  drivers/lirc_xboxusb/Makefile
cd ../.. && \
  CONFIG_HEADERS= CONFIG_LINKS= \
  CONFIG_FILES=drivers/lirc_xboxusb/Makefile /bin/sh ./config.status
creating drivers/lirc_xboxusb/Makefile
make[3]: Leaving directory `/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_xboxusb'
make[3]: Entering directory `/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_xboxusb'
mv Makefile Makefile.automake
cp ../Makefile.kernel Makefile
make -C /usr/src/linux/ SUBDIRS=/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_xboxusb modules \
        KBUILD_VERBOSE=1
make[4]: Entering directory `/usr/src/linux-2.4.31-xbox'
make -C  /var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_xboxusb CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.31-xbox/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -fno-unit-at-a-time -DMODULE" MAKING_MODULES=1 modules
make[5]: Entering directory `/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_xboxusb'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.31-xbox/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -fno-unit-at-a-time -DMODULE -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. -I /var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_xboxusb/../.. -I /usr/src/linux//include/ -nostdinc -iwithprefix include -DKBUILD_BASENAME=lirc_xboxusb  -c -o lirc_xboxusb.o lirc_xboxusb.c
lirc_xboxusb.c: In function `usb_remote_recv':
lirc_xboxusb.c:223: warning: unused variable `i'
lirc_xboxusb.c: In function `usb_remote_probe':
lirc_xboxusb.c:325: error: `ep_out' undeclared (first use in this function)
lirc_xboxusb.c:325: error: (Each undeclared identifier is reported only once
lirc_xboxusb.c:325: error: for each function it appears in.)
make[5]: *** [lirc_xboxusb.o] Error 1
make[5]: Leaving directory `/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_xboxusb'
make[4]: *** [_mod_/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_xboxusb] Error 2
make[4]: Leaving directory `/usr/src/linux-2.4.31-xbox'
make[3]: *** [lirc_xboxusb.o] Error 2
make[3]: Leaving directory `/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_xboxusb'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0'
make: *** [all] Error 2

!!! ERROR: app-misc/lirc-0.7.0-r1 failed.
!!! Function src_compile, Line 118, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
------------------------------
Comment 1 Uwe Hartmann 2005-12-30 14:19:52 UTC
Portage 2.0.53 (default-linux/x86/xbox, gcc-3.4.4, glibc-2.3.5-r2, 2.4.31-xbox i686)
=================================================================
System uname: 2.4.31-xbox i686 Celeron (Coppermine)
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X apm avi berkdb bitmap-fonts bzip2 crypt cups dvb emboss encode expat font-server foomaticdb fortran gdbm gif gpm gtk gtk2 imlib joystick jpeg kde lcms libg++ libwww mad mikmod mmx mng motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell sse ssl svga tcpd tiff truetype truetype-fonts type1-fonts udev xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2006-02-20 01:01:25 UTC
Chris any idea? Is there a patchfor newer lirc versions?
Comment 3 Chris Bainbridge (RETIRED) gentoo-dev 2006-02-20 02:12:15 UTC
http://www.opensubscriber.com/message/xbox-linux-devel@lists.sourceforge.net/3156967.html

I don't know if it works on 2.4 kernels - there was a different driver for 2.4 which didn't work on 2.6, and I can't remember what it was called.
Comment 4 Jesse Adelman 2006-06-17 13:00:35 UTC
Still valid with current 0.8.0 version of lirc?
Comment 5 Chris Bainbridge (RETIRED) gentoo-dev 2006-07-07 12:07:03 UTC
lirc-0.8.0-r1 should work with xboxusb USE flag.