Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43423 - lirc-0.2.0_pre2 doesn't compile whit vanilla-source-2.4.25
Summary: lirc-0.2.0_pre2 doesn't compile whit vanilla-source-2.4.25
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-01 15:34 UTC by barotin
Modified: 2004-03-13 06:05 UTC (History)
0 users

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 barotin 2004-03-01 15:34:53 UTC
i have this error message in compilation whith an emerge lirc 
in the lirc-0.7.0pre2/drivers/lirc_i2c directory :

make[5]: Entering directory `/var/tmp/portage/lirc-0.7.0_pre2/work/lirc-0.7.0pre2/drivers/lirc_i2c'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.25/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.25/include/linux/modversions.h -DHAVE_CONFIG_H -I. -I. -I../.. -nostdinc -iwithprefix include -DKBUILD_BASENAME=lirc_i2c  -c -o lirc_i2c.o lirc_i2c.c
lirc_i2c.c:296: error: unknown field `owner' specified in initializer
lirc_i2c.c:296: warning: missing braces around initializer
lirc_i2c.c:296: warning: (near initialization for `driver.name')
lirc_i2c.c:296: warning: initialization makes integer from pointer without a cast
lirc_i2c.c:296: error: initializer element is not computable at load time
lirc_i2c.c:296: error: (near initialization for `driver.name[0]')
lirc_i2c.c:297: error: initializer element is not constant
lirc_i2c.c:297: error: (near initialization for `driver.name')
make[5]: *** [lirc_i2c.o] Error 1
make[5]: Leaving directory `/var/tmp/portage/lirc-0.7.0_pre2/work/lirc-0.7.0pre2/drivers/lirc_i2c'
make[4]: *** [_mod_/var/tmp/portage/lirc-0.7.0_pre2/work/lirc-0.7.0pre2/drivers/lirc_i2c] Error 2

so i go to the lirc site to take the last cvs_snapshot lirc-0.7.0_pre3
i create a copie a the ebuild lirc-0.7.0_pre2.ebuild and i shoot only one line
 in src_unpak() function : 
epatch ${FILESDIR}/lirc-${PV}-i2c.patch.gz

and this new ebuild work fine for me

i decide to recompile lirc.0.7.0_pre2 without the epatch ${FILESDIR}/lirc-${PV}-i2c.patch.gz

and you kown what , it compiles right and work fine !...

Reproducible: Always
Steps to Reproduce:
1.compile lirc.0.7.0_pre2 with vanilla-sources 2.4.25
2.try this ebuild without the epatch and it compiles right ???
3.




LIRC_OPTS="--with-driver=hauppauge" 
i have some ebuild on arch=~x86 all other on arch=x86 
[ebuild     UD] sys-libs/zlib-1.1.4-r2 [1.2.1-r2] 
[ebuild     UD] sys-apps/sed-4.0.7 [4.0.9] 
[ebuild     UD] sys-apps/texinfo-4.5 [4.6] 
[ebuild     UD] sys-libs/readline-4.3-r4 [4.3-r5] 
[ebuild     UD] media-gfx/gimp-print-4.2.5-r2 [4.3.25] 
[ebuild     UD] media-video/ffmpeg-0.4.7 [0.4.8] 
[ebuild     UD] sys-devel/autoconf-2.58-r1 [2.59-r3] 
[ebuild     UD] net-misc/wget-1.9-r2 [1.9.1-r2] 
[ebuild     UD] net-print/foomatic-db-20031018 [20031231] 
[ebuild     UD] dev-libs/slib-2.4.3 [2.4.6] 
[ebuild     UD] sys-devel/automake-1.7.7 [1.8.2] 
[ebuild     UD] dev-libs/expat-1.95.6-r1 [1.95.7] 
[ebuild     UD] dev-libs/pwlib-1.5.0 [1.5.2-r2] 
[ebuild     UD] net-libs/openh323-1.12.0-r1 [1.12.2-r2] 
[ebuild     UD] net-im/gnomemeeting-0.98.5 [0.98.5-r1] 
[ebuild     UD] sys-apps/man-1.5l-r6 [1.5m] 
[ebuild     UD] media-libs/alsa-lib-0.9.8 [1.0.3] 
[ebuild     UD] media-libs/win32codecs-0.90.1-r2 [20031001] 
[ebuild     UD] media-video/mplayer-0.92 [1.0_pre3] 
[ebuild     UD] media-video/kmplayer-0.8.1 [0.8.2] 
[ebuild     UD] sys-apps/modutils-2.4.25 [2.4.26] 
[ebuild     UD] app-cdr/cdrdao-1.1.7-r3 [1.1.8] 
[ebuild     UD] media-libs/libao-0.8.3-r1 [0.8.4-r1] 
[ebuild  N    ] media-sound/alsa-driver-0.9.8 
[ebuild     UD] media-sound/alsa-utils-0.9.8 [1.0.3] 
[ebuild     UD] media-sound/jack-audio-connection-kit-0.80.0 [0.91.1] 
[ebuild     UD] dev-python/python-fchksum-1.6.1-r1 [1.7.1] 
[ebuild     UD] media-sound/alsa-tools-0.9.8 [1.0.3] 
[ebuild     UD] media-libs/xine-lib-1_rc2 [1_rc3-r1] 
[ebuild     UD] app-cdr/dvd+rw-tools-5.13.4.7.4 [5.17.4.8.6] 
[ebuild     UD] net-libs/nss_ldap-207-r1 [211] 
[ebuild     UD] x11-libs/wxGTK-2.4.1-r1 [2.4.2] 
[ebuild     UD] net-p2p/xmule-1.6.0a-r1 [1.7.4b] 
[ebuild     UD] media-libs/libogg-1.0 [1.1] 
[ebuild     UD] media-sound/vorbis-tools-1.0-r2 [1.0.1] 
[ebuild     UD] media-video/ogle-0.9.1 [0.9.2] 
[ebuild     UD] media-video/ogle-gui-0.9.1 [0.9.2] 
[ebuild     UD] sys-fs/devfsd-1.3.25-r3 [1.3.25-r5] 
[ebuild     UD] net-misc/neon-0.23.8 [0.24.4] 
[ebuild     UD] media-video/xine-ui-0.9.22 [0.9.23] 
[ebuild     UD] media-libs/libmpeg2-0.3.2_pre20030625 [0.4.0] 
[ebuild     UD] media-sound/sox-12.17.3-r3 [12.17.4-r1] 
[ebuild     UD] media-libs/libmng-1.0.4 [1.0.5] 
[ebuild     UD] media-libs/quicktime4linux-1.5.5-r1 [2.0.0-r1] 
[ebuild     UD] media-libs/musicbrainz-2.0.1 [2.0.2-r1] 
[ebuild     UD] media-video/transcode-0.6.11 [0.6.12-r1] 
[ebuild     UD] app-cdr/k3b-0.11.1-r1 [0.11.5] 
[ebuild     UD] media-libs/libdvbpsi-0.1.3 [0.1.4] 
[ebuild     UD] app-text/aspell-0.50.3 [0.50.4.1] 
[ebuild     UD] dev-libs/elfutils-0.84 [0.89] 
[ebuild     UD] app-arch/rpm-4.2_pre069 [4.2.1] 
[ebuild     UD] media-gfx/gwenview-1.0.1 [1.1.0] 
[ebuild     UD] app-text/recode-3.6 [3.6-r1] 
[ebuild     UD] media-tv/xawtv-3.86-r1 [3.90-r1] 
[ebuild     UD] app-editors/nano-1.2.2 [1.3.1] 
[ebuild     UD] media-gfx/blender-2.28c [2.32] 
[ebuild     UD] media-video/vlc-0.6.2 [0.6.2-r1] 
[ebuild     UD] media-sound/grip-3.0.3 [3.1.4] 
[ebuild     UD] app-text/sablotron-0.97 [1.0] 
[ebuild     UD] media-libs/speex-1.0.2 [1.0.3] 
[ebuild     UD] media-video/avidemux-2.0.18 [2.0.20] 
[ebuild     UD] app-arch/dump-0.4.32 [0.4.34]
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2004-03-13 06:05:43 UTC
Closing as FIXED; lirc-0.7.0_pre3 is now in Portage.