bugGNU gettext - Bugs: bug #45765, sparc-sun-solaris2.9:...

 
 

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

bug #45765: sparc-sun-solaris2.9: "strpncpy()" missing linking libgettextpo

Submitter:  Marcin Cieślak <saper>
Submitted:  Sat 15 Aug 2015 11:27:41 AM UTC
   
 
Category:  Build Severity:  3 - Normal
Item Group:  None Status:  Duplicate
Privacy:  Public Assigned to:  ueno
Open/Closed:  Closed

Jump to the original submission

Mon 17 Aug 2015 02:14:01 AM UTC, comment #6: 


> Now it stopped having problems linking to iconv:


As it is a separate issue from this, could you file a new report for that?  Though I suspect your environment is missing GNU libiconv, the system iconv should work to a degree.  So, it would be helpful to attach gettext-tools/config.log.

Daiki Ueno <ueno>
Group administrator
Sun 16 Aug 2015 12:40:37 AM UTC, comment #5: 

(who has the power to fix the typo in the bug's title?)

Marcin Cieślak <saper>
Sun 16 Aug 2015 12:37:13 AM UTC, comment #4: 

Thanks, this is my fault as I was using manual FTP so I should have seen a newer version there.

Now it stopped having problems linking to iconv:

gcc -std=gnu99 -DLOCALEDIR=\"/home/admini/saper/sparcv7/share/locale\" -DBISON_LOCALEDIR=\"\" -DLOCALE_ALIAS_PATH=\"/home/admini/saper/sparcv7/share/locale\" -DUSEJAVA=1 -DUSEJEXE=1 -DGETTEXTJEXEDIR=\"/home/admini/saper/sparcv7/lib/gettext\" -DGETTEXTJAR=\"/home/admini/saper/sparcv7/share/gettext/gettext.jar\" -DLIBDIR=\"/home/admini/saper/sparcv7/lib\" -DGETTEXTDATADIR=\"/home/admini/saper/sparcv7/share/gettext\" -DPROJECTSDIR=\"/home/admini/saper/sparcv7/share/gettext/projects\" -DHAVE_CONFIG_H -I. -I/home/admini/saper/src/gettext-0.19.5.1/gettext-tools/src -I..  -I. -I/home/admini/saper/src/gettext-0.19.5.1/gettext-tools/src -I.. -I/home/admini/saper/src/gettext-0.19.5.1/gettext-tools -I/home/admini/saper/src/gettext-0.19.5.1/gettext-tools/libgrep -I../gnulib-lib -I/home/admini/saper/src/gettext-0.19.5.1/gettext-tools/gnulib-lib -I../intl -I/home/admini/saper/src/gettext-0.19.5.1/gettext-tools/../gettext-runtime/intl -DINSTALLDIR=\"/home/admini/saper/sparcv7/bin\" -D_REENTRANT  -g -O2 -c -o msgcmp-msgl-fsearch.o `test -f 'msgl-fsearch.c' || echo '/home/admini/saper/src/gettext-0.19.5.1/gettext-tools/src/'`msgl-fsearch.c
/bin/bash ../libtool  --tag=CC   --mode=link gcc -std=gnu99  -g -O2   -o msgcmp msgcmp-msgcmp.o msgcmp-msgl-fsearch.o libgettextsrc.la  -lm
libtool: link: gcc -std=gnu99 -g -O2 -o .libs/msgcmp msgcmp-msgcmp.o msgcmp-msgl-fsearch.o ./.libs/libgettextsrc.so /home/admini/saper/build/gettext/gettext-tools/gnulib-lib/.libs/libgettextlib.so -ltermcap /home/admini/saper/build/gettext/gettext-tools/intl/.libs/libintl.so -lc -lm -fopenmp -R/home/admini/saper/sparcv7/lib
Undefined                       first referenced
 symbol                             in file
libiconv_close                      /home/admini/saper/build/gettext/gettext-tools/gnulib-lib/.libs/libgettextlib.so
libiconv_open                       /home/admini/saper/build/gettext/gettext-tools/gnulib-lib/.libs/libgettextlib.so
libiconv                            /home/admini/saper/build/gettext/gettext-tools/gnulib-lib/.libs/libgettextlib.so
ld: fatal: Symbol referencing errors. No output written to .libs/msgcmp
collect2: ld returned 1 exit status
Makefile:2438: recipe for target 'msgcmp' failed

Marcin Cieślak <saper>
Sat 15 Aug 2015 11:13:38 PM UTC, comment #3: 

Check out 0.19.5.1:
http://lists.gnu.org/archive/html/bug-gettext/2015-07/msg00016.html

(As it is a minor release, I didn't mention the version at the web page.  However, given that the version has also a few issues, I plan to release 0.19.6 in this month.)

Daiki Ueno <ueno>
Group administrator
Sat 15 Aug 2015 11:56:19 AM UTC, comment #2: 

It seems to be undefined in the shared library libgettextpo.so:

(sorry for C shell scripting:)

% foreach i ( .o .so )                                                  
foreach? echo -n "$i "; (nm $i | grep stpncpy)
foreach? end
asnprintf.o asprintf.o basename.o c-ctype.o c-strcasecmp.o c-strncasecmp.o c-strstr.o concat-filename.o error-progname.o error.o exitfail.o fd-hook.o file-ostream.o fopen.o fstrcmp.o fwriteerror.o gcd.o getdelim.o getline.o gettext-po.o hash.o localcharset.o malloca.o mbrtowc.o mbswidth.o obstack.o open.o ostream.o printf-args.o printf-parse.o progname.o rawmemchr.o stat.o stpcpy.o strchrnul.o striconv.o striconveh.o striconveha.o strstr.o unistd.o vasnprintf.o vasprintf.o wctype-h.o xasprintf.o xconcat-filename.o xerror.o xmalloc.o xmalloca.o xsize.o xstrdup.o xstriconv.o xvasprintf.o libgettextpo.so [1531] |         0|       0|NOTY |GLOB |0    |UNDEF  |stpncpy

Marcin Cieślak <saper>
Sat 15 Aug 2015 11:32:24 AM UTC, comment #1: 

Title should read: "stpncpy()", sorry

Marcin Cieślak <saper>
Sat 15 Aug 2015 11:27:41 AM UTC, original submission:  

libtool: link: gcc -std=gnu99 -g -O2 -o .libs/gettextpo-1-prg gettextpo_1_prg-gettextpo-1-prg.o ../libgettextpo/.libs/libgettextpo.so -L/usr/local/lib -L/usr/lib -L/usr/openwin/lib /usr/local/lib/libexpat.so /home/admini/saper/build/gettext/gettext-tools/intl/.libs/libintl.so ../intl/.libs/libintl.so /usr/local/lib/libiconv.so -lc -R/home/admini/saper/sparcv7/lib -R/usr/local/lib
ld: warning: file ../intl/.libs/libintl.so: linked to /home/admini/saper/build/gettext/gettext-tools/intl/.libs/libintl.so: attempted multiple inclusion of file
Undefined                       first referenced
 symbol                             in file
stpncpy                             ../libgettextpo/.libs/libgettextpo.so
ld: fatal: Symbol referencing errors. No output written to .libs/gettextpo-1-prg
collect2: ld returned 1 exit status


Marcin Cieślak <saper>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by haible (Updated the item)
  • -email is unavailable- added by ueno (Posted a comment)
  • -email is unavailable- added by saper (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-11-27 haible CategoryNone Build
        Assigned toNone ueno
    2015-08-15 ueno StatusNone Duplicate
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code