Kernel build failed in /usr/src/sys/modules/i2c/controllers/viapm

Steve Bertrand iaccounts at ibctech.ca
Wed Nov 9 16:07:48 GMT 2005


> While compiling a fresh kernel for a 5.4 system cvsup-ed as 
> per today the build process ran into a stop with the exact 
> messages below. Please note that "make buildworld" completed 
> without any errors only "make buildkernel kernconf=EJ-SMP" died.
> 
> Also tried to cleanup everything (i.e. remove /usr/obj/* as per the
> Handbook) and starting a fresh "make buildworld" followed by 
> "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

> 
> Please note that my "custom" kernel is nothing more than a 
> re-name of the SMP-kernel at the moment:
> 
> # pwd
> /usr/src/sys/i386/conf
> # diff SMP EJ-SMP
> 9c9
> < ident         SMP-GENERIC
> ---
> > ident         EJ-SMP
> 
> 
> Finally I tried cvsup-ing the source-tree again (cvsup -g -L 
> 2 ./stable-supfile ) and re-running the build process but 
> this too didn't help anything.
> 
> Has anybody else experienced these problems?
> 
> Thanks much in advance for any clue,
> -ewald
> 
> ------------------------------ < Cut here > 
> ------------------------------
> 
> 
> # make buildkernel KERNCONF=EJ-SMP
> ===> i2c/controllers/viapm
> cc -O -pipe  -DVIAPM_BASE_ADDR=0x6000 -D_KERNEL -DKLD_MODULE 
> -nostdinc -I-   -in
> clude /usr/obj/usr/src/sys/EJ-SMP/opt_global.h -I. -I@ 
> -I@/contrib/altq -I@/../i nclude -finline-limit=8000 
> -fno-common  -I/usr/obj/usr/src/sys/EJ-SMP -mno-align 
> -long-strings -mpreferred-stack-boundary=2  -mno-mmx 
> -mno-3dnow -mno-sse -mno-ss
> e2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs 
> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
> -Winline -Wcast-qual  -fformat-extensions -
> std=c99 -c 
> /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 
> `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 
> `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 
> `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 
> `isa_viapropm_driver_mod.dmd_devclass')
> *** Error code 1
> 
> Stop in /usr/src/sys/modules/i2c/controllers/viapm.
> *** Error code 1
> 
> Stop in /usr/src/sys/modules/i2c/controllers.
> *** Error code 1
> 
> Stop in /usr/src/sys/modules/i2c.
> *** Error code 1
> 
> Stop in /usr/src/sys/modules.
> *** Error code 1
> 
> Stop in /usr/obj/usr/src/sys/EJ-SMP.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> root at aurora src # 
> 
> 
> --
> ..............................................................
> ..........
> Dr. Mag. Ewald Jenisch
> 
> 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 at oekb.at | nic-hdl: EJ63 | GnuPG Key-ID: 
> 0x55E72F60 http://www.oekb.co.at 
> ..............................................................
> ..........
> 
> This message is confidential and intended solely for the 
> addressee. It is likely to be subject to banking secrecy. If 
> you have received this e-mail erroneously, please contact the 
> sender and delete it from your computer, otherwise any use of 
> this information may lead to detrimental legal consequences. 
> Anyone communicating with us by e-mail accepts the risks 
> involved with the potential loss of confidentiality.
> 
> Diese Nachricht ist vertraulich und nur für den Adressaten 
> bestimmt. Sie unterliegt wahrscheinlich dem Bankgeheimnis. 
> Wenn Sie diese E-Mail irrtümlich erhalten haben, kontaktieren 
> Sie bitte den Absender und löschen Sie die E-Mail von Ihrem 
> Computer, andernfalls kann jede Verwendung dieser 
> Informationen nachteilige Rechtsfolgen auslösen. Jeder, der 
> mit uns über E-Mail kommuniziert, akzeptiert die mit dem 
> möglichen Verlust von Vertraulichkeit verbundenen Risken.
> 
> 
> 
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"
> 



More information about the freebsd-questions mailing list