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"
Hm, does the same thing happen when building the 2.6.7 kernel from kernel.org?
No it only happens with gentoo 2.6.7-r1 the 2.6.7 before supermount was put back built fine.
Does the 2.6.7-r2 kernel help out? Care to attach your .config file so that I can try to duplicate this?
I don't have yet 2.6.7-r2 in my portage tree yet but here is my config file.
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.
I forgot the DAC390 controller under driver/scsi will not be enabled to get it to compile on 2.6.7-r1
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.
Didn't see the r2 but r3 resolved the problem.