Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ncurses build error [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
suslik
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jul 2005
Posts: 133

PostPosted: Thu Sep 14, 2006 6:29 am    Post subject: ncurses build error [SOLVED] Reply with quote

CFLAGS="-march=athlon64 -O2 -pipe"
CONFIG_IA32_EMULATION=y
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"

gcc -v
Using built-in specs.
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/gcc-4.1.1-r1/work/gcc-4.1.1/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.1 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --enable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.1.1 (Gentoo 4.1.1-r1)


USE="static gcc64 amd64 -gnome nptl nptlonly ncurces kde X symlink -ipv6 qt qt4 X gcc4 nls \
v4l2 win32codecs nsplugin oss utf8 qt-static dlloader bitmap-fonts fam \
kdepim xcomposite quicktime v4l vcd vorbis encode freetype -mozilla firefox hal \
ffmpeg divx4linux kdeenablefinal -sasl -font-server -debug opengl \
-pcmcia ssl pic truetype-fonts type1-fonts userlocales glx type1 xft kdepim \
cairo pango cpudetection sse sse2 sse3 3dnow 3dnowext win32codecs wmv\
asf xanim avi dvd dvdr firefox qt4 quicktime truetype xml \
threads apache2 firefox gtk dga -bindist fbdevhw \
3dnow 3dnowext mmx mmxext lzo openal svgatheora xmms xvid xvmc \
slang unicode ncurses mmx lcms mng smp svg wmf java -mozdevelop"

Code:
x86_64-pc-linux-gnu-gcc -march=athlon64 -O2 -pipe -o color_set ../obj_s/color_set.o -Wl,-rpath,/var/tmp/portage/ncurses-5.5-r3/work/narrowc/lib -Wl,-O1 -Wl,--sort-common -Wl,-hashvals -Wl,-zdynsort -I../test -I/var/tmp/portage/ncurses-5.5-r3/work/ncurses-5.5/test -DHAVE_CONFIG_H -I/var/tmp/portage/ncurses-5.5-r3/work/ncurses-5.5/test/../include -I. -I../include  -D_GNU_SOURCE -DNDEBUG -march=athlon64 -O2 -pipe -fPIC  `echo "-L../lib -lform -lmenu -lpanel -lncurses  -ldl " | sed -e 's/-lform.*-lpanel[^ ]*//'`
../obj_s/cardfile.o: In function `show_legend':
cardfile.c:(.text+0x3d4): undefined reference to `stdscr'
cardfile.c:(.text+0x3dc): undefined reference to `werase'
cardfile.c:(.text+0x3e3): undefined reference to `LINES'
cardfile.c:(.text+0x3f2): undefined reference to `wmove'
cardfile.c:(.text+0x406): undefined reference to `waddnstr'
cardfile.c:(.text+0x41a): undefined reference to `waddnstr'
../obj_s/cardfile.o: In function `cardfile':
cardfile.c:(.text+0x540): undefined reference to `LINES'
cardfile.c:(.text+0x54d): undefined reference to `COLS'
cardfile.c:(.text+0x5c7): undefined reference to `wbkgd'
cardfile.c:(.text+0x5d4): undefined reference to `keypad'
cardfile.c:(.text+0x5dc): undefined reference to `new_panel'
cardfile.c:(.text+0x60e): undefined reference to `wborder'
cardfile.c:(.text+0x650): undefined reference to `derwin'
cardfile.c:(.text+0x687): undefined reference to `newwin'
cardfile.c:(.text+0x6b9): undefined reference to `update_panels'
cardfile.c:(.text+0x6be): undefined reference to `doupdate'
cardfile.c:(.text+0x6c7): undefined reference to `panel_window'
cardfile.c:(.text+0x6cf): undefined reference to `wgetch'
cardfile.c:(.text+0x731): undefined reference to `flash'
cardfile.c:(.text+0x7a7): undefined reference to `beep'
cardfile.c:(.text+0x977): undefined reference to `COLS'
cardfile.c:(.text+0x982): undefined reference to `LINES'
cardfile.c:(.text+0xa0c): undefined reference to `mvwin'
cardfile.c:(.text+0xa1c): undefined reference to `wresize'
cardfile.c:(.text+0xa24): undefined reference to `werase'
cardfile.c:(.text+0xa78): undefined reference to `derwin'
cardfile.c:(.text+0xac4): undefined reference to `delwin'
cardfile.c:(.text+0xaf2): undefined reference to `wborder'
../obj_s/cardfile.o: In function `main':
cardfile.c:(.text+0xbe2): undefined reference to `initscr'
cardfile.c:(.text+0xbe7): undefined reference to `cbreak'
cardfile.c:(.text+0xbf1): undefined reference to `noecho'
cardfile.c:(.text+0xc44): undefined reference to `endwin'
cardfile.c:(.text+0xc73): undefined reference to `has_colors'
cardfile.c:(.text+0xc98): undefined reference to `start_color'
cardfile.c:(.text+0xcac): undefined reference to `init_pair'
cardfile.c:(.text+0xcc0): undefined reference to `init_pair'
cardfile.c:(.text+0xcc7): undefined reference to `stdscr'
cardfile.c:(.text+0xcd4): undefined reference to `wbkgd'
../obj_s/cardfile.o: In function `order_cards':
cardfile.c:(.text+0x3a8): undefined reference to `top_panel'
../obj_s/cardfile.o: In function `show_legend':
cardfile.c:(.text+0x42f): undefined reference to `waddnstr'
../lib/libform.so: undefined reference to `wdelch'
../lib/libform.so: undefined reference to `is_linetouched'
../lib/libform.so: undefined reference to `wcursyncup'
../lib/libform.so: undefined reference to `winnstr'
../lib/libform.so: undefined reference to `newpad'
../lib/libform.so: undefined reference to `wclrtobot'
../lib/libform.so: undefined reference to `winsdelln'
../lib/libform.so: undefined reference to `copywin'
../lib/libform.so: undefined reference to `waddch'
../lib/libform.so: undefined reference to `winch'
../lib/libform.so: undefined reference to `winsnstr'
../lib/libform.so: undefined reference to `winsch'
../lib/libform.so: undefined reference to `wtouchln'
../lib/libform.so: undefined reference to `wsyncup'
../lib/libform.so: undefined reference to `wbkgdset'
../lib/libform.so: undefined reference to `wclrtoeol'
collect2: ld returned 1 exit status
make[1]: *** [cardfile] ¾èØÑÚÐ 1
make[1]: *** ¾ÖØÔÐÝØÕ ×ÐÒÕàèÕÝØï ×ÐÔÐÝØÙ...
make[1]: Leaving directory `/var/tmp/portage/ncurses-5.5-r3/work/narrowc/test'
make: *** [all] ¾èØÑÚÐ 2

!!! ERROR: sys-libs/ncurses-5.5-r3 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ncurses-5.5-r3.ebuild, line 50:   Called do_compile
  ncurses-5.5-r3.ebuild, line 93:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Back to top
View user's profile Send private message
suslik
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jul 2005
Posts: 133

PostPosted: Thu Sep 14, 2006 6:49 am    Post subject: Reply with quote

Thank you
a problem is decided after
emerge gettext and emerge gentoolkit
however badly ncurses ebuild noticed that the old version of gettext is set
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 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