Re: Error when building binutils

2010-05-20 Thread joulnare18

Hi,

>I did this comand but with autoconf 2.61a.
>when tring to do it with 2.64 it give me :

>configure.in:25: warning:
AC_CACHE_VAL(_LT_TAGVAR(lt_prog_compiler_pic_works, ), ...): >suspicious
cache-id, must contain _cv_ to be cached
>../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
>../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
>../libtool.m4:1263: _LT_COMPILER_OPTION is expanded from...
>../libtool.m4:3385: _LT_COMPILER_PIC is expanded from...
>../libtool.m4:5081: _LT_LANG_C_CONFIG is expanded from...
>../libtool.m4:124: _LT_SETUP is expanded from...
>../libtool.m4:58: LT_INIT is expanded from...
>../libtool.m4:88: AC_PROG_LIBTOOL is expanded from...
>configure.in:25: the top level
>configure.in:25: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...):
suspicious >cache-id, must contain _cv_ to be cached
>../libtool.m4:1315: _LT_LINKER_OPTION is expanded from...


I solved this problem with generating aclocal.m4. I dont have this warning
when runing autoconf any more.

but when runing make, I have this error msg :

./binutils-2.18/bfd/configure: line 9237: syntax error near unexpected
token `GNU'
./binutils-2.18/bfd/configure: line 9237: `ACX_PKGVERSION(GNU Binutils)'

dose it mean that it was an error when generating configure file?

cheers
-- 
View this message in context: 
http://old.nabble.com/Error-when-building-binutils-tp28594130p28618763.html
Sent from the Gnu - Binutils - Bugs mailing list archive at Nabble.com.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


Re: Error when building binutils

2010-05-19 Thread Andreas Schwab
joulnare18  writes:

> How can I do it?

Configure with --enable-maintainer-mode.

Andreas.

-- 
Andreas Schwab, sch...@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84  5EC7 45C6 250E 6F00 984E
"And now for something completely different."

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


Re: Error when building binutils

2010-05-19 Thread joulnare18

Hi nick,

I did this comand but with autoconf 2.61a.
when tring to do it with 2.64 it give me :

configure.in:25: warning:
AC_CACHE_VAL(_LT_TAGVAR(lt_prog_compiler_pic_works, ), ...): suspicious
cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
../libtool.m4:1263: _LT_COMPILER_OPTION is expanded from...
../libtool.m4:3385: _LT_COMPILER_PIC is expanded from...
../libtool.m4:5081: _LT_LANG_C_CONFIG is expanded from...
../libtool.m4:124: _LT_SETUP is expanded from...
../libtool.m4:58: LT_INIT is expanded from...
../libtool.m4:88: AC_PROG_LIBTOOL is expanded from...
configure.in:25: the top level
configure.in:25: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...):
suspicious cache-id, must contain _cv_ to be cached
../libtool.m4:1315: _LT_LINKER_OPTION is expanded from...



and when I tried to build> I have this mgs:


libtool: Version mismatch error.  This is libtool 2.1a, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.1a
libtool: and run autoconf again.
make[4]: *** [archive.lo] Error 63
make[4]: Leaving directory `/home/berkania/sseq32/build_binutils/bfd'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/berkania/sseq32/build_binutils/bfd'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/berkania/sseq32/build_binutils/bfd'
make[1]: *** [all-bfd] Error 2
make[1]: Leaving directory `/home/berkania/sseq32/build_binutils'
make: *** [all] Error 2


cheers

-- 
View this message in context: 
http://old.nabble.com/Error-when-building-binutils-tp28594130p28610030.html
Sent from the Gnu - Binutils - Bugs mailing list archive at Nabble.com.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


Re: Error when building binutils

2010-05-19 Thread Nick Clifton

Hi joulnare18,


Or that you have not regenerated the bfd/configure file.


How can I do it?


Run the autoconf program in the bfd source directory.  Make sure that 
you are using version 2.64 of autoconf:


  % cd 
  % cd bfd
  % autoconf --version
  autoconf (GNU Autoconf) 2.64
  Copyright (C) 2009 Free Software Foundation, Inc.
  [...]

  % autoconf

Autoconf is usually included with most distributions, but you can also 
obtains copies from the project's website:


  http://www.gnu.org/software/autoconf/

Cheers
  Nick

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


Re: Error when building binutils

2010-05-19 Thread joulnare18

 Hi nickc,
 
thank you for your response.

> It sounds as though you have not added your new architecture to the 
> bfd/config.bfd and/or bfd/configure.in files. 
 
in config.bfd
 
I aded the lines:
 
myarch*) targ_archs=bfd_myarch_arch ;;
 
and 
 
myarch-*-*)
 targ_defvec=myarch_vec
 ;;
 
 
in configure.in
 
I aded the lines:
 
myarch_vec)   tb="$tb aout-myarch.lo" ;;
 
> Or that you have not regenerated the bfd/confgiure file. 
 
How can I do it?
 
>Or that you have not run "make headers" inside your bfd build directory.
 
I did it but no changes
 
cheers

-- 
View this message in context: 
http://old.nabble.com/Error-when-building-binutils-tp28594130p28608241.html
Sent from the Gnu - Binutils - Bugs mailing list archive at Nabble.com.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


Re: Error when building binutils

2010-05-19 Thread Nick Clifton

Hi Joulnare18,


I'm trying to port binutils to a new architecture.



  ../bfd/.libs/libbfd.a(archures.o)(.rodata+0x0): In function
`bfd_printable_name':
../../binutils-2.18/bfd/archures.c:595: undefined reference to
`bfd_sseq32_arch'


It sounds as though you have not added your new architecture to the 
bfd/config.bfd and/or bfd/configure.in files.  Or that you have not 
regenerated the bfd/confgiure file.  Or that you have not run "make 
headers" inside your bfd build directory.


Cheers
  Nick

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils