Discussion:
A error occured when I compiled libwww on MIPS !
l***@i-net.com.cn
2002-12-11 09:35:05 UTC
Permalink
hi, all

Yestoday I have compiled libwww on my X86 PC because of viewML's needs. Now I want to compiled it on MIPS by cross-compiler.

But when I configure it, a error occured comes. As bellow.

Can you help me ?

*****************************************************************
[***@pc w3c-libwww-5.2.8]# ./configure CC=mipsel-linux-gcc
configure: warning: CC=mipsel-linux-gcc: invalid host type
loading cache ./config.cache
checking host system type... Invalid configuration `CC=mipsel-linux-gcc': machin
e `CC=mipsel-linux' not recognized

checking target system type... Invalid configuration `CC=mipsel-linux-gcc': mach
ine `CC=mipsel-linux' not recognized

checking build system type... Invalid configuration `CC=mipsel-linux-gcc': machi
ne `CC=mipsel-linux' not recognized

checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for c++... (cached) c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking for Cygwin environment... (cached) no
(cached) no
checking for executable suffix... (cached) no
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking command to parse /usr/bin/nm -B output... (cached) yes
checking for _ prefix in compiled symbols... (cached) no
checking whether ln -s works... (cached) yes
ltconfig: you must specify a host type if you use `--no-verify'
Try `ltconfig --help' for more information.
configure: error: libtool configure failed

*****************************************************************



#############################################################
This message is sent to you because you are subscribed to
the mailing list <viewml-***@viewml.com>.
To unsubscribe, E-mail to: <viewml-devel-***@viewml.com>
To switch to the DIGEST mode, E-mail to <viewml-devel-***@viewml.com>
To switch to the INDEX mode, E-mail to <viewml-devel-***@viewml.com>
Send administrative queries to <viewml-devel-***@viewml.com>
l***@i-net.com.cn
2002-12-11 09:35:05 UTC
Permalink
hi, all

Yestoday I have compiled libwww on my X86 PC because of viewML's needs. Now I want to compiled it on MIPS by cross-compiler.

But when I configure it, a error occured comes. As bellow.

Can you help me ?

*****************************************************************
[***@pc w3c-libwww-5.2.8]# ./configure CC=mipsel-linux-gcc
configure: warning: CC=mipsel-linux-gcc: invalid host type
loading cache ./config.cache
checking host system type... Invalid configuration `CC=mipsel-linux-gcc': machin
e `CC=mipsel-linux' not recognized

checking target system type... Invalid configuration `CC=mipsel-linux-gcc': mach
ine `CC=mipsel-linux' not recognized

checking build system type... Invalid configuration `CC=mipsel-linux-gcc': machi
ne `CC=mipsel-linux' not recognized

checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for c++... (cached) c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking for Cygwin environment... (cached) no
(cached) no
checking for executable suffix... (cached) no
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking command to parse /usr/bin/nm -B output... (cached) yes
checking for _ prefix in compiled symbols... (cached) no
checking whether ln -s works... (cached) yes
ltconfig: you must specify a host type if you use `--no-verify'
Try `ltconfig --help' for more information.
configure: error: libtool configure failed

*****************************************************************
j***@philips.com
2002-12-11 10:12:59 UTC
Permalink
Hi,
The standard way of cross-compiling for packages with a 'configure' script is:

../configure --host=mipsel-linux
make

Or, if you want to install it:

../configure --host=mipsel-linux --prefix=/my/mips/target/directory
make
make install

For information about what the options mean, try ./configure --help

And _please_ don't cross-post to so many lists...

Kind regards,

Jon
l***@i-net.com.cn
2002-12-11 11:28:43 UTC
Permalink
hi, jonathan.foster

  I have done it as you say. But when I run "make", I found it still use "gcc" not "mipsel-linux-gcc" to compile.

B.Regards,
=============================================
Jianyu Lin 2002-12-11 19:26:34
Email:***@i-net.com.cn
=============================================

-----Original Message-----
Hi,
.../configure --host=mipsel-linux
make
.../configure --host=mipsel-linux --prefix=/my/mips/target/directory
make
make install
For information about what the options mean, try ./configure --help
And _please_ don't cross-post to so many lists...
Kind regards,
Jon
#############################################################
This message is sent to you because you are subscribed to
the mailing list <viewml-***@viewml.com>.
To unsubscribe, E-mail to: <viewml-devel-***@viewml.com>
To switch to the DIGEST mode, E-mail to <viewml-devel-***@viewml.com>
To switch to the INDEX mode, E-mail to <viewml-devel-***@viewml.com>
Send administrative queries to <viewml-devel-***@viewml.com>
l***@i-net.com.cn
2002-12-11 11:28:43 UTC
Permalink
hi, jonathan.foster

  I have done it as you say. But when I run "make", I found it still use "gcc" not "mipsel-linux-gcc" to compile.

B.Regards,
=============================================
Jianyu Lin 2002-12-11 19:26:34
Email:***@i-net.com.cn
=============================================

-----Original Message-----
Hi,
.../configure --host=mipsel-linux
make
.../configure --host=mipsel-linux --prefix=/my/mips/target/directory
make
make install
For information about what the options mean, try ./configure --help
And _please_ don't cross-post to so many lists...
Kind regards,
Jon
l***@i-net.com.cn
2002-12-11 11:35:20 UTC
Permalink
hi, Jonathan

  My mean is that I use "CC=mipsel-linux-gcc ./configure --host=mipsel-linux". But the Makefile created does not have "CC=mipsel-linux-gcc" at all.

B.Regards,
=============================================
Jianyu Lin 2002-12-11 19:32:21
Email:***@i-net.com.cn
=============================================

-----Original Message-----
Post by l***@i-net.com.cn
hi, jonathan.foster
  I have done it as you say. But when I run "make", I found it still use "gcc" not "mipsel-linux-gcc" to compile.
B.Regards,
=============================================
Jianyu Lin 2002-12-11 19:26:34
=============================================
-----Original Message-----
Hi,
.../configure --host=mipsel-linux
make
.../configure --host=mipsel-linux --prefix=/my/mips/target/directory
make
make install
For information about what the options mean, try ./configure --help
And _please_ don't cross-post to so many lists...
Kind regards,
Jon
---------------------------------------------------------------------
#############################################################
This message is sent to you because you are subscribed to
the mailing list <viewml-***@viewml.com>.
To unsubscribe, E-mail to: <viewml-devel-***@viewml.com>
To switch to the DIGEST mode, E-mail to <viewml-devel-***@viewml.com>
To switch to the INDEX mode, E-mail to <viewml-devel-***@viewml.com>
Send administrative queries to <viewml-devel-***@viewml.com>
l***@i-net.com.cn
2002-12-11 11:35:20 UTC
Permalink
hi, Jonathan

  My mean is that I use "CC=mipsel-linux-gcc ./configure --host=mipsel-linux". But the Makefile created does not have "CC=mipsel-linux-gcc" at all.

B.Regards,
=============================================
Jianyu Lin 2002-12-11 19:32:21
Email:***@i-net.com.cn
=============================================

-----Original Message-----
Post by l***@i-net.com.cn
hi, jonathan.foster
  I have done it as you say. But when I run "make", I found it still use "gcc" not "mipsel-linux-gcc" to compile.
B.Regards,
=============================================
Jianyu Lin 2002-12-11 19:26:34
=============================================
-----Original Message-----
Hi,
.../configure --host=mipsel-linux
make
.../configure --host=mipsel-linux --prefix=/my/mips/target/directory
make
make install
For information about what the options mean, try ./configure --help
And _please_ don't cross-post to so many lists...
Kind regards,
Jon
---------------------------------------------------------------------
Loading...