Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54662 - gentoo-dev-sources 2.6.7-r1 DAC960 driver fails to build
Summary: gentoo-dev-sources 2.6.7-r1 DAC960 driver fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-21 09:32 UTC by Colin Tinker
Modified: 2004-06-22 13:12 UTC (History)
0 users

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


Attachments
kernel config file for 2.6.x (.config,38.90 KB, text/plain)
2004-06-21 13:04 UTC, Colin Tinker
Details
Config with DAC 390 enabled (.config,38.81 KB, text/plain)
2004-06-21 15:17 UTC, Colin Tinker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Colin Tinker 2004-06-21 09:32:33 UTC
CC [M]  drivers/block/loop.o
  CC [M]  drivers/block/DAC960.o
drivers/block/DAC960.c:2138: error: syntax error before "DAC960_SCSI_Inquiry_UnitSerialNumber_TJ"
drivers/block/DAC960.c:2142: error: stray '`' in program
drivers/block/DAC960.c:2143: warning: function declaration isn't a prototype
drivers/block/DAC960.c: In function `DAC960_SanitizeInquiryData':
drivers/block/DAC960.c:2145: error: `InquiryStandardData' undeclared (first use in this function)
drivers/block/DAC960.c:2145: error: (Each undeclared identifier is reported only once
drivers/block/DAC960.c:2145: error: for each function it appears in.)
drivers/block/DAC960.c:2150: error: `Vendor' undeclared (first use in this function)
drivers/block/DAC960.c:2158: error: `Model' undeclared (first use in this function)
drivers/block/DAC960.c:2166: error: `Revision' undeclared (first use in this function)
drivers/block/DAC960.c:2170: error: `InquiryUnitSerialNumber' undeclared (first use in this function)
drivers/block/DAC960.c:2179: error: `SerialNumber' undeclared (first use in this function)
drivers/block/DAC960.c: In function `DAC960_V1_ReportDeviceConfiguration':
drivers/block/DAC960.c:2253: warning: implicit declaration of function `DAS960_Info'
make[2]: *** [drivers/block/DAC960.o] Error 1
make[1]: *** [drivers/block] Error 2
make: *** [drivers] Error 2

This driver builds fine on the 2.6.7 release

Reproducible: Always
Steps to Reproduce:
1.make all on the kernel
2.
3.

Actual Results:  
build of DAC960 driver fails 

Expected Results:  
DAC960 driver builds 

emerge info 
Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 
2.6.7-gentoo) 
================================================================= 
System uname: 2.6.7-gentoo i686 AMD Athlon(tm) processor 
Gentoo Base System version 1.4.16 
Autoconf: sys-devel/autoconf-2.59-r4 
Automake: sys-devel/automake-1.8.5-r1 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-tbird -O3 -funroll-loops -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=athlon-tbird -O3 -funroll-loops -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs buildpkg ccache clean distcc fixpackages sandbox userpriv 
usersandbox" 
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="3dnow X X509 aac aalib acpi acpi4linux aim alsa apm arts avantgo avi 
berkdb bluetooth bonobo cddb cdr chroot crypt cups curl dga directfb divx4linux 
dvd encode esd ethereal evo faad fam fbcon fftw flac foomaticdb freetype gdbm 
gif gimp gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml icq imagemagick 
imlib innodb ipv6 irda irmc jabber java joystick jpeg kde ldap libg++ libwww 
linguas_en_GB live mad mikmod mmx motif mozcalendar mozilla mozp3p mozsvg mpeg 
mpeg4 msn mysql nas ncurses nls nocd nptl offensive oggvorbis ooo-kde opengl 
opie oss pam pcap pda pdflib perl pic png postgres prelink pthreads python qt 
quicktime readline samba scanner sdl silc skey slang sox speedo speex spell sse 
ssl svg svga t1lib tcpd threads tiff transcode truetype type1 unicode usb v4l 
v4l2 vim-with-x wifi wmf x86 xfs xml2 xmms xprint xv xvid zlib zvbi"
Comment 1 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-06-21 10:42:13 UTC
Hm, does the same thing happen when building the 2.6.7 kernel from kernel.org?
Comment 2 Colin Tinker 2004-06-21 11:37:29 UTC
No it only happens with gentoo 2.6.7-r1 the 2.6.7 before supermount was put back built fine.
Comment 3 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-06-21 12:55:39 UTC
Does the 2.6.7-r2 kernel help out?

Care to attach your .config file so that I can try to duplicate this?
Comment 4 Colin Tinker 2004-06-21 13:02:56 UTC
I don't have yet 2.6.7-r2 in my portage tree yet but here is my config file.
Comment 5 Colin Tinker 2004-06-21 13:04:51 UTC
Created attachment 33767 [details]
kernel config file for 2.6.x

This is the same config used on the original 2.6.7 kernel.  All I have done is
enable supermount again.
Comment 6 Colin Tinker 2004-06-21 13:08:43 UTC
I forgot the DAC390 controller under driver/scsi will not be enabled to get it to compile on 2.6.7-r1
Comment 7 Colin Tinker 2004-06-21 15:17:55 UTC
Created attachment 33784 [details]
Config with DAC 390 enabled

I will try the r2 tomorrow eveing as it has just appeared on my local mirrors.
Comment 8 Colin Tinker 2004-06-22 13:12:05 UTC
Didn't see the r2 but r3 resolved the problem.