Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Dec 2000 20:03:11 -0800
From:      Kent Stewart <kstewart@urx.com>
To:        Brad Watts <bradleywatts@home.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Please Help: Error Compiling GENERIC Kernel
Message-ID:  <3A38467F.FA21EC6F@urx.com>
References:  <OE56wRPQIWDO3hRDT6Z0000bbc4@hotmail.com>

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


Brad Watts wrote:
> 
> Hi there,
> 
> I was attempting to compile my GENERIC Kernel as follows: Help, what can I
> do to resolve?
> 
>     # cd /usr/src
>     # make buildkernel KERNEL=GENERIC
>     # make installkernel KERNEL=GENERIC

This way only works after you have done a "make buildworld". The
buildkernel method of building a kernel depends on code located in
/usr/obj. If you have a current system, then you can use the "config
GENERIC" was of building your kernel.

Kent

> 
> ----------------------------------------------------------------------------
> ----------------------------------------------------------------------------
> -
> 
> > /tmp/ccU13472.s:2311: Error: Subtraction of two symbols in different
> > sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file
> > address 790.
> > /tmp/ccU13472.s:2324: Error: Subtraction of two symbols in different
> > sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section
> > } at file address 801.
> > /tmp/ccU13472.s:2332: Error: Subtraction of two symbols in different
> > sections "end" {*UND* section} - "KERNBASE" {*UND* section} at fil
> > e address 823.
> > /tmp/ccU13472.s:2335: Error: Negative of non-absolute symbol KERNBASE
> > /tmp/ccU13472.s:2340: Error: Negative of non-absolute symbol KERNBASE
> > /tmp/ccU13472.s:2341: Error: Negative of non-absolute symbol KERNBASE
> > /tmp/ccU13472.s:2345: Error: Negative of non-absolute symbol KERNBASE
> > /tmp/ccU13472.s:2353: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at f
> > ile address 882.
> > /tmp/ccU13472.s:2354: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at f
> > ile address 888.
> > /tmp/ccU13472.s:2357: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at f
> > ile address 894.
> > /tmp/ccU13472.s:2357: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at f
> > ile address 906.
> > /tmp/ccU13472.s:2358: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at f
> > ile address 924.
> > /tmp/ccU13472.s:2361: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at f
> > ile address 930.
> > /tmp/ccU13472.s:2361: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at f
> > ile address 942.
> > /tmp/ccU13472.s:2362: Error: Subtraction of two symbols in different
> > sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at
> > file address 960.
> > /tmp/ccU13472.s:2365: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at f
> > ile address 966.
> > /tmp/ccU13472.s:2365: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at f
> > ile address 978.
> > /tmp/ccU13472.s:2366: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at f
> > ile address 996.
> > /tmp/ccU13472.s:2368: Error: Subtraction of two symbols in different
> > sections "proc0paddr" {.data section} - "KERNBASE" {*UND* section}
> > at file address 1008.
> > /tmp/ccU13472.s:2370: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at f
> > ile address 1014.
> > /tmp/ccU13472.s:2370: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at f
> > ile address 1026.
> > /tmp/ccU13472.s:2371: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at f
> > ile address 1044.
> > /tmp/ccU13472.s:2373: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at f
> > ile address 1050.
> > /tmp/ccU13472.s:2373: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at f
> > ile address 1062.
> > /tmp/ccU13472.s:2374: Error: Subtraction of two symbols in different
> > sections "vm86pa" {.data section} - "KERNBASE" {*UND* section} at
> > file address 1080.
> > /tmp/ccU13472.s:2376: Error: Subtraction of two symbols in different
> > sections "vm86paddr" {.data section} - "KERNBASE" {*UND* section}
> > at file address 1092.
> > /tmp/ccU13472.s:2391: Error: Subtraction of two symbols in different
> > sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section
> > } at file address 1102.
> > /tmp/ccU13472.s:2396: Error: Subtraction of two symbols in different
> > sections "etext" {*UND* section} - "KERNBASE" {*UND* section} at file
> > address 1119.
> > /tmp/ccU13472.s:2399: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at f
> > ile address 1142.
> > /tmp/ccU13472.s:2402: Error: Subtraction of two symbols in different
> > sections "etext" {*UND* section} - "KERNBASE" {*UND* section} at f
> > ile address 1164.
> > /tmp/ccU13472.s:2408: Error: Subtraction of two symbols in different
> > sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section
> > } at file address 1185.
> > /tmp/ccU13472.s:2413: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at f
> > ile address 1203.
> > /tmp/ccU13472.s:2416: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at f
> > ile address 1222.
> > /tmp/ccU13472.s:2419: Error: Subtraction of two symbols in different
> > sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at
> > file address 1244.
> > /tmp/ccU13472.s:2421: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at f
> > ile address 1263.
> > /tmp/ccU13472.s:2424: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at f
> > ile address 1286.
> > /tmp/ccU13472.s:2426: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at f
> > ile address 1305.
> > /tmp/ccU13472.s:2431: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at f
> > ile address 1347.
> > /tmp/ccU13472.s:2434: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at f
> > ile address 1370.
> > /tmp/ccU13472.s:2436: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at f
> > ile address 1389.
> > /tmp/ccU13472.s:2442: Error: Subtraction of two symbols in different
> > sections "vm86pa" {.data section} - "KERNBASE" {*UND* section} at
> > file address 1431.
> > /tmp/ccU13472.s:2448: Error: Subtraction of two symbols in different
> > sections "vm86pa" {.data section} - "KERNBASE" {*UND* section} at
> > file address 1473.
> > /tmp/ccU13472.s:2454: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at f
> > ile address 1496.
> > /tmp/ccU13472.s:2457: Error: Subtraction of two symbols in different
> > sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at
> > file address 1512.
> > /tmp/ccU13472.s:2460: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at f
> > ile address 1535.
> > /tmp/ccU13472.s:2463: Error: Subtraction of two symbols in different
> > sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at
> > file address 1554.
> > /tmp/ccU13472.s:2466: Error: Subtraction of two symbols in different
> > sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at
> > file address 1577.
> > /tmp/ccU13472.s:2469: Error: Subtraction of two symbols in different
> > sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at
> > file address 1596.
> > *** Error code 1
> >
> > Stop in /usr/obj/usr/src/sys/GENERIC.
> > *** Error code 1
> >
> > Stop in /usr/src.
> > *** Error code 1
> >
> > Stop in /usr/src.
> >
> >
> ____________________________________________________________________________
> _________
> > Get more from the Web.  FREE MSN Explorer download :
> http://explorer.msn.com
> >
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
Kent Stewart
Richland, WA

mailto:kbstew99@hotmail.com
http://kstewart.urx.com/kstewart/index.html
FreeBSD News http://daily.daemonnews.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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