Kernel compilation failed in 5.3-RELEASE

John Murphy sub01 at freeode.co.uk
Sun Nov 14 15:14:03 GMT 2004


Robert Kot wrote (quoting Subhro):

>> Recvsup and rebuild. Did you change anything in /etc/make.conf?
>>
>
>No, absolutely not. This is my /etc/make.conf:
>
># -- use.perl generated deltas -- #
># Created: Wed Nov 10 22:37:45 2004
># Setting to use base perl from ports:
>PERL_VER=5.8.5
>PERL_VERSION=5.8.5
>PERL_ARCH=mach
>NOPERL=yo
>NO_PERL=yo
>NO_PERL_WRAPPER=yo
>
>Isn't it supposed to work out of the box ?

It does! I've just compiled a kernel based on GENERIC with these
changes and it compiles without problem:
#cpu  I486_CPU
#cpu  I586_CPU
cpu  I686_CPU

options  EXT2FS
options  IPFIREWALL
options  IPFIREWALL_VERBOSE
options  IPFIREWALL_DEFAULT_TO_ACCEPT
options  MAC
options  GEOM_BDE
device  sound

One of the error messages you saw said:
/usr/src/sys/modules/splash/bmp/splash_bmp.c:60:
error: syntax error before "mod"

Perhaps that file got corrupted somehow.  You could delete the
/usr/src/sys directory (after backing up your config file) and
re-install the sys source from CD.  You could compare it with
its CVS Log entries if you can find them, it has moved but there
are traces at:
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/modules/splash/bmp/Attic/splash_bmp.c

Or you could simply manage without splash screens for now by
commenting out the device splash line in your kernel config.

>How can I do recvsup ? Sorry for the stupid question,
>I'm still a beginner. 

There should be no need unless you want to track STABLE.

-- 
John.


More information about the freebsd-questions mailing list