Can't compile because of iconv error


Subject: Can't compile because of iconv error
From: Pierre Abbat (phma@oltronics.net)
Date: Sun Sep 16 2001 - 19:46:52 CDT


I cvsed the latest Abi this morning and attempted to compile it. I got an
error something about iconv. So I looked for iconv and found that there's an
iconv.h in the glibc-devel package, which doesn't match the glibc package. So
I upgraded glibc-devel and tried to compile again. Here's what I got:

[root@neofelis RPMS]# vdir -d /usr/include/scsi
drwxr-xr-x 2 root root 1024 Feb 26 2000 /usr/include/scsi
[root@neofelis RPMS]# rpm -Uvh glibc-devel-2.2.2-4mdk.i586.rpm --replacefiles
glibc-devel ##################################################
[root@neofelis RPMS]# exit
[phma@neofelis abi]$ make
Building AbiSuite with [ABI_ROOT=/home/phma/abi/abi]
make ABI_ROOT=/home/phma/abi/abi -C src
make[1]: Entering directory `/home/phma/abi/abi/src'
Building with [LicensedTrademarks:Off Debug:Off BiDi:Off Gnome:Off LibXML:Off
Pspell:Off Scripting:Off].
make ABI_ROOT=/home/phma/abi/abi -C config build
make[2]: Entering directory `/home/phma/abi/abi/src/config'
Building with [LicensedTrademarks:Off Debug:Off BiDi:Off Gnome:Off LibXML:Off
Pspell:Off Scripting:Off].
make ABI_ROOT=/home/phma/abi/abi -C require build
make[3]: Entering directory `/home/phma/abi/abi/src/config/require'
Building with [LicensedTrademarks:Off Debug:Off BiDi:Off Gnome:Off LibXML:Off
Pspell:Off Scripting:Off].
make ABI_ROOT=/home/phma/abi/abi -C xp build
make[4]: Entering directory `/home/phma/abi/abi/src/config/require/xp'
Building with [LicensedTrademarks:Off Debug:Off BiDi:Off Gnome:Off LibXML:Off
Pspell:Off Scripting:Off].
Found expat in peer directory
make[5]: Entering directory `/home/phma/abi/expat'
cd lib; make
make[6]: Entering directory `/home/phma/abi/expat/lib'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory `/home/phma/abi/expat/lib'
make[5]: Leaving directory `/home/phma/abi/expat'
Found psiconv in peer directory
make[5]: Entering directory `/home/phma/abi/psiconv'
make all-recursive
make[6]: Entering directory `/home/phma/abi/psiconv'
Making all in compat
make[7]: Entering directory `/home/phma/abi/psiconv/compat'
make[7]: Nothing to be done for `all'.
make[7]: Leaving directory `/home/phma/abi/psiconv/compat'
Making all in psiconv
make[7]: Entering directory `/home/phma/abi/psiconv/psiconv'
make[7]: Nothing to be done for `all'.
make[7]: Leaving directory `/home/phma/abi/psiconv/psiconv'
make[7]: Entering directory `/home/phma/abi/psiconv'
make[7]: Nothing to be done for `all-am'.
make[7]: Leaving directory `/home/phma/abi/psiconv'
make[6]: Leaving directory `/home/phma/abi/psiconv'
make[5]: Leaving directory `/home/phma/abi/psiconv'
Build requirements satisfied.
make[4]: Leaving directory `/home/phma/abi/abi/src/config/require/xp'
make ABI_ROOT=/home/phma/abi/abi -C unix build
make[4]: Entering directory `/home/phma/abi/abi/src/config/require/unix'
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 iconv functions in system locations. I'm going to trust that these
*** are the versions of the libraries we should link against.

Found libwv in peer directory
make[5]: Entering directory `/home/phma/abi/wv'
Building with [LicensedTrademarks:Off Debug:Off BiDi:Off Gnome:Off LibXML:Off
Pspell:Off Scripting:Off].
text.c:
text.c: In function `swap_iconv':
text.c:699: `ICONV_CONST' undeclared (first use in this function)
text.c:699: (Each undeclared identifier is reported only once
text.c:699: for each function it appears in.)
text.c:699: parse error before `char'
text.c: In function `wvHandleCodePage':
text.c:763: `ICONV_CONST' undeclared (first use in this function)
text.c:763: parse error before `char'
text.c: In function `wvOutputFromUnicode':
text.c:824: `ICONV_CONST' undeclared (first use in this function)
text.c:824: parse error before `char'
text.c:846: parse error before `char'
make[5]: ***
[/home/phma/abi/abi/src/Linux_2.2.14-15mdk_i386_OBJ/obj/wv/text.o]
Error 1
make[5]: Leaving directory `/home/phma/abi/wv'
make[4]: *** [_LIBWV_] Error 2
make[4]: Leaving directory `/home/phma/abi/abi/src/config/require/unix'
make[3]: *** [build] Error 2
make[3]: Leaving directory `/home/phma/abi/abi/src/config/require'
make[2]: *** [build] Error 2
make[2]: Leaving directory `/home/phma/abi/abi/src/config'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/phma/abi/abi/src'
make: *** [compile] Error 2

/usr/include/scsi is a directory that RPM said conflicted with an old version
of kernel-headers; since I have no SCSI devices, I felt it safe to
replacefiles.

phma



This archive was generated by hypermail 2b25 : Sun Sep 16 2001 - 22:58:46 CDT