running snapshot (obsd 3.9-beta), not able to compile GENERIC kernel

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

running snapshot (obsd 3.9-beta), not able to compile GENERIC kernel

Didier Wiroth
Hi,
I've installed (on a newly formated disk) openbsd 3.9-beta (snapshot from 19.1) on my laptop  
I've added a few packages from the snapshot/packages/i386 (kdebase etc...)
Then I've fetched the latest sources:
cvs -q -d [hidden email]:/cvs get -P src
 
I tried to build a kernel like usual:
config GENERIC, make clean depend and make etc...
It failed after some time with "the same error", see below.
 
I downloaded and redownloaded a few times my sources because I thought it might
be an unclean source tree but I had no luck so far.
 
I would like to understand what's wrong, did I do a mistake ...?
 
Thank you very much for helping.
 
Here is the error output:
 
cc  -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes  -Wno-uninitialized -Wno-format -Wno-main  
-fno-builtin-printf -fno-builtin-log -O2 -pipe -nostdinc -I. -I/usr/src/sys/arch/i386/compile/GENERIC/../../../../arch
-I/usr/src/sys/arch/i386/compile/GENERIC/../../../.. -DDDB -DDIAGNOSTIC -DKTRACE -DACCOUNTING
-DKMEMSTATS -DPTRACE -DCRYPTO -DSYSVMSG -DSYSVSEM -DSYSVSHM -DUVM_SWAP_ENCRYPT
-DCOMPAT_35 -DCOMPAT_43 -DLKM -DFFS -DFFS_SOFTUPDATES -DUFS_DIRHASH -DQUOTA
-DEXT2FS -DMFS -DXFS -DTCP_SACK -DTCP_ECN -DTCP_SIGNATURE -DNFSCLIENT -DNFSSERVER
-DCD9660 -DUDF -DMSDOSFS -DFIFO -DPORTAL -DINET -DALTQ -DINET6 -DIPSEC -DPPP_BSDCOMP
-DPPP_DEFLATE -DMROUTING -DBOOT_CONFIG -DI386_CPU -DI486_CPU -DI586_CPU -DI686_CPU
-DUSER_PCICONF -DUSER_LDT -DAPERTURE -DCOMPAT_SVR4 -DCOMPAT_IBCS2 -DCOMPAT_LINUX
-DCOMPAT_FREEBSD -DCOMPAT_BSDOS -DCOMPAT_AOUT -DPROCFS -DACPIVERBOSE
-DPCIVERBOSE -DEISAVERBOSE -DUSBVERBOSE -DWSDISPLAY_COMPAT_USL
-DWSDISPLAY_COMPAT_RAWKBD -DWSDISPLAY_DEFAULTSCREENS="6" -DWSDISPLAY_COMPAT_PCVT
-DPCIAGP -D_KERNEL -Di386  -c /usr/src/sys/arch/i386/compile/GENERIC/../../../../dev/pci/trm_pci.c
/usr/src/sys/dev/pci/trm_pci.c:67: warning: excess elements in struct initializer
/usr/src/sys/dev/pci/trm_pci.c:67: warning: (near initialization for `trm_pci_ca')
*** Error code 1
 
Stop in /usr/src/sys/arch/i386/compile/GENERIC (line 2595 of Makefile).

------------------------------------------------------------------------------------------------------
Ministry of Higher Education
CEDIES
rte d'Esch, 211
L-1471 Luxembourg
Tel: (+352) 478-8669
Fax: (+352) 455656

Pgp key:
http://www.cedies.public.lu/pgp-keys/
------------------------------------------------------------------------------------------------------

Reply | Threaded
Open this post in threaded view
|

Re: running snapshot (obsd 3.9-beta), not able to compile GENERIC kernel

Lukasz Sztachanski
On Sun, Jan 22, 2006 at 12:01:18PM +0000, Didier Wiroth wrote:
> /usr/src/sys/dev/pci/trm_pci.c:67: warning: excess elements in struct initializer
> /usr/src/sys/dev/pci/trm_pci.c:67: warning: (near initialization for `trm_pci_ca')
> *** Error code 1
>  
> Stop in /usr/src/sys/arch/i386/compile/GENERIC (line 2595 of Makefile).
>
i had same error yesterday; today, i've synced -current, and everything
is all right.



                                - Lukasz Sztachanski


--
0x058B7133 // 16AB 4EBC 29DA D92D 8DBE  BC01 FC91 9EF7 058B 7133
http://szati.blogspot.com
http://szati.entropy.pl

Reply | Threaded
Open this post in threaded view
|

Re: running snapshot (obsd 3.9-beta), not able to compile GENERIC kernel

Jonathan Gray
In reply to this post by Didier Wiroth
On Sun, Jan 22, 2006 at 12:01:18PM +0000, Didier Wiroth wrote:

> Hi,
> I've installed (on a newly formated disk) openbsd 3.9-beta (snapshot from 19.1) on my laptop  
> I've added a few packages from the snapshot/packages/i386 (kdebase etc...)
> Then I've fetched the latest sources:
> cvs -q -d [hidden email]:/cvs get -P src
>  
> I tried to build a kernel like usual:
> config GENERIC, make clean depend and make etc...
> It failed after some time with "the same error", see below.
>  
> I downloaded and redownloaded a few times my sources because I thought it might
> be an unclean source tree but I had no luck so far.
>  
> I would like to understand what's wrong, did I do a mistake ...?
>  
> Thank you very much for helping.
>  
> Here is the error output:
>  
> cc  -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes  -Wno-uninitialized -Wno-format -Wno-main  
> -fno-builtin-printf -fno-builtin-log -O2 -pipe -nostdinc -I. -I/usr/src/sys/arch/i386/compile/GENERIC/../../../../arch
> -I/usr/src/sys/arch/i386/compile/GENERIC/../../../.. -DDDB -DDIAGNOSTIC -DKTRACE -DACCOUNTING
> -DKMEMSTATS -DPTRACE -DCRYPTO -DSYSVMSG -DSYSVSEM -DSYSVSHM -DUVM_SWAP_ENCRYPT
> -DCOMPAT_35 -DCOMPAT_43 -DLKM -DFFS -DFFS_SOFTUPDATES -DUFS_DIRHASH -DQUOTA
> -DEXT2FS -DMFS -DXFS -DTCP_SACK -DTCP_ECN -DTCP_SIGNATURE -DNFSCLIENT -DNFSSERVER
> -DCD9660 -DUDF -DMSDOSFS -DFIFO -DPORTAL -DINET -DALTQ -DINET6 -DIPSEC -DPPP_BSDCOMP
> -DPPP_DEFLATE -DMROUTING -DBOOT_CONFIG -DI386_CPU -DI486_CPU -DI586_CPU -DI686_CPU
> -DUSER_PCICONF -DUSER_LDT -DAPERTURE -DCOMPAT_SVR4 -DCOMPAT_IBCS2 -DCOMPAT_LINUX
> -DCOMPAT_FREEBSD -DCOMPAT_BSDOS -DCOMPAT_AOUT -DPROCFS -DACPIVERBOSE
> -DPCIVERBOSE -DEISAVERBOSE -DUSBVERBOSE -DWSDISPLAY_COMPAT_USL
> -DWSDISPLAY_COMPAT_RAWKBD -DWSDISPLAY_DEFAULTSCREENS="6" -DWSDISPLAY_COMPAT_PCVT
> -DPCIAGP -D_KERNEL -Di386  -c /usr/src/sys/arch/i386/compile/GENERIC/../../../../dev/pci/trm_pci.c
> /usr/src/sys/dev/pci/trm_pci.c:67: warning: excess elements in struct initializer
> /usr/src/sys/dev/pci/trm_pci.c:67: warning: (near initialization for `trm_pci_ca')
> *** Error code 1
>  
> Stop in /usr/src/sys/arch/i386/compile/GENERIC (line 2595 of Makefile).

The tree was very briefly broken, do a cvs update and this should be fixed.

Reply | Threaded
Open this post in threaded view
|

Re: running snapshot (obsd 3.9-beta), not able to compile GENERIC kernel

Didier Wiroth
On Sun, Jan 22, 2006 at 12:01:18PM +0000, Didier Wiroth wrote:
/usr/src/sys/arch/i386/compile/GENERIC/../../../../dev/pci/trm_pci.c
> /usr/src/sys/dev/pci/trm_pci.c:67: warning: excess elements in struct initializer
> /usr/src/sys/dev/pci/trm_pci.c:67: warning: (near initialization for `trm_pci_ca')
> *** Error code 1
>
> Stop in /usr/src/sys/arch/i386/compile/GENERIC (line 2595 of Makefile).

>The tree was very briefly broken, do a cvs update and this should be fixed.

Thx a lot, fixed now!
Regards
Didier

------------------------------------------------------------------------------------------------------
Ministry of Higher Education
CEDIES
rte d'Esch, 211
L-1471 Luxembourg
Tel: (+352) 478-8669
Fax: (+352) 455656

Pgp key:
http://www.cedies.public.lu/pgp-keys/
------------------------------------------------------------------------------------------------------