LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 05-30-2021, 07:08 AM   #1
librosay
LQ Newbie
 
Registered: May 2021
Posts: 2

Rep: Reputation: Disabled
book 10.1 gettext-0.21 make error


when I cd gettext-0.21 in chroot environment, and configure && make by:
./configure --disable-shared
make

It occured errors. Some messages are available here:


make[4]: Entering directory '/sources/gettext-0.21/libtextstyle/adhoc-tests'

gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I../lib -I./../lib -DSRCDIR="./" -g -O2 -MT hello.o -MD -MP -MF .deps/hello.Tpo -c -o hello.o hello.c

mv -f .deps/hello.Tpo .deps/hello.Po

/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o hello hello.o ../lib/libtextstyle.la

libtool: link: gcc -g -O2 -o hello hello.o ../lib/.libs/libtextstyle.a -lm -lncurses

/usr/lib/gcc/x86_64-lfs-linux-gnu/10.2.0/../../../../x86_64-lfs-linux-gnu/bin/ld: ../lib/.libs/libtextstyle.a(term-styled-ostream.o): in function `style_compute_color_value':

/sources/gettext-0.21/libtextstyle/lib/term-styled-ostream.oo.c:289: undefined reference to `libtextstyle_cr_rgb_is_set_to_inherit'

/usr/lib/gcc/x86_64-lfs-linux-gnu/10.2.0/../../../../x86_64-lfs-linux-gnu/bin/ld: /sources/gettext-0.21/libtextstyle/lib/term-styled-ostream.oo.c:291: undefined reference to `libtextstyle_cr_rgb_is_set_to_transparent'

/usr/lib/gcc/x86_64-lfs-linux-gnu/10.2.0/../../../../x86_64-lfs-linux-gnu/bin/ld: /sources/gettext-0.21/libtextstyle/lib/term-styled-ostream.oo.c:302: undefined reference to `libtextstyle_cr_rgb_copy'

/usr/lib/gcc/x86_64-lfs-linux-gnu/10.2.0/../../../../x86_64-lfs-linux-gnu/bin/ld: /sources/gettext-0.21/libtextstyle/lib/term-styled-ostream.oo.c:303: undefined reference to `libtextstyle_cr_rgb_compute_from_percentage'

/usr/lib/gcc/x86_64-lfs-linux-gnu/10.2.0/../../../../x86_64-lfs-linux-gnu/bin/ld: ../lib/.libs/libtextstyle.a(term-styled-ostream.o): in function `term_styled_ostream__free':

/sources/gettext-0.21/libtextstyle/lib/term-styled-ostream.oo.c:108: undefined reference to `libtextstyle_cr_cascade_destroy'

/usr/lib/gcc/x86_64-lfs-linux-gnu/10.2.0/../../../../x86_64-lfs-linux-gnu/bin/ld: /sources/gettext-0.21/libtextstyle/lib/term-styled-ostream.oo.c:109: undefined reference to `libtextstyle_cr_sel_eng_destroy'

/usr/lib/gcc/x86_64-lfs-linux-gnu/10.2.0/../../../../x86_64-lfs-linux-gnu/bin/ld: ../lib/.libs/libtextstyle.a(term-styled-ostream.o): in function `match':

/sources/gettext-0.21/libtextstyle/lib/term-styled-ostream.oo.c:431: undefined reference to `libtextstyle_xmlNewNode'

/usr/lib/gcc/x86_64-lfs-linux-gnu/10.2.0/../../../../x86_64-lfs-linux-gnu/bin/ld: /sources/gettext-0.21/libtextstyle/lib/term-styled-ostream.oo.c:449: undefined reference to `libtextstyle_xmlNewNode'

/usr/lib/gcc/x86_64-lfs-linux-gnu/10.2.0/../../../../x86_64-lfs-linux-gnu/bin/ld: /sources/gettext-0.21/libtextstyle/lib/term-styled-ostream.oo.c:451: undefined reference to `libtextstyle_xmlSetProp'

/usr/lib/gcc/x86_64-lfs-linux-gnu/10.2.0/../../../../x86_64-lfs-linux-gnu/bin/ld: /sources/gettext-0.21/libtextstyle/lib/term-styled-ostream.oo.c:454: undefined reference to `libtextstyle_xmlAddChild'

/usr/lib/gcc/x86_64-lfs-linux-gnu/10.2.0/../../../../x86_64-lfs-linux-gnu/bin/ld: ../lib/.libs/libtextstyle.a(term-styled-ostream.o): in function `crx_sel_eng_get_matched_style':

/sources/gettext-0.21/libtextstyle/lib/term-styled-ostream.oo.c:190: undefined reference to `libtextstyle_cr_sel_eng_get_matched_properties_from_cascade'

/usr/lib/gcc/x86_64-lfs-linux-gnu/10.2.0/../../../../x86_64-lfs-linux-gnu/bin/ld: ../lib/.libs/libtextstyle.a(term-styled-ostream.o): in function `crx_style_new':

/sources/gettext-0.21/libtextstyle/lib/term-styled-ostream.oo.c:155: undefined reference to `libtextstyle_cr_style_new'

/usr/lib/gcc/x86_64-lfs-linux-gnu/10.2.0/../../../../x86_64-lfs-linux-gnu/bin/ld: ../lib/.libs/libtextstyle.a(term-styled-ostream.o): in function `crx_sel_eng_get_matched_style':

/sources/gettext-0.21/libtextstyle/lib/term-styled-ostream.oo.c:230: undefined reference to `libtextstyle_cr_prop_list_get_decl'

/usr/lib/gcc/x86_64-lfs-linux-gnu/10.2.0/../../../../x86_64-lfs-linux-gnu/bin/ld: /sources/gettext-0.21/libtextstyle/lib/term-styled-ostream.oo.c:231: undefined reference to `libtextstyle_cr_style_set_style_from_decl'

/usr/lib/gcc/x86_64-lfs-linux-gnu/10.2.0/../../../../x86_64-lfs-linux-gnu/bin/ld: /sources/gettext-0.21/libtextstyle/lib/term-styled-ostream.oo.c:226: undefined reference to `libtextstyle_cr_prop_list_get_next'

/usr/lib/gcc/x86_64-lfs-linux-gnu/10.2.0/../../../../x86_64-lfs-linux-gnu/bin/ld: /sources/gettext-0.21/libtextstyle/lib/term-styled-ostream.oo.c:265: undefined reference to `libtextstyle_cr_prop_list_destroy'

/usr/lib/gcc/x86_64-lfs-linux-gnu/10.2.0/../../../../x86_64-lfs-linux-gnu/bin/ld: ../lib/.libs/libtextstyle.a(term-styled-ostream.o): in function `crx_style_destroy':

/sources/gettext-0.21/libtextstyle/lib/term-styled-ostream.oo.c:173: undefined reference to `libtextstyle_cr_style_destroy'

/usr/lib/gcc/x86_64-lfs-linux-gnu/10.2.0/../../../../x86_64-lfs-linux-gnu/bin/ld: ../lib/.libs/libtextstyle.a(term-styled-ostream.o): in function `match':

/sources/gettext-0.21/libtextstyle/lib/term-styled-ostream.oo.c:509: undefined reference to `libtextstyle_xmlFreeNodeList'

/usr/lib/gcc/x86_64-lfs-linux-gnu/10.2.0/../../../../x86_64-lfs-linux-gnu/bin/ld: ../lib/.libs/libtextstyle.a(term-styled-ostream.o): in function `crx_sel_eng_get_matched_style':

/sources/gettext-0.21/libtextstyle/lib/term-styled-ostream.oo.c:243: undefined reference to `libtextstyle_cr_string_peek_raw_str'

/usr/lib/gcc/x86_64-lfs-linux-gnu/10.2.0/../../../../x86_64-lfs-linux-gnu/bin/ld: ../lib/.libs/libtextstyle.a(term-styled-ostream.o): in function `term_styled_ostream_create':

/sources/gettext-0.21/libtextstyle/lib/term-styled-ostream.oo.c:649: undefined reference to `libtextstyle_cr_om_parser_simply_parse_file'

/usr/lib/gcc/x86_64-lfs-linux-gnu/10.2.0/../../../../x86_64-lfs-linux-gnu/bin/ld: /sources/gettext-0.21/libtextstyle/lib/term-styled-ostream.oo.c:657: undefined reference to `libtextstyle_cr_cascade_new'

/usr/lib/gcc/x86_64-lfs-linux-gnu/10.2.0/../../../../x86_64-lfs-linux-gnu/bin/ld: /sources/gettext-0.21/libtextstyle/lib/term-styled-ostream.oo.c:658: undefined reference to `libtextstyle_cr_sel_eng_new'

collect2: error: ld returned 1 exit status

make[4]: *** [Makefile:1567: hello] Error 1

make[4]: Leaving directory '/sources/gettext-0.21/libtextstyle/adhoc-tests'

make[3]: *** [Makefile:1786: all-recursive] Error 1

make[3]: Leaving directory '/sources/gettext-0.21/libtextstyle'

make[2]: *** [Makefile:1714: all] Error 2

make[2]: Leaving directory '/sources/gettext-0.21/libtextstyle'

make[1]: *** [Makefile:403: all-recursive] Error 1

make[1]: Leaving directory '/sources/gettext-0.21'

make: *** [Makefile:359: all] Error 2
 
Old 05-30-2021, 07:10 AM   #2
librosay
LQ Newbie
 
Registered: May 2021
Posts: 2

Original Poster
Rep: Reputation: Disabled
How can I get rid of the error ? Is the problem caused by Ncurses-6.2 ?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LFS-9.0, gettext: No rule to make target 'install-nobase_includeHEADERS'. Lennie Linux From Scratch 3 09-17-2019 09:06 AM
[SOLVED] Book 6.8 -6.42- Installing Gettext mreff555 Linux From Scratch 12 09-13-2015 06:54 AM
Gettext Compile error during 'make' tcom Linux From Scratch 3 11-13-2005 10:29 AM
C# compiler not found during "make" of Gettext-0.14.1 korona100 Linux From Scratch 3 03-15-2004 05:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 10:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration