From owner-freebsd-questions@FreeBSD.ORG Wed Nov 9 16:07:48 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E11C16A41F for ; Wed, 9 Nov 2005 16:07:48 +0000 (GMT) (envelope-from iaccounts@ibctech.ca) Received: from pearl.ibctech.ca (pearl.ibctech.ca [209.167.58.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3F8843D46 for ; Wed, 9 Nov 2005 16:07:47 +0000 (GMT) (envelope-from iaccounts@ibctech.ca) Received: (qmail 58885 invoked by uid 1002); 9 Nov 2005 16:07:46 -0000 Received: from iaccounts@ibctech.ca by pearl.ibctech.ca by uid 89 with qmail-scanner-1.22 (spamassassin: 2.64. Clear:RC:1(209.167.16.15):. Processed in 9.411056 secs); 09 Nov 2005 16:07:46 -0000 Received: from unknown (HELO fuze) (209.167.16.15) by pearl.ibctech.ca with SMTP; 9 Nov 2005 16:07:36 -0000 From: "Steve Bertrand" To: "'Ewald Jenisch'" Date: Wed, 9 Nov 2005 11:07:37 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 In-Reply-To: <20051109145724.GA84717@aurora.oekb.co.at> Thread-Index: AcXlRj1ehjpPJiy0QN+t3SrX8zCgqwAASxGA X-Qmail-Scanner-Message-ID: <113155245767558864@pearl.ibctech.ca> Message-Id: <20051109160747.D3F8843D46@mx1.FreeBSD.org> Cc: 'FreeBSD Questions' Subject: RE: Kernel build failed in /usr/src/sys/modules/i2c/controllers/viapm X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2005 16:07:48 -0000 > While compiling a fresh kernel for a 5.4 system cvsup-ed as=20 > per today the build process ran into a stop with the exact=20 > messages below. Please note that "make buildworld" completed=20 > without any errors only "make buildkernel kernconf=3DEJ-SMP" died. >=20 > Also tried to cleanup everything (i.e. remove /usr/obj/* as per the > Handbook) and starting a fresh "make buildworld" followed by=20 > "make buildkernel" but the errors remained. My email from earlier with the subject: "viapm module failing during buildkernel" will confirm that this is two of us experiencing the EXACT same issue. I haven't found a workaround yet. My next try will be disabling SMP support. I'll let you know if this works or not. Otherwise, I'm on the hunt for how to disable building of this module. Steve >=20 > Please note that my "custom" kernel is nothing more than a=20 > re-name of the SMP-kernel at the moment: >=20 > # pwd > /usr/src/sys/i386/conf > # diff SMP EJ-SMP > 9c9 > < ident SMP-GENERIC > --- > > ident EJ-SMP >=20 >=20 > Finally I tried cvsup-ing the source-tree again (cvsup -g -L=20 > 2 ./stable-supfile ) and re-running the build process but=20 > this too didn't help anything. >=20 > Has anybody else experienced these problems? >=20 > Thanks much in advance for any clue, > -ewald >=20 > ------------------------------ < Cut here >=20 > ------------------------------ >=20 >=20 > # make buildkernel KERNCONF=3DEJ-SMP > =3D=3D=3D> i2c/controllers/viapm > cc -O -pipe -DVIAPM_BASE_ADDR=3D0x6000 -D_KERNEL -DKLD_MODULE=20 > -nostdinc -I- -in > clude /usr/obj/usr/src/sys/EJ-SMP/opt_global.h -I. -I@=20 > -I@/contrib/altq -I@/../i nclude -finline-limit=3D8000=20 > -fno-common -I/usr/obj/usr/src/sys/EJ-SMP -mno-align=20 > -long-strings -mpreferred-stack-boundary=3D2 -mno-mmx=20 > -mno-3dnow -mno-sse -mno-ss > e2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs=20 > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith=20 > -Winline -Wcast-qual -fformat-extensions - > std=3Dc99 -c=20 > /usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/viapm.c > /usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/via > pm.c:968: error: ` isa_driver' undeclared here (not in a function) > /usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/via > pm.c:968: error: i nitializer element is not constant > /usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/via > pm.c:968: error: ( near initialization for=20 > `isa_viapm_driver_mod.dmd_driver') > /usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/via > pm.c:968: error: ` isa_devclass' undeclared here (not in a function) > /usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/via > pm.c:968: error: i nitializer element is not constant > /usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/via > pm.c:968: error: ( near initialization for=20 > `isa_viapm_driver_mod.dmd_devclass') > /usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/via > pm.c:969: error: i nitializer element is not constant > /usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/via > pm.c:969: error: ( near initialization for=20 > `isa_viapropm_driver_mod.dmd_driver') > /usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/via > pm.c:969: error: i nitializer element is not constant > /usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/via > pm.c:969: error: ( near initialization for=20 > `isa_viapropm_driver_mod.dmd_devclass') > *** Error code 1 >=20 > Stop in /usr/src/sys/modules/i2c/controllers/viapm. > *** Error code 1 >=20 > Stop in /usr/src/sys/modules/i2c/controllers. > *** Error code 1 >=20 > Stop in /usr/src/sys/modules/i2c. > *** Error code 1 >=20 > Stop in /usr/src/sys/modules. > *** Error code 1 >=20 > Stop in /usr/obj/usr/src/sys/EJ-SMP. > *** Error code 1 >=20 > Stop in /usr/src. > *** Error code 1 >=20 > Stop in /usr/src. > root@aurora src #=20 >=20 >=20 > -- > .............................................................. > .......... > Dr. Mag. Ewald Jenisch >=20 > OeKB - Oesterreichische Kontrollbank AG > IT Dept. > 1011 Vienna, Strauchgasse 1-3, Austria > Phone: +43-1-53127-2175, Fax: +43-1-53127-4175 > email: ewald.jenisch@oekb.at | nic-hdl: EJ63 | GnuPG Key-ID:=20 > 0x55E72F60 http://www.oekb.co.at=20 > .............................................................. > .......... >=20 > This message is confidential and intended solely for the=20 > addressee. It is likely to be subject to banking secrecy. If=20 > you have received this e-mail erroneously, please contact the=20 > sender and delete it from your computer, otherwise any use of=20 > this information may lead to detrimental legal consequences.=20 > Anyone communicating with us by e-mail accepts the risks=20 > involved with the potential loss of confidentiality. >=20 > Diese Nachricht ist vertraulich und nur f=FCr den Adressaten=20 > bestimmt. Sie unterliegt wahrscheinlich dem Bankgeheimnis.=20 > Wenn Sie diese E-Mail irrt=FCmlich erhalten haben, kontaktieren=20 > Sie bitte den Absender und l=F6schen Sie die E-Mail von Ihrem=20 > Computer, andernfalls kann jede Verwendung dieser=20 > Informationen nachteilige Rechtsfolgen ausl=F6sen. Jeder, der=20 > mit uns =FCber E-Mail kommuniziert, akzeptiert die mit dem=20 > m=F6glichen Verlust von Vertraulichkeit verbundenen Risken. >=20 >=20 >=20 >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list=20 > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to=20 > "freebsd-questions-unsubscribe@freebsd.org" >=20