Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ncurse failed to make: incompatible CFLAG
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
mathfeel
l33t
l33t


Joined: 03 Aug 2004
Posts: 700

PostPosted: Thu Jul 19, 2007 11:44 am    Post subject: ncurse failed to make: incompatible CFLAG Reply with quote

ncurse-5.6-r2 failed:

Code:
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../ncurses -I/var/tmp/portage/sys-libs/ncurses-5.6-r2/work/ncurses-5.6/ncurses -I/var/tmp/portage/sys-libs/ncurses-5.6-r2/work/ncurses-5.6/ncurses/../include -I. -I../include  -D_GNU_SOURCE -DXTSTRINGDEFINES -DNDEBUG -O2 -march=pentium-m -pipe -fomit-frame-pointer  -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wwrite-strings -pg -c /var/tmp/portage/sys-libs/ncurses-5.6-r2/work/ncurses-5.6/ncurses/tty/hardscroll.c -o ../obj_p/hardscroll.o
i686-pc-linux-gnu-gcc: -pg and -fomit-frame-pointer are incompatible
make[1]: *** [../obj_p/hardscroll.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/sys-libs/ncurses-5.6-r2/work/narrowc/ncurses'
make: *** [all] Error 2
 *
 * ERROR: sys-libs/ncurses-5.6-r2 failed.
 * Call stack:
 *   ebuild.sh, line 1647:   Called dyn_compile
 *   ebuild.sh, line 988:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   ncurses-5.6-r2.ebuild, line 49:   Called do_compile
 *   ncurses-5.6-r2.ebuild, line 102:   Called die
 *
 * make failed
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/sys-libs:ncurses-5.6-r2:20070719-113444.log'.


The problem is some incompatible CFLAGS. What's the solution? I am building with fomit-frame-pointer off at the moment.
_________________
-----------------------------------------------------------
"In heaven all the interesting people are missing"
-- Friedrich Nietzsche
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Thu Jul 19, 2007 12:11 pm    Post subject: Reply with quote

Disable the "profile" USE flag.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
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