From owner-freebsd-questions Sat Jul 13 23:14:12 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A149737B400 for ; Sat, 13 Jul 2002 23:14:05 -0700 (PDT) Received: from melete.ch.intel.com (chfdns02.ch.intel.com [143.182.246.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF77A43E6A for ; Sat, 13 Jul 2002 23:14:04 -0700 (PDT) (envelope-from pavan.balaji@intel.com) Received: from fmsmsxvs042.fm.intel.com (fmsmsxvs042.fm.intel.com [132.233.42.128]) by melete.ch.intel.com (8.11.6/8.11.6/d: solo.mc,v 1.42 2002/05/23 22:21:11 root Exp $) with SMTP id g6E6E4r03464 for ; Sun, 14 Jul 2002 06:14:04 GMT Received: from fmsmsx26.fm.intel.com ([132.233.42.26]) by fmsmsxvs042.fm.intel.com (NAVGW 2.5.2.11) with SMTP id M2002071323144722271 ; Sat, 13 Jul 2002 23:14:47 -0700 Received: by fmsmsx26.fm.intel.com with Internet Mail Service (5.5.2653.19) id ; Sat, 13 Jul 2002 23:14:03 -0700 Message-ID: <3D386AED1B47D411A94300508B11F18703BC5B9F@fmsmsx116.fm.intel.com> From: "Balaji, Pavan" To: "'Kyle J. McFarlane'" , freebsd-questions@FreeBSD.ORG Subject: RE: as(1) make error on make buildworld Date: Sat, 13 Jul 2002 23:14:02 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I had a similar problem with libpam where the compiler wasn't able to recognise the inline command. I removed it's entry from my makefile for the time being. If you do figure out what the problem is, please post it on the group. Thanx! Pavan Balaji, CIS Graduate Student, Ohio State University "Being happy doesn't mean that everything is perfect... It just means that you have decided to see beyond the imperfections" -- Rash > -----Original Message----- > From: Kyle J. McFarlane [mailto:kylejmcf@ihug.co.nz] > Sent: Sunday, July 14, 2002 12:36 AM > To: freebsd-questions@FreeBSD.ORG > Subject: as(1) make error on make buildworld > > > Hullo all, > > I've got a 4.5 machine, and am trying to upgrade to 4.6. > I've downloaded > all the sources with cvsup, and have the following problem with as > compilation when i make buildworld: > > -- start output -- > In file included from > /usr/src/gnu/usr.bin/binutils/as/i386-freebsd/../../../../../c > ontrib/binutils/gas/as.h:636, > from > /usr/src/gnu/usr.bin/binutils/as/i386-freebsd/../../../../../c > ontrib/binutils/gas/dwarf2dbg.c:31: > /usr/src/gnu/usr.bin/binutils/as/i386-freebsd/../../../../../c > ontrib/binutils/gas/tc.h:68: warning: redundant redeclaration > of `number_to_chars_littleendian' in same scope > /usr/src/gnu/usr.bin/binutils/as/i386-freebsd/../../../../../c > ontrib/binutils/gas/write.h:188: warning: previous > declaration of `number_to_chars_littleendian' > /usr/src/gnu/usr.bin/binutils/as/i386-freebsd/../../../../../c > ontrib/binutils/gas/dwarf2dbg.c: In function `dwarf2_directive_file': > /usr/src/gnu/usr.bin/binutils/as/i386-freebsd/../../../../../c > ontrib/binutils/gas/dwarf2dbg.c:348: warning: comparison > between signed and unsigned > /usr/src/gnu/usr.bin/binutils/as/i386-freebsd/../../../../../c > ontrib/binutils/gas/dwarf2dbg.c: At top level: > /usr/src/gnu/usr.bin/binutils/as/i386-freebsd/../../../../../c > ontrib/binutils/gas/dwarf2dbg.c:438: syntax error before `void' > /usr/src/gnu/usr.bin/binutils/as/i386-freebsd/../../../../../c > ontrib/binutils/gas/dwarf2dbg.c:447: syntax error before `void' > /usr/src/gnu/usr.bin/binutils/as/i386-freebsd/../../../../../c > ontrib/binutils/gas/dwarf2dbg.c:456: syntax error before `void' > /usr/src/gnu/usr.bin/binutils/as/i386-freebsd/../../../../../c > ontrib/binutils/gas/dwarf2dbg.c:465: syntax error before `void' > /usr/src/gnu/usr.bin/binutils/as/i386-freebsd/../../../../../c > ontrib/binutils/gas/dwarf2dbg.c:483: syntax error before `void' > /usr/src/gnu/usr.bin/binutils/as/i386-freebsd/../../../../../c > ontrib/binutils/gas/dwarf2dbg.c: In function `out_set_addr': > /usr/src/gnu/usr.bin/binutils/as/i386-freebsd/../../../../../c > ontrib/binutils/gas/dwarf2dbg.c:542: warning: declaration of > `expr' shadows global declaration > /usr/src/gnu/usr.bin/binutils/as/i386-freebsd/../../../../../c > ontrib/binutils/gas/dwarf2dbg.c: In function `relax_inc_line_addr': > /usr/src/gnu/usr.bin/binutils/as/i386-freebsd/../../../../../c > ontrib/binutils/gas/dwarf2dbg.c:745: warning: declaration of > `expr' shadows global declaration > /usr/src/gnu/usr.bin/binutils/as/i386-freebsd/../../../../../c > ontrib/binutils/gas/dwarf2dbg.c: In function `out_debug_line': > /usr/src/gnu/usr.bin/binutils/as/i386-freebsd/../../../../../c > ontrib/binutils/gas/dwarf2dbg.c:959: warning: declaration of > `expr' shadows global declaration > /usr/src/gnu/usr.bin/binutils/as/i386-freebsd/../../../../../c > ontrib/binutils/gas/dwarf2dbg.c: In function `out_debug_aranges': > /usr/src/gnu/usr.bin/binutils/as/i386-freebsd/../../../../../c > ontrib/binutils/gas/dwarf2dbg.c:1027: warning: declaration of > `expr' shadows global declaration > /usr/src/gnu/usr.bin/binutils/as/i386-freebsd/../../../../../c > ontrib/binutils/gas/dwarf2dbg.c: In function `out_debug_info': > /usr/src/gnu/usr.bin/binutils/as/i386-freebsd/../../../../../c > ontrib/binutils/gas/dwarf2dbg.c:1133: warning: declaration of > `expr' shadows global declaration > *** Error code 1 > > Stop in /usr/src/gnu/usr.bin/binutils/as/i386-freebsd. > *** Error code 1 > > Stop in /usr/src/gnu/usr.bin/binutils/as. > *** Error code 1 > > Stop in /usr/src/gnu/usr.bin/binutils. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > # exit > > -- stop output -- > > The syntax error seems to come from the compiler not recognising the > 'inline' part of the function prototypes for out_byte(), out_opcode(), > out_two() and out_four() functions. > > uname -a gives: > FreeBSD atlas.ihug.co.nz 4.5-RELEASE FreeBSD 4.5-RELEASE #0: > Fri Jul 5 21:11:14 NZST 2002 > kylejmcf@atlas.ihug.co.nz:/usr/src/sys/compile/ATLAS i386 > > CC version is 2.95.3. > > Can anyone point out a fix? > > Cheers > > Kyle McFarlane > kylejmcf@ihug.co.nz > > 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