From owner-freebsd-questions Sun Sep 17 21:44:30 2000 Delivered-To: freebsd-questions@freebsd.org Received: from hermes.teiath.gr (hermes.teiath.gr [195.130.100.19]) by hub.freebsd.org (Postfix) with ESMTP id 9918C37B423 for ; Sun, 17 Sep 2000 21:44:24 -0700 (PDT) Received: from zetaa ([195.130.97.47]) by hermes.teiath.gr (8.9.3/8.9.3) with SMTP id HAA24762; Mon, 18 Sep 2000 07:44:10 +0300 (EET DST) Message-ID: <000901c0212b$1b6220e0$2f6182c3@zetaa> From: "Antonis Proimadis" To: "Joseph E. Royce" Cc: References: <001d01c01feb$7826d3c0$2f6182c3@zetaa> <20000916110439.A18546@freyr.cba.ualr.edu> <008b01c02093$6e699b30$2f6182c3@zetaa> <20000917063016.A1549@freyr.cba.ualr.edu> Subject: Re: Error Compiling a kernel. Date: Mon, 18 Sep 2000 07:44:08 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Now when i try to "make" i get this error ../../mfs/nfs_serv.c:2768:each undeclared identifier is reported only once ../../mfs/nfs_serv.c:2768::for each function appears in .) ../../mfs/nfs_serv.c:2768:syntax error before ')' ../../mfs/nfs_serv.c:2768:warning implicit declaration of function t ../../mfs/nfs_serv.c:2768:syntax error before else ../../mfs/nfs_serv.c:2782:warning: 'mb2' might be used uninitialized in this function Now that what could it be? Thank you Antonis ----- Original Message ----- From: "Joseph E. Royce" To: "Antonis Proimadis" Cc: Sent: Sunday, September 17, 2000 2:30 PM Subject: Re: Error Compiling a kernel. > 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