View previous topic :: View next topic |
Author |
Message |
Guest
|
Posted: Fri Aug 09, 2002 4:39 pm Post subject: gdb error |
|
|
hello, gdb fails compilis...
gcc -c -march=i686 -O3 -pipe -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../intl -I./../intl -DMI_OUT=1 -DUI_OUT=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized utils.c
In file included from /usr/include/curses.h:111,
from utils.c:30:
/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/stdbool.h:9: conflicting types for `false'
../bfd/bfd.h:102: previous declaration of `false'
/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/stdbool.h:11: conflicting types for `true'
../bfd/bfd.h:102: previous declaration of `true'
utils.c: In function `floatformat_from_doublest':
utils.c:2643: warning: pointer of type `void *' used in arithmetic
utils.c:2643: warning: pointer of type `void *' used in arithmetic
utils.c:2643: warning: pointer of type `void *' used in arithmetic
utils.c:2643: warning: pointer of type `void *' used in arithmetic
utils.c:2643: warning: pointer of type `void *' used in arithmetic
utils.c:2643: warning: pointer of type `void *' used in arithmetic
utils.c:2643: warning: pointer of type `void *' used in arithmetic
utils.c:2643: warning: pointer of type `void *' used in arithmetic
utils.c:2643: warning: pointer of type `void *' used in arithmetic
utils.c:2643: warning: pointer of type `void *' used in arithmetic
utils.c:2643: warning: pointer of type `void *' used in arithmetic
utils.c:2643: warning: pointer of type `void *' used in arithmetic
utils.c:2643: warning: pointer of type `void *' used in arithmetic
make[1]: *** [utils.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/gdb-5.1.1-r2/work/gdb-5.1.1/gdb'
make: *** [all-gdb] Error 2
gcc version 2.95.3 20010315 (release)
thanks already |
|
Back to top |
|
|
masseya Bodhisattva
Joined: 17 Apr 2002 Posts: 2602 Location: Baltimore, MD
|
Posted: Fri Aug 09, 2002 9:37 pm Post subject: |
|
|
That's unusual. I was able to complie gdb on a GCC 3.1 system with much more aggressive optimizations than the ones you are using here. Are you sure that you are trying to use the latest version of gdb? What's in you /usr/portage/profiles/package.mask file? What's the output of emerge -p gdb? You might just want to delete all the gdb related files in your /usr/portage/distfiles directory to make sure that you are going to get a fresh version from a server. _________________ if i never try anything, i never learn anything..
if i never take a risk, i stay where i am.. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|