Re: Solaris compile failure


Subject: Re: Solaris compile failure
From: Dom Lachowicz (dominicl@seas.upenn.edu)
Date: Wed Sep 19 2001 - 11:48:31 CDT


Quoting Salman Sheikh <sheikh@pop500.gsfc.nasa.gov>:

> Okay I got that fixed now, I got this. BTW, I changed to 0.9.3 and
> applied your fix.
> -------------
> lib; make
> make[6]: Nothing to be done for `all'.
> Found psiconv in peer directory
> make all-recursive
> Making all in compat
> make[7]: Nothing to be done for `all'.
> Making all in psiconv
> make[7]: Nothing to be done for `all'.
> Build requirements satisfied.
> make ABI_ROOT=/folks/salman/abiword-0.9.3/abi -C unix build
> Building with [LicensedTrademarks:Off Debug:Off BiDi:Off Gnome:Off
> LibXML:Off Pspell:Off Scripting:Off].
> TODO do we need to test for GCC or EGCS and a version number?
> Found zlib in system directories
> Found libpng in system directories
> Found libiconv in peer directory
> Building with [LicensedTrademarks:Off Debug:Off BiDi:Off Gnome:Off
> LibXML:Off Pspell:Off Scripting:Off].
> make -f Makefile.abi ABI_ROOT=/folks/salman/abiword-0.9.3/abi -C
> libcharset build
> Building with [LicensedTrademarks:Off Debug:Off BiDi:Off Gnome:Off
> LibXML:Off Pspell:Off Scripting:Off].
> make -f Makefile.abi ABI_ROOT=/folks/salman/abiword-0.9.3/abi -C lib
> build
> Building with [LicensedTrademarks:Off Debug:Off BiDi:Off Gnome:Off
> LibXML:Off Pspell:Off Scripting:Off].
> localcharset.c:
> cp include/libcharset.h.in include/libcharset.h
> make -f Makefile.abi ABI_ROOT=/folks/salman/abiword-0.9.3/abi -C lib
> build
> Building with [LicensedTrademarks:Off Debug:Off BiDi:Off Gnome:Off
> LibXML:Off Pspell:Off Scripting:Off].
> iconv.c:
> iconv.c:26:24: libcharset.h: No such file or directory
> In file included from loops.h:23,
> from iconv.c:113:
> loop_unicode.h: In function `unicode_loop_convert':
> loop_unicode.h:172: `errno' undeclared (first use in this function)
> loop_unicode.h:172: (Each undeclared identifier is reported only once
> loop_unicode.h:172: for each function it appears in.)
> loop_unicode.h:172: `EILSEQ' undeclared (first use in this function)
> loop_unicode.h:178: `EINVAL' undeclared (first use in this function)
> loop_unicode.h:187: `E2BIG' undeclared (first use in this function)
> loop_unicode.h: In function `unicode_loop_reset':
> loop_unicode.h:262: `errno' undeclared (first use in this function)
> loop_unicode.h:262: `EILSEQ' undeclared (first use in this function)
> loop_unicode.h:266: `E2BIG' undeclared (first use in this function)
> iconv.c: In function `iconv_open':
> iconv.c:224: warning: implicit declaration of function `locale_charset'
> iconv.c:224: warning: assignment makes pointer from integer without a
> cast
> iconv.c:277: warning: assignment makes pointer from integer without a
> cast
> iconv.c:309: `errno' undeclared (first use in this function)
> iconv.c:309: `ENOMEM' undeclared (first use in this function)
> iconv.c:357: `EINVAL' undeclared (first use in this function)
> iconv.c: At top level:
> loop_wchar.h:247: warning: `wchar_id_loop_convert' defined but not used
> loop_wchar.h:267: warning: `wchar_id_loop_reset' defined but not used
> make[6]: ***
> [/folks/salman/abiword-0.9.3/abi/src/SunOS_5.6_sparc32_OBJ/obj/libiconv/iconv.o]
> Error 1
> make[5]: *** [build] Error 2
> make[4]: *** [_LIBICONV_] Error 2
> make[3]: *** [build] Error 2
> make[2]: *** [build] Error 2
> make[1]: *** [build] Error 2
> make: *** [compile] Error 2
>
> What am I missing?

Hi,

Looking in the libiconv distribution, I see
libiconv/libcharset/include/libcharset.h.in

I'm guessing that you need to run configure inside of libiconv and possibly
inside of the libcharset directory.

Your other error looks like <errno.h> isn't getting #included

Hope that this helps some.
Dom



This archive was generated by hypermail 2b25 : Wed Sep 19 2001 - 11:48:36 CDT