<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=GB2312">
<META content="MSHTML 6.00.2900.3314" name=GENERATOR>
<STYLE>BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
</HEAD>
<BODY
style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px">
<DIV><FONT face=Verdana><FONT size=2>Hi</FONT></FONT></DIV>
<DIV style="TEXT-INDENT: 2em"><FONT face=Verdana>I try to compile dbus-glib-0.74
on my arm platform.make print this:</FONT></DIV>
<DIV
style="TEXT-INDENT: 2em">/opt/hisilicon/toolchains/arm-uclibc-linux-soft/lib/gcc/arm-uclibc-linux/3.4.3/../../../../arm-uclibc-linux/bin/ld:
cannot find -lgobject-2.0</DIV>
<DIV style="TEXT-INDENT: 2em"> </DIV>
<DIV style="TEXT-INDENT: 2em">So I download glib-2.12.9 ,but make print
this: </DIV>
<DIV style="TEXT-INDENT: 2em">[kf401@yflinux glib-2.12.9]$ ./configure
--host=arm-linux CC=arm-uclibc-linux-gcc
CFLAGS="-I/usr/include"<BR>configure: WARNING: If you wanted to set the --build
type, don't use --host.<BR> If a cross compiler is detected
then cross compile mode will be used.<BR>checking for a BSD-compatible
install... /usr/bin/install -c<BR>checking whether build environment is sane...
yes<BR>checking for a thread-safe mkdir -p... /bin/mkdir -p<BR>checking for
gawk... gawk<BR>checking whether make sets $(MAKE)... yes<BR>checking for
arm-linux-strip... no<BR>checking for strip... strip<BR>checking whether to
enable maintainer-specific portions of Makefiles... no<BR>checking build system
type... i686-pc-linux-gnu<BR>checking host system type...
arm-unknown-linux-gnu<BR>checking for the BeOS... no<BR>checking for Win32...
no<BR>checking whether to enable garbage collector friendliness...
no<BR>checking whether to disable memory pools... no<BR>checking for
arm-linux-gcc... arm-uclibc-linux-gcc<BR>checking for C compiler default output
file name... a.out<BR>checking whether the C compiler works... yes<BR>checking
whether we are cross compiling... yes<BR>checking for suffix of executables...
<BR>checking for suffix of object files... o<BR>checking whether we are using
the GNU C compiler... yes<BR>checking whether arm-uclibc-linux-gcc accepts -g...
yes<BR>checking for arm-uclibc-linux-gcc option to accept ISO C89... none
needed<BR>checking for style of include used by make... GNU<BR>checking
dependency style of arm-uclibc-linux-gcc... gcc3<BR>checking for c++...
c++<BR>checking whether we are using the GNU C++ compiler... yes<BR>checking
whether c++ accepts -g... yes<BR>checking dependency style of c++...
gcc3<BR>checking for arm-linux-gcc... (cached) arm-uclibc-linux-gcc<BR>checking
whether we are using the GNU C compiler... (cached) yes<BR>checking whether
arm-uclibc-linux-gcc accepts -g... (cached) yes<BR>checking for
arm-uclibc-linux-gcc option to accept ISO C89... (cached) none
needed<BR>checking dependency style of arm-uclibc-linux-gcc... (cached)
gcc3<BR>checking for a BSD-compatible install... /usr/bin/install -c<BR>checking
for special C compiler options needed for large files... no<BR>checking for
_FILE_OFFSET_BITS value needed for large files... 64<BR>checking for
pkg-config... /usr/bin/pkg-config<BR>checking for gawk... (cached)
gawk<BR>checking for perl5... no<BR>checking for perl... perl<BR>checking for
indent... indent<BR>checking for perl... /usr/bin/perl<BR>checking for
iconv_open... no<BR>checking for libiconv_open in -liconv... no<BR>checking for
iconv_open in -liconv... no<BR>configure: error: *** No iconv() implementation
found in C library or libiconv</DIV>
<DIV style="TEXT-INDENT: 2em"><FONT face=Verdana> </DIV>
<DIV><FONT size=2>What should I do?</FONT></DIV>
<DIV align=left><FONT size=2>
<HR style="WIDTH: 122px; HEIGHT: 2px" SIZE=2>
</FONT></DIV>
<DIV><FONT color=#c0c0c0><FONT size=2><SPAN>linuxlife</SPAN></FONT></DIV>
<DIV><FONT size=2>2008-05-15</FONT></FONT></DIV></FONT></BODY></HTML>