Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* GDB Compilation issue on FreeBSD
@ 2008-01-10 19:15 Arun Paneri
  2008-01-10 19:22 ` Daniel Jacobowitz
  0 siblings, 1 reply; 2+ messages in thread
From: Arun Paneri @ 2008-01-10 19:15 UTC (permalink / raw)
  To: gdb

Hi All, 

Pls bear with me if it is a very basic question. 
I am struggling with compilation of GDB to debug GDB with GDB itself. 
I can compile gdb using "make" command at "/gnu/usr.bin/gdb" but it gives following error when i give "make CFLAGS=-g" command. 

/.amd_mnt/lab-home1/exports/home/apaneri/src/apaneri_zr_view/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/defs.h:27:52: config.h: No such file or directory 
/.amd_mnt/lab-home1/exports/home/apaneri/src/apaneri_zr_view/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/defs.h:46:22: ansidecl.h: No such file or directory 
/.amd_mnt/lab-home1/exports/home/apaneri/src/apaneri_zr_view/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/defs.h:51:25: gdb/signals.h: No such file or directory 
/.amd_mnt/lab-home1/exports/home/apaneri/src/apaneri_zr_view/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/defs.h:64:23: libiberty.h: No such file or directory 
/.amd_mnt/lab-home1/exports/home/apaneri/src/apaneri_zr_view/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/defs.h:67:17: bfd.h: No such file or directory 
In file included from /.amd_mnt/lab-home1/exports/home/apaneri/src/apaneri_zr_view/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/annotate.c:22: 
/.amd_mnt/lab-home1/exports/home/apaneri/src/apaneri_zr_view/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/defs.h:98: error: syntax error before "CORE_ADDR" 
/.amd_mnt/lab-home1/exports/home/apaneri/src/apaneri_zr_view/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/defs.h:98: warning: data definition has no type or storage class 
/.amd_mnt/lab-home1/exports/home/apaneri/src/apaneri_zr_view/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/defs.h:330: error: syntax error before "addr" 
Pls help me to solve this. 

Regards,


      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: GDB Compilation issue on FreeBSD
  2008-01-10 19:15 GDB Compilation issue on FreeBSD Arun Paneri
@ 2008-01-10 19:22 ` Daniel Jacobowitz
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2008-01-10 19:22 UTC (permalink / raw)
  To: Arun Paneri; +Cc: gdb

On Thu, Jan 10, 2008 at 11:14:59AM -0800, Arun Paneri wrote:
> Hi All, 
> 
> Pls bear with me if it is a very basic question. 
> I am struggling with compilation of GDB to debug GDB with GDB itself. 
> I can compile gdb using "make" command at "/gnu/usr.bin/gdb" but it gives following error when i give "make CFLAGS=-g" command. 

Run configure in the top level directory of the GDB source, not in a
subdirectory.

-- 
Daniel Jacobowitz
CodeSourcery


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-01-10 19:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-10 19:15 GDB Compilation issue on FreeBSD Arun Paneri
2008-01-10 19:22 ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox