Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75288 - cdemu-0.7 fails to emerge (`cdemu_block_ioctl' undeclared here)
Summary: cdemu-0.7 fails to emerge (`cdemu_block_ioctl' undeclared here)
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-22 01:50 UTC by David 'Bombe' Roden
Modified: 2004-12-22 10:53 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 David 'Bombe' Roden 2004-12-22 01:50:05 UTC
Emerging cdemu-0.7 fails with a compile error.

Reproducible: Always
Steps to Reproduce:
1. emerge cdemu
2.
3.

Actual Results:  
A compile error occured, cdemu was not installed

Expected Results:  
Compile cleanly and install cdemu.

A make from /var/tmp/portage/cdemu-0.7/work/cdemu-0.7 shows:

---
make -C /lib/modules/2.4.27/build
SUBDIRS=/var/tmp/portage/cdemu-0.7/work/cdemu-0.7 modules
make[1]: Entering directory `/usr/src/linux-2.4.27'
make -C  /var/tmp/portage/cdemu-0.7/work/cdemu-0.7 CFLAGS="-D__KERNEL__
-I/usr/src/linux-2.4.27/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2
-fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe
-mpreferred-stack-boundary=2 -march=i586 -DMODULE" MAKING_MODULES=1 modules
make[2]: Entering directory `/var/tmp/portage/cdemu-0.7/work/cdemu-0.7'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.27/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe
-mpreferred-stack-boundary=2 -march=i586 -DMODULE -D__KERNEL__
-I/usr/src/linux-2.4.27/include  -c -o cdemu.o cdemu.c
cdemu.c:728: error: `cdemu_block_ioctl' undeclared here (not in a function)
cdemu.c:728: error: initializer element is not constant
cdemu.c:728: error: (near initialization for `cdemu_bdops.ioctl')
make[2]: *** [cdemu.o] Error 1
---

emerge info:
---
Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.4.27 i686)
=================================================================
System uname: 2.4.27 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms userpriv
usersandbox"
GENTOO_MIRRORS="http://www.gigaload.org/gentoo.org/
http://ftp.easynet.nl/mirror/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.du.se/pub/os/gentoo
http://mir.zyrianes.net/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://172.16.0.2/gentoo-portage"
USE="X alsa apache2 arts audiofile avi berkdb bitmap-fonts cdr crypt cups curl
divx4linux dvd dvdr dvdread encode esd fam flac foomaticdb gb gd gdbm gif gmp
gnome gpm gstreamer gtk gtk2 guile icq imagemagick imlib innodb ipv6 jack java
javamail jikes joystick jpeg kde lesstif libg++ libwww mad maildir matroska mbox
mikmod mmx mng mozilla mp3 mpeg mysql ncurses nocd ogg oggvorbis opengl oss pam
pdflib perl png python qt quicktime readline samba sdl slang sndfile speex sse
ssl svg tcpd tga theora tiff truetype unicode vhosts wmf x86 xml xml2 xmms
xprint xvid yv12 zlib"
---
Comment 1 SpanKY gentoo-dev 2004-12-22 10:53:55 UTC
already been resolved in upstream cvs afaik