bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cannot compile binutils-2.13/libiberty/concat.c


From: Martin MOKREJŠ
Subject: Cannot compile binutils-2.13/libiberty/concat.c
Date: Tue, 17 Sep 2002 19:09:37 +0200 (CEST)

Hi,
  I'd like to add to the message below a note, that I can compile
successfully binutils-2.11.2. But, the resulting ld is not usable:

/software/@sys/usr/sparc-sun-solaris2.6/bin/ld:built in linker script:5: 
ignoring invalid character `@' in expression
/software/@sys/usr/sparc-sun-solaris2.6/bin/ld:built in linker script:5: parse 
error

  The reason for that is, that I used while configuring binutils the
following command:

./configure --prefix=/software/@sys/usr

  Please note that the address@hidden' is expanded by kernel, not by shell
(it is AFS variable).

  A bit expectably, when I specified the path is it gets expanded by
kernel anyway, the resulting ld binary works fine. So, to conclude,
this worked:

./configure --prefix=/software/sun4x_56/usr

  However, this doesn't solve my original problem with libiberty
(binutils-2.12.1 and binutils-2.13).

  BTW: The address address@hidden as listed in
binutils-2.13/libiberty/README does not exist anymore. :)

---------- Forwarded message ----------
From: Martin MOKREJŠ <address@hidden>
To: address@hidden
Date: Tue, 17 Sep 2002 16:56:29 +0200 (CEST)
Subject: Cannot compile binutils-2.13/libiberty

Hi,
  I cannot compile the above libiberty. It is included in gcc-3.2 and I
have exactly same problem there. Is this problem known?

$ /software/@sys/usr/bin/gcc -v
Reading specs from 
/software/@sys/usr/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/specs
gcc version 2.95.3 20010315 (release)
$

if [ x"" != x ]; then \
  /software/@sys/usr/bin/gcc -c -DHAVE_CONFIG_H -I/software/@sys/usr/include 
-I/software/@sys/usr/include/ncurses -I/software/@sys/usr/local/include -I. 
-I./../include  -W -Wall -Wtraditional -pedantic  concat.c -o pic/concat.o; \
else true; fi
/software/@sys/usr/bin/gcc -c -DHAVE_CONFIG_H -I/software/@sys/usr/include 
-I/software/@sys/usr/include/ncurses -I/software/@sys/usr/local/include -I. 
-I./../include  -W -Wall -Wtraditional -pedantic concat.c -o concat.o
concat.c:72: warning: ANSI does not permit the keyword `inline'
concat.c:73: warning: ANSI does not permit the keyword `inline'
concat.c:87: warning: ANSI does not permit the keyword `inline'
concat.c:88: warning: ANSI does not permit the keyword `inline'
concat.c: In function `concat_length':
concat.c:115: warning: implicit declaration of function `VA_OPEN'
concat.c:115: `args' undeclared (first use in this function)
concat.c:115: (Each undeclared identifier is reported only once
concat.c:115: for each function it appears in.)
concat.c:116: warning: implicit declaration of function `VA_FIXEDARG'
concat.c:116: parse error before `const'
concat.c:118: warning: implicit declaration of function `VA_CLOSE'
concat.c: In function `concat_copy':
concat.c:130: warning: function `VA_OPEN' was previously declared within a block
concat.c:130: `args' undeclared (first use in this function)
concat.c:131: warning: function `VA_FIXEDARG' was previously declared within a 
block
concat.c:131: parse error before `char'
concat.c:132: parse error before `const'
concat.c:135: warning: function `VA_CLOSE' was previously declared within a 
block
concat.c: In function `concat_copy2':
concat.c:147: warning: function `VA_OPEN' was previously declared within a block
concat.c:147: `args' undeclared (first use in this function)
concat.c:148: warning: function `VA_FIXEDARG' was previously declared within a 
block
concat.c:148: parse error before `const'
concat.c:150: warning: function `VA_CLOSE' was previously declared within a 
block
concat.c: In function `concat':
concat.c:161: warning: function `VA_OPEN' was previously declared within a block
concat.c:161: `args' undeclared (first use in this function)
concat.c:162: warning: function `VA_FIXEDARG' was previously declared within a 
block
concat.c:162: parse error before `const'
concat.c:164: warning: function `VA_CLOSE' was previously declared within a 
block
concat.c:168: parse error before `const'
concat.c: In function `reconcat':
concat.c:198: warning: function `VA_OPEN' was previously declared within a block
concat.c:198: `args' undeclared (first use in this function)
concat.c:199: warning: function `VA_FIXEDARG' was previously declared within a 
block
concat.c:199: parse error before `char'
concat.c:200: parse error before `const'
concat.c:202: warning: function `VA_CLOSE' was previously declared within a 
block
concat.c:206: parse error before `char'
concat.c:207: parse error before `const'
make[1]: *** [concat.o] Error 1
make[1]: Leaving directory `/scratch/binutils-2.13/libiberty'

-- 
Martin Mokrejs <address@hidden>, <address@hidden>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics <http://mips.gsf.de>
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax: +49-89-3187 3585






reply via email to

[Prev in Thread] Current Thread [Next in Thread]