This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

ask for help


   In order to build the motorola 68k cross compiler for my server, 
   I ftp binutils-2.9.1.tar.gz and gcc-2.8.1.tar.gz files to my server, and 
   decompress and extract them. I use in binutils-2.9.1 directory 
   "./configure --host=sparc-sun-solaris2 --target=monitor
--prefix=/home/cgduan/foo -v"
   command , it executes correctly; then I execute "make all install".
   In this step, it is said 

   "Making all in doc
   /bin/sh ./libtool --mode=link gcc -O2  -o size  size.o bucomm.o version.o
filemode.o ../bfd/libbfd.la    ../libiberty/libiberty.a 
   gcc -O2 -o size size.o bucomm.o version.o filemode.o
../bfd/.libs/libbfd.a ../libiberty/libiberty.a
   Undefined                       first referenced
      symbol                             in file
    __builtin_va_arg_incr               ../bfd/.libs/libbfd.a(bfd.o)
   ld: fatal: Symbol referencing errors. No output written to size
   *** Error code 1
   make: Fatal error: Command failed for target `size'
   Current working directory /home/cgduan/binutils-2.9.1/binutils
   *** Error code 1
   make: Fatal error: Command failed for target `all-binutils'   ".

   But I find "builtin_va_arg_arg"function defined in /usr/include/stdarg.h
and 
   varargs.h. In addition, I can't find that "builtin_va_arg_incr" function
is called.
   What is wrong?

   Your quick reply will be very appreciated.

   sincerely yours
   chenggang