bugGNU gettext - Bugs: bug #45896, AIX: gettext-0.19.5.1: unresolved...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #45896: AIX: gettext-0.19.5.1: unresolved symbols while linking shared lib

Submitted by:  chris <chris1973>
Submitted on:  Mon 07 Sep 2015 02:31:07 PM UTC  
 
Category: BuildSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Tue 08 Sep 2015 10:06:36 AM UTC, comment #1:

adding -liconv and -lc to LDFLAGS got me a bit further...

but now

libtool: link: xlc_r -q32 -qsmp -qmaxmem=-1 -DNDEBUG -DSYSV -D_AIX -D_AIX32 -D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_AIX61 -D_AIX71 -D_ALL_SOURCE -DFUNCPROTO=15 -O2 -I/usr/local/itsvbuild/32/include -I/opt/freeware/include -Wl,-blibpath:/usr/local/itsvbuild/32/lib:/usr/lib:/lib -Wl,-bmaxdata:0x80000000 -Wl,-b32 -Wl,-bexpall -Wl,-bnoipath -Wl,-liconv -Wl,-lc -o .libs/msgfmt msgfmt-msgfmt.o msgfmt-write-mo.o msgfmt-write-java.o msgfmt-write-csharp.o msgfmt-write-resources.o msgfmt-write-tcl.o msgfmt-write-qt.o msgfmt-write-desktop.o ../../gettext-runtime/intl/msgfmt-hash-string.o -L/usr/local/src/gnutoolchain/gettext-0.19.5.1/gettext-tools/gnulib-lib/.libs -L/usr/local/src/gnutoolchain/gettext-0.19.5.1/gettext-tools/intl/.libs -L/usr/local/itsvbuild/32/lib -L/opt/freeware/lib -L/opt/freeware/lib64 -L./.libs -lgettextsrc -L/users3/olivap/sb/p64/export/power_510_32/usr/lib -L/gestconf/project/GNOME_ACL/GNOME/build/sh_dev_GNOME/export/power_510_32/usr/lib -L/gestconf/project/GNOME_ACL/GNOME/build/latest/export/power_510_32/usr/lib -L/users/project/PDP/PDP_51_050/usr/ccs/lib -L/users/project/PDP/PDP_51_050/usr/lib -lgettextlib -lglib-2.0 -lxml2 -llzma -lpthreads -lpthread -lz -lm -lncurses -lunistring -liconv -lintl -lexpat -lc -Wl,-blibpath:/usr/local/itsvbuild/32/dev/lib:/opt/freeware/lib:/usr/local/itsvbuild/32/lib:/usr/local/itsvbuild/32/lib:/usr/lib:/lib
ld: 0711-317 ERROR: Undefined symbol: .desktop_add_default_keywords
ld: 0711-317 ERROR: Undefined symbol: .desktop_unescape_string
ld: 0711-317 ERROR: Undefined symbol: .desktop_escape_string
ld: 0711-317 ERROR: Undefined symbol: .desktop_reader_alloc
ld: 0711-317 ERROR: Undefined symbol: .desktop_parse
ld: 0711-317 ERROR: Undefined symbol: .desktop_reader_free
ld: 0711-317 ERROR: Undefined symbol: .desktop_add_keyword
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
Makefile:2469: recipe for target 'msgfmt' failed
gmake[5]: *** [msgfmt] Error 8
gmake[5]: Leaving directory '/usr/local/src/gnutoolchain/gettext-0.19.5.1/gettext-tools/src'
Makefile:2260: recipe for target 'all' failed
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory '/usr/local/src/gnutoolchain/gettext-0.19.5.1/gettext-tools/src'
Makefile:1737: recipe for target 'all-recursive' failed
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory '/usr/local/src/gnutoolchain/gettext-0.19.5.1/gettext-tools'
Makefile:1603: recipe for target 'all' failed
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory '/usr/local/src/gnutoolchain/gettext-0.19.5.1/gettext-tools'
Makefile:380: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory '/usr/local/src/gnutoolchain/gettext-0.19.5.1'
Makefile:336: recipe for target 'all' failed
gmake: *** [all] Error 2

??

chris <chris1973>
Mon 07 Sep 2015 02:31:07 PM UTC, original submission:

OS: AIX
Compiler: IBM XLC 13.1.0 wiht AIX ld
CFLAGS: -q32 -qsmp -qmaxmem=-1 -DNDEBUG -DSYSV -D_AIX -D_AIX32 -D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_AIX61 -D_AIX71 -D_ALL_SOURCE -DFUNCPROTO=15 -O2 \
-I$APPATH/include -I/opt/freeware/include
LDFLAGS:"-L$APPATH/lib -L/opt/freeware/lib -L/opt/freeware/lib64 -L. -Wl,-blibpath:$APPATH/lib:/usr/lib:/lib -Wl,-bmaxdata:0x80000000 -Wl,-b32 -Wl,-bexpall -Wl,-bnoipath

libtool: link: rm -f -r .libs/libgettextsrc-0.19.5.1.a.d
libtool: link: mkdir .libs/libgettextsrc-0.19.5.1.a.d
libtool: link: xlc_r -Wl,-bM:SRE -o .libs/libgettextsrc-0.19.5.1.a.d/libgettextsrc-0.19.5.1.so .libs/libgettextsrc_la-message.o .libs/libgettextsrc_la-po-error.o .libs/libgettextsrc_la-po-xerror.o .libs/libgettextsrc_la-read-catalog-abstract.o .libs/libgettextsrc_la-po-lex.o .libs/libgettextsrc_la-po-gram-gen.o .libs/libgettextsrc_la-po-charset.o .libs/libgettextsrc_la-read-po.o .libs/libgettextsrc_la-read-properties.o .libs/libgettextsrc_la-read-stringtable.o .libs/libgettextsrc_la-open-catalog.o .libs/libgettextsrc_la-dir-list.o .libs/libgettextsrc_la-str-list.o .libs/libgettextsrc_la-read-catalog.o .libs/libgettextsrc_la-color.o .libs/libgettextsrc_la-write-catalog.o .libs/libgettextsrc_la-write-properties.o .libs/libgettextsrc_la-write-stringtable.o .libs/libgettextsrc_la-write-po.o .libs/libgettextsrc_la-msgl-ascii.o .libs/libgettextsrc_la-msgl-iconv.o .libs/libgettextsrc_la-msgl-equal.o .libs/libgettextsrc_la-msgl-cat.o .libs/libgettextsrc_la-msgl-header.o .libs/libgettextsrc_la-msgl-english.o .libs/libgettextsrc_la-msgl-check.o .libs/libgettextsrc_la-file-list.o .libs/libgettextsrc_la-msgl-charset.o .libs/libgettextsrc_la-po-time.o .libs/libgettextsrc_la-plural-exp.o .libs/libgettextsrc_la-plural-eval.o .libs/libgettextsrc_la-plural-table.o .libs/libgettextsrc_la-sentence.o .libs/libgettextsrc_la-libexpat-compat.o .libs/libgettextsrc_la-format.o .libs/libgettextsrc_la-format-c.o .libs/libgettextsrc_la-format-sh.o .libs/libgettextsrc_la-format-python.o .libs/libgettextsrc_la-format-python-brace.o .libs/libgettextsrc_la-format-lisp.o .libs/libgettextsrc_la-format-elisp.o .libs/libgettextsrc_la-format-librep.o .libs/libgettextsrc_la-format-scheme.o .libs/libgettextsrc_la-format-java.o .libs/libgettextsrc_la-format-csharp.o .libs/libgettextsrc_la-format-awk.o .libs/libgettextsrc_la-format-pascal.o .libs/libgettextsrc_la-format-ycp.o .libs/libgettextsrc_la-format-tcl.o .libs/libgettextsrc_la-format-perl.o .libs/libgettextsrc_la-format-perl-brace.o .libs/libgettextsrc_la-format-php.o .libs/libgettextsrc_la-format-gcc-internal.o .libs/libgettextsrc_la-format-gfc-internal.o .libs/libgettextsrc_la-format-qt.o .libs/libgettextsrc_la-format-qt-plural.o .libs/libgettextsrc_la-format-kde.o .libs/libgettextsrc_la-format-kde-kuit.o .libs/libgettextsrc_la-format-boost.o .libs/libgettextsrc_la-format-lua.o .libs/libgettextsrc_la-format-javascript.o .libs/libgettextsrc_la-read-desktop.o -Wl,-blibpath:/usr/local/src/gnutoolchain/gettext-0.19.5.1/gettext-tools/gnulib-lib/.libs:/usr/local/src/gnutoolchain/gettext-0.19.5.1/gettext-tools/intl/.libs:/usr/local/itsvbuild/32/lib:/usr/local/itsvbuild/32/dev/lib:/usr/local/itsvbuild/32/lib:/usr/lib:/lib -L/usr/local/src/gnutoolchain/gettext-0.19.5.1/gettext-tools/intl/.libs -L/usr/local/itsvbuild/32/lib -L/opt/freeware/lib -L/opt/freeware/lib64 -L../gnulib-lib/.libs -lgettextlib -L. -lxml2 -lpthread -lz -lm -L../intl/.libs -lintl -liconv -lexpat -lc -lc -Wl,-bnoentry `func_echo_all " -q32 -qsmp -qmaxmem=-1 -O2 -Wl,-blibpath:/usr/local/itsvbuild/32/lib:/usr/lib:/lib -Wl,-bmaxdata:0x80000000 -Wl,-b32 -Wl,-bexpall -Wl,-bnoipath " | /usr/local/itsvbuild/32/bin/sed -e "s%-brtl\\([, ]\\)%-berok\\1%g"`-Wl,-bE:.libs/libgettextsrc.exp -Wl,-bernotok
ld: 0711-224 WARNING: Duplicate symbol: .fsav
ld: 0711-224 WARNING: Duplicate symbol: .fres
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
ld: 0711-317 ERROR: Undefined symbol: .fstrcmp_bounded
ld: 0711-317 ERROR: Undefined symbol: rpl_error_message_count
ld: 0711-317 ERROR: Undefined symbol: .u8_mbtoucr
ld: 0711-317 ERROR: Undefined symbol: .xconcatenated_filename
ld: 0711-317 ERROR: Undefined symbol: .rpl_fopen
ld: 0711-317 ERROR: Undefined symbol: .rpl_stat
ld: 0711-317 ERROR: Undefined symbol: .xmem_cd_iconv
ld: 0711-317 ERROR: Undefined symbol: .iconveh_open
ld: 0711-317 ERROR: Undefined symbol: .xmem_cd_iconveh
ld: 0711-317 ERROR: Undefined symbol: .iconveh_close
ld: 0711-317 ERROR: Undefined symbol: .rpl_open
ld: 0711-317 ERROR: Undefined symbol: .ulc_width_linebreaks
ld: 0711-317 ERROR: Undefined symbol: .strchrnul
ld: 0711-317 ERROR: Undefined symbol: .rpl_stpncpy
ld: 0711-317 ERROR: Undefined symbol: .rpl_strstr
ld: 0711-317 ERROR: Undefined symbol: .uc_is_space
Makefile:2331: recipe for target 'libgettextsrc.la' failed
gmake[5]: *** [libgettextsrc.la] Error 8
gmake[5]: Leaving directory '/usr/local/src/gnutoolchain/gettext-0.19.5.1/gettext-tools/src'
Makefile:2251: recipe for target 'all' failed
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory '/usr/local/src/gnutoolchain/gettext-0.19.5.1/gettext-tools/src'
Makefile:1730: recipe for target 'all-recursive' failed
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory '/usr/local/src/gnutoolchain/gettext-0.19.5.1/gettext-tools'
Makefile:1595: recipe for target 'all' failed
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory '/usr/local/src/gnutoolchain/gettext-0.19.5.1/gettext-tools'
Makefile:370: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory '/usr/local/src/gnutoolchain/gettext-0.19.5.1'
Makefile:325: recipe for target 'all' failed
gmake: *** [all] Error 2

chris <chris1973>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by haible (Updated the item)
  • -unavailable- added by chris1973 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 27 Nov 2016 12:07:28 PM UTChaibleCategoryNone=>Build

    Back to the top


    Powered by Savane 3.1-cleanup1