From owner-freebsd-questions Sun Sep 17 4:31: 2 2000 Delivered-To: freebsd-questions@freebsd.org Received: from freyr.cba.ualr.edu (access65.mod1.ualr.edu [144.167.7.65]) by hub.freebsd.org (Postfix) with ESMTP id EF47837B42C for ; Sun, 17 Sep 2000 04:30:43 -0700 (PDT) Received: (from joe@localhost) by freyr.cba.ualr.edu (8.11.0/8.11.0) id e8HBUGG01581; Sun, 17 Sep 2000 06:30:16 -0500 (CDT) (envelope-from joe) Date: Sun, 17 Sep 2000 06:30:16 -0500 From: "Joseph E. Royce" To: Antonis Proimadis Cc: freebsd-questions@freebsd.org Subject: Re: Error Compiling a kernel. Message-ID: <20000917063016.A1549@freyr.cba.ualr.edu> References: <001d01c01feb$7826d3c0$2f6182c3@zetaa> <20000916110439.A18546@freyr.cba.ualr.edu> <008b01c02093$6e699b30$2f6182c3@zetaa> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <008b01c02093$6e699b30$2f6182c3@zetaa>; from antonisp@fnmail.com on Sun, Sep 17, 2000 at 01:38:32PM +0300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Please cc back to list because I may not know the answer. On Sun, Sep 17, 2000 at 01:38:32PM +0300, Antonis Proimadis wrote: > different sections "I dlePTD" {.data section} - "KERNBASE" {*UND* section} > at > file address 1554. /tmp/ccJu4105.s:2465: Error: Subtraction of two symbols > in > different sections "I dlePTD" {.data section} - "KERNBASE" {*UND* section} > at > file address 1577. /tmp/ccJu4105.s:2468: Error: Subtraction of two symbols > in > different sections "I dlePTD" {.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. > > > Could you tell me what is wrong? > Thank you > > Antonis > Well, it depends if you updated your sources or not. If you did then you need to buildworld before you buildkernel. The instructions to do this is in /usr/src/UPDATING. If you did not update your sources then you can do it the old way: cd /usr/src/sys/i386/conf config yourkernelfile cd ../../compile/yourkernelfile make depend make && make install -HTH, Joe > ----- Original Message ----- > From: "Joseph E. Royce" > To: "Antonis Proimadis" > Cc: > Sent: Saturday, September 16, 2000 7:04 PM > Subject: Re: Error Compiling a kernel. > > > > On Sat, Sep 16, 2000 at 05:35:22PM +0300, Antonis Proimadis wrote: > > > Hello, > > > i have a problem when i am trying to compile the kernel. > > > I edit GENERIC kernel and i try to compile the new kernel and i get the > > > error message > > > "Error Code 1" > > > I thought that perhaps i didn't edit corect the GENERIC kernel so i > tried to > > > compile the GENERIC kernel (that is correct) to see if i get this error, > and > > > i did get the same error. > > > My machine is a > > > Pentium 166 > > > 32Mb Ram > > > HD Quantum KA 9.1 > > > > > > Th full error message is > > > " > > > > This isn't the full error message. You need to give us the lines before > > the error code. > > > > > stop in /usr/obj/usr/src/sys/GENERIC > > > *** errror code 1 > > > > > > stop in /usr/src > > > *** Error code 1 > > > > > > Stop in /usr/src " > > > > > > I use Free BSD 4.1 > > > Could you please help me? > > > > > We would if we could but these messages only tell us that the > > compiler stopped compiling. > > > > -Joe > > > > > > > > Antonis > > > > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message