Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Nov 2001 13:30:05 +0300
From:      Odhiambo Washington <wash@wananchi.com>
To:        freebsd-stable@freebsd.org
Cc:        jschlesn@physik.TU-Berlin.DE
Subject:   Re: Kernel building error
Message-ID:  <20011101133005.C21700@ns2.wananchi.com>
In-Reply-To: <20011031153224.A80361@physik.TU-Berlin.DE>
References:  <20011031101911.M29426@ns2.wananchi.com> <20011031153224.A80361@physik.TU-Berlin.DE>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
* Jan Schlesner <jschlesn@physik.TU-Berlin.DE> [20011031 17:31]: writing on the subject 'Re: Kernel building error'
| Hi,
| 
| I think, that we need more informations. E.g. have you delete
| all in /usr/obj and habe you build the system before you try
| to build a kernel? 



Yes,

cvsup -g -L 2 stable-supfile

after that,

cd /usr/src 
make world | tee ~wash/world-20011031 | tail -8 | mail wash@wananchi.com &

That completed nicely.

make kernel KERNCONF=Kern4.x | tee ~wash/kernel-20011031 | tail -10 | mail wash@wananchi.com &

That is where I got the error I posted below ;-)

I've even done a make clean inside /usr/src


I did modify my kernel file though and maybe that is where the problem comes from?
here is the section that, if anything, maybe suspect:


# Pseudo devices - the number indicates how many units to allocated.
pseudo-device   vlan    1       # VLAN support
pseudo-device   loop            # Network loopback
pseudo-device   ether           # Ethernet support
pseudo-device   sl      1       # Kernel SLIP
pseudo-device   ppp     1       # Point-to-point protocol
pseudo-device   sppp            # Generic Synchronous PPP
pseudo-device   tun             # Tunnel driver (ppp(8), nos-tun(8))
pseudo-device   pty     16      # Pseudo-ttys (telnet etc)
pseudo-device   md              # Memory "disks"
pseudo-device   gif             # IPv6 and IPv4 tunneling
pseudo-device   faith   1       # IPv6-to-IPv4 relaying (translation)
pseudo-device   stf     1       # 6to4 IPv6 over IPv4 encapsulation
pseudo-device   vn              # Allow mounting of ISO images as files
pseudo-device   ef              # Multiple ethernet frames support

I added ef, vlan, sppp to what I had previously. Now I don't really think that
would be an issue, no?

[snip]
| > After a cvsUP today, this happens
| > 
| > sh /usr/src/sys/conf/newvers.sh ALLIGATOR 
| > cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
| > -Wcast-q
| > ual  -fformat-extensions -ansi  -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/../include -I/usr/src/sys/contrib/ipfilter
| > -D_KERNE
| > L -include opt_global.h -elf  -mpreferred-stack-boundary=2  vers.c
| > linking kernel
| > *** Error code 1
| > 
| > Stop in /usr/obj/usr/src/sys/Kern4.x.
| > *** Error code 1
| > 
| > Stop in /usr/src.
[/snip]




-Wash

S y s t e m s   A d m i n i s t r a t o r
--
                                              ~\\_                 
 Odhiambo Washington                            \\\\               
 Wananchi Online Ltd.,                          `\\\\\             
 1st Flr Loita Hse, Loita Street                 |\\\\\            
 PO Box 10286,00100-NAIROBI,KE.                   \\\\\|__.--~~\   
 Fax: 254 2 313985-9                           _--~            /   
 Fax: 254 2 313922                           /~ //////  _-~~~~'    
 E-mail: wash@wananchi.com                  ('-//////-//           
 URL	: http://www.wananchi.com            //////(((-)           
 GSM: 254 72 743 223 / 254 733 744 121     /////"                  
                                        _///"                      

+++
It is said that the lonely eagle flies to the mountain peaks while the
lowly ant crawls the ground, but cannot the soul of the ant soar as
high as the eagle?

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE74SQtn7LIsuxjem8RAimiAKCk1mqo7yNRhM0A731z8V46IdSDqACeNhfb
2KnsRWViOHuZgj6jW+i3/SI=
=z4YR
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011101133005.C21700>