Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1989 - error when emerging gdb
Summary: error when emerging gdb
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-21 18:30 UTC by Cyril
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cyril 2002-04-21 18:30:23 UTC
when trying to emerge gdb, i get the following error:

[....]
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/work/gdb-5.1.1/gdb'
make: *** [all-gdb] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 15, Exitcode 2
!!! (no error message)

!!! emerge aborting on  /usr/portage/sys-devel/gdb/gdb-5.1.1.ebuild .
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-04-22 21:27:03 UTC
You have an ncurses version installed that was released, but then quickly masked
for problems like this.  Unless you are running gcc3, please downgrade to the
latest unmasked ncurses and try again.