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]

Re: gnu build problems


Mike,

  Make sure that the include files that the gdb build is using
are the ones from your newly-made binutils.  On your machine,
you probably have include files from the system (Redhat install).
Certain include files may be different.  I had a problem earlier
this year because bfd.h files were different and my gdb build
was referring to the wrong one.


   Cheers,
   Jake


> Thanks so far for all the help.  I have been able to get
> the binutils built, the gcc compiler built, and newlib built.
> I can't get gdb built for some reason.  
> 
> Here is the output.  Once again I am running RedHat 4.1, gcc-2.7.2.2,
> gdb-4.16.
> 
> Thanks,
>  Mike Dorin
> 
> 
> Script started on Sun Dec 21 12:43:57 1997
> [root@titicaca build-gdb]# exitmake all install
> make[1]: Entering directory `/home/mad/build-gdb/libiberty'
> make[2]: Entering directory `/home/mad/build-gdb/libiberty'
> make[2]: Leaving directory `/home/mad/build-gdb/libiberty'
> make[1]: Leaving directory `/home/mad/build-gdb/libiberty'
> make[1]: Entering directory `/home/mad/build-gdb/bfd'
> if [ -n "" ]; then \
>   gcc -O2 -c  -I. -I../../gdb-4.16/bfd -I../../gdb-4.16/bfd/../include  -g ../../gdb-4.16/bfd/cisco-core.c -o pic/cisco-core.o; \
> else true; fi
> gcc -O2 -c -I. -I../../gdb-4.16/bfd -I../../gdb-4.16/bfd/../include  -g ../../gdb-4.16/bfd/cisco-core.c
> ../../gdb-4.16/bfd/cisco-core.c: In function `cisco_core_file_p':
> ../../gdb-4.16/bfd/cisco-core.c:188: `SIGEMT' undeclared (first use this function)
> ../../gdb-4.16/bfd/cisco-core.c:188: (Each undeclared identifier is reported only once
> ../../gdb-4.16/bfd/cisco-core.c:188: for each function it appears in.)
> make[1]: *** [cisco-core.o] Error 1
> make[1]: Leaving directory `/home/mad/build-gdb/bfd'
> make: *** [all-bfd] Error 2
> [root@titicaca build-gdb]# exit
> exit
> 
> Script done on Sun Dec 21 12:44:11 1997
> 
> ----- End of forwarded message from root -----
> 


-- 
   janovetz@uiuc.edu    | Once you have flown, you will walk the earth with
 University of Illinois | your eyes turned skyward, for there you have been,
                        | there you long to return.     -- da Vinci
        PP-ASEL         | http://www.ews.uiuc.edu/~janovetz/index.html