|
View:
New views
9 Messages
—
Rating Filter:
Alert me
|
|
|
Libextractor:Cross compilation ErrorHi, I tried the following steps to cross compile Libextractor: 1: ./configure target=mips-linux --host=mips-linux build=i686-pc-linux-gnu --prefix=/home/tomy/File/extractor (Tried without :build=i686-pc-linux-gnu ) 2: make : this time I am getting the following errors: ======================================= In file included from extractor.c:21: ../../src/include/platform.h:60:19: iconv.h: No such file or directory ========================================================== During Configuration I got the following logs regarding iconv: =================================================== checking for iconv... no, consider installing GNU libiconv checking iconv.h usability... no checking iconv.h presence... no checking for iconv.h... no ======================================================== but in normal x86 Compilation I found that all the checks for iconv is yes... Could you please tell me the exact problem?? Also I tried with Configure options like --with-libiconv-prefix[=DIR] --without-libiconv-prefix.. Tomy P. Joseph Samsung ODC, L&T Infotech,Plot No. 25-30, EPIP I Phase Industrial Area, Whitefield,Bangalore-66. Mobile: +919448856102 Fax:+91-80-8525233. ( ) L&T Infotech Proprietary & Confidential ( ) L&T Infotech Confidential (+) L&T Infotech Internal Use only ( ) General Business Information Larsen & Toubro Infotech Ltd. www.Lntinfotech.com This Document is classified as: L&T Infotech Proprietary L&T Infotech Confidential L&T Infotech Internal Use Only L&T Infotech General Business This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. ______________________________________________________________________ _______________________________________________ bug-libextractor mailing list bug-libextractor@... http://lists.gnu.org/mailman/listinfo/bug-libextractor |
|
|
Re: Libextractor:Cross compilation ErrorLE generally does not cross-compile; I was not aware that iconv was a problem,
but the generated code for the printable-extractors certainly prevents cross-compilation at this point (you can disable those with the --disable-printable). My best guess for the iconv problem is that your cross-compiler looks for iconv.h in a different location and does not find it there. Good luck! Christian On Thursday 18 December 2008 09:13:16 pm Tomy Joseph wrote: > Hi, > I tried the following steps to cross compile Libextractor: > 1: ./configure target=mips-linux --host=mips-linux build=i686-pc-linux-gnu > > --prefix=/home/tomy/File/extractor (Tried without :build=i686-pc-linux-gnu > > ) > 2: make : this time I am getting the following errors: > ======================================= > In file included from extractor.c:21: > ../../src/include/platform.h:60:19: iconv.h: No such file or directory > ========================================================== > During Configuration I got the following logs regarding iconv: > =================================================== > checking for iconv... no, consider installing GNU libiconv > > checking iconv.h usability... no > checking iconv.h presence... no > checking for iconv.h... no > ======================================================== > > but in normal x86 Compilation I found that all the checks for iconv is > yes... > > Could you please tell me the exact problem?? Also I tried with Configure > options like --with-libiconv-prefix[=DIR] --without-libiconv-prefix.. > > > Tomy P. Joseph > Samsung ODC, > L&T Infotech,Plot No. 25-30, > EPIP I Phase Industrial Area, > Whitefield,Bangalore-66. > Mobile: +919448856102 > Fax:+91-80-8525233. > > ( ) L&T Infotech Proprietary & Confidential > ( ) L&T Infotech Confidential > (+) L&T Infotech Internal Use only > ( ) General Business Information > > Larsen & Toubro Infotech Ltd. > www.Lntinfotech.com > > This Document is classified as: > > L&T Infotech Proprietary L&T Infotech Confidential L&T Infotech > Internal Use Only L&T Infotech General Business > > This Email may contain confidential or privileged information for the > intended recipient (s) If you are not the intended recipient, please do > not use or disseminate the information, notify the sender and delete it > from your system. > > ______________________________________________________________________ _______________________________________________ bug-libextractor mailing list bug-libextractor@... http://lists.gnu.org/mailman/listinfo/bug-libextractor |
|
|
Re: Libextractor:Cross compilation ErrorHi, I have cross compiled libiconv and then linked the libraries with libextractor. But still I am getting errors related to iconv. I tried the following steps to cross compile Libextractor: ./configure --target=mips-linux --host=i686-pc-linux-gnu --prefix=/home/tomy/libextr/ --disable-printable --with-libiconv=yes --with-libiconv-prefix=/home/tomy/libiconv/ (This directory contains all iconv libs,bin etc.) But during make... ============================================================================================================================ /opt/uclibc-toolchain/ifx-lxdb-1-2/gcc-3.3.6/toolchain-mips/bin/../lib/gcc-lib/mips-linux-uclibc/3.3.6/../../../../mips-linux-uclibc/bin/ld: warning: libltdl.so.3, needed by ../../src/main/.libs/libextractor.so, not found (try using -rpath or -rpath-link) extract.o(.text+0x550): In function `iconvHelper': /smb/josepht/libextractor-0.5.18/src/main/iconv.c:36: undefined reference to `libiconv' extract.o(.text+0x604):/smb/josepht/libextractor-0.5.18/src/main/iconv.c:44: undefined reference to `libiconv' extract.o(.text+0x6f0): In function `printSelectedKeywords': /smb/josepht/libextractor-0.5.18/src/main/extract.c:186: undefined reference to `libiconv_open' extract.o(.text+0x7b0):/smb/josepht/libextractor-0.5.18/src/main/extract.c:214: undefined reference to `libiconv_close' extract.o(.text+0x960): In function `printSelectedKeywordsGrepFriendly': /smb/josepht/libextractor-0.5.18/src/main/extract.c:234: undefined reference to `libiconv_open' extract.o(.text+0x9e0):/smb/josepht/libextractor-0.5.18/src/main/extract.c:262: undefined reference to `libiconv_close' ../../src/main/.libs/libextractor.so: undefined reference to `lt_dlgetsearchpath' ../../src/main/.libs/libextractor.so: undefined reference to `lt_dlerror' ../../src/main/.libs/libextractor.so: undefined reference to `lt_dlclose' ../../src/main/.libs/libextractor.so: undefined reference to `lt_dlexit' ../../src/main/.libs/libextractor.so: undefined reference to `lt_dlsetsearchpath' ../../src/main/.libs/libextractor.so: undefined reference to `lt_dlopenext' ../../src/main/.libs/libextractor.so: undefined reference to `lt_dlsym' ../../src/main/.libs/libextractor.so: undefined reference to `lt_dlinit' =================================================================================================================== Could u pls tell me the exact problem ?? tnks& rgds, tomy. Larsen & Toubro Infotech Ltd. www.Lntinfotech.com This Document is classified as: L&T Infotech Proprietary L&T Infotech Confidential L&T Infotech Internal Use Only L&T Infotech General Business This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. ______________________________________________________________________ _______________________________________________ bug-libextractor mailing list bug-libextractor@... http://lists.gnu.org/mailman/listinfo/bug-libextractor |
|
|
Re: Libextractor:Cross compilation Error
Hi,
It looks like you missed another library : libltdl (the first line of your post) Try to compile with adding "--enable-ltdl-install" while configuring libextractor... Here, my configuration line (which work for powerpc cross-compilation) ./configure --prefix=%{_prefix} --host=i686 --build=powerpc-linux \ --enable-glib --enable-ltdl-install --with-libiconv-prefix=$DEV_IMAGE/usr \ --disable-printable --disable-glibtest --disable-gtktest Hope this will help ! Regards CimCim Le jeudi 22 janvier 2009 à 14:03 +0530, Tomy Joseph a écrit :
_______________________________________________ bug-libextractor mailing list bug-libextractor@... http://lists.gnu.org/mailman/listinfo/bug-libextractor |
|
|
|
|
|
|
|
|
Re: Libextractor:Cross compilation ErrorHi.. Yes ... -uclibc/bin/ld: warning: libltdl.so.3, needed by ../../src/main/.libs/libextractor.so, not found (try using -rpath or -rpath-link) I added libltdl.so aslo... Tomy P. Joseph Samsung ODC, L&T Infotech,Plot No. 25-30, EPIP I Phase Industrial Area, Whitefield,Bangalore-66. Mobile: +919448856102 Fax:+91-80-8525233. ( ) L&T Infotech Proprietary & Confidential ( ) L&T Infotech Confidential (+) L&T Infotech Internal Use only ( ) General Business Information Larsen & Toubro Infotech Ltd. www.Lntinfotech.com This Document is classified as: L&T Infotech Proprietary L&T Infotech Confidential L&T Infotech Internal Use Only L&T Infotech General Business This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. ______________________________________________________________________ _______________________________________________ bug-libextractor mailing list bug-libextractor@... http://lists.gnu.org/mailman/listinfo/bug-libextractor |
|
|
Re: Libextractor:Cross compilation Error
Well...
So, is the libltdl problem solved ? It still looks like that the libiconv.so isn't found by ld. Is the -L/smb/josepht/libiconv/lib/ path correct ? Does this directory contains libiconv.so/libiconv.so.x/libiconv.so.x.y.z/libiconv.a ? Have a look at that point, and tell me what's happen ! Regards CimCim Le jeudi 22 janvier 2009 à 16:49 +0530, Tomy Joseph a écrit :
_______________________________________________ bug-libextractor mailing list bug-libextractor@... http://lists.gnu.org/mailman/listinfo/bug-libextractor |
|
|
|
| Free embeddable forum powered by Nabble | Forum Help |