Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jul 2002 23:14:02 -0700
From:      "Balaji, Pavan" <pavan.balaji@intel.com>
To:        "'Kyle J. McFarlane'" <kylejmcf@ihug.co.nz>, freebsd-questions@FreeBSD.ORG
Subject:   RE: as(1) make error on make buildworld
Message-ID:  <3D386AED1B47D411A94300508B11F18703BC5B9F@fmsmsx116.fm.intel.com>

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

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




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