This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

build/902: compilation of gdb fails when using the --with-mmalloc configure option


>Number:         902
>Category:       build
>Synopsis:       compilation of gdb fails when using the --with-mmalloc configure option
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 24 10:48:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     switsche@ichips.intel.com
>Release:        gdb-5.3
>Organization:
>Environment:
IA32 Red Hat Linux
>Description:
I tried to build gdb using the --with-mmalloc configure
option and it failed to compile.  I got the following 
error while compiling the objfiles.c file.  The
reason that I want to compile using --with-malloc 
is to enable generation of symbol files. 

gcc -c -g -O2    -I. -I. -I./config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd -I./../mmalloc -I./../include -I../intl -I./../intl -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_LARGEFILE64_SOURCE  -DMI_OUT=1 -DUI_OUT=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized  objfiles.c
objfiles.c: In function `allocate_objfile':
objfiles.c:194: request for member `cache' in something not a structure or union
objfiles.c:195: request for member `cache' in something not a structure or union
objfiles.c:196: request for member `cache' in something not a structure or union
objfiles.c:197: request for member `cache' in something not a structure or union
objfiles.c:225: request for member `cache' in something not a structure or union
objfiles.c:228: request for member `cache' in something not a structure or union
>How-To-Repeat:
tar zxvf gdb-5.3.tar.gz
cd gdb-5.3
./configure --with-mmalloc
make
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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