Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-embedded
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-embedded@g.o
From: Nicolas MASSÉ <nicolas27.masse@...>
Subject: Gentoo on Asus WL-HDD2.5 (mips32)
Date: Thu, 23 Feb 2006 23:50:02 +0100
Hello,

A couple of months ago, I bought a wireless box (Asus WL-HDD2.5) with a linux 
firmware, a description is available at [1].

The first thing that I did, was to flash the firmware with openwrt, see [2]. 
Then, I wanted to install a gentoo on it so I started with a mips stage 3, 
and it worked fine.

Since the box has a few bogomips (less than 100), I tried to crosscompile 
using portage, but I often have problems with the ./configure scripts (it 
cannot execute test programs while crosscompiling. Sometimes the script makes 
a bad guess and it doesn't compile). 

I successfully compiled hdparm, but it segfault when launched on the target. 
So I decided to compile gdb, but the compilation ends with :

checking for main in -lm... yes
checking for wctype... yes
checking for library containing gethostbyname... none required
checking for library containing socketpair... none required
checking for library containing waddstr... no
checking for library containing tgetent... no
configure: error: no termcap library found
make[1]: *** [configure-gdb] Error 1
make[1]: Leaving directory `/tmp/portage/gdb-6.4-r2/work/gdb-6.4'
make: *** [all] Error 2

!!! ERROR: sys-devel/gdb-6.4-r2 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile



The last configure script (gdb has several ./configure) was :

configure: running /bin/sh '../.././sim/igen/configure' --prefix=/usr  
'--cache-file=./config.cache' '--build=i686-pc-linux-gnu' 
'--host=mipsel-default-linux-uclibc' '--target=mipsel-default-linux-uclibc' 
'--with-stabs' '--prefix=/usr' '--mandir=/usr/share/man' 
'--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' 
'--localstatedir=/var/lib' '--disable-werror' '--disable-nls' 
'--program-transform-name=s,y,y,' '--srcdir=.././sim' 
'CC=mipsel-default-linux-uclibc-gcc' 'CFLAGS=-O2 -fomit-frame-pointer -pipe ' 
'CPPFLAGS=-I/target/usr/include' 'LDFLAGS=' 'build_alias=i686-pc-linux-gnu' 
'host_alias=mipsel-default-linux-uclibc' 
'target_alias=mipsel-default-linux-uclibc' --cache-file=.././config.cache 
--srcdir=../.././sim/igen


But on other ./configure from gdb I can see :

checking for tgetent in -ltermcap... no
checking for tgetent in -ltinfo... no
checking for tgetent in -lcurses... no
checking for tgetent in -lncurses... no
checking which library has the termcap functions... using gnutermcap



I attached the interresting lines of the config.log.
I am a bit lost, does anyone have an idea ?


Best regards,

Nicolas MASSE

[1] http://www.asus.com/products4.aspx?l1=12&l2=44&l3=0&model=460&modelmenu=1
[2] http://openwrt.org/

Attachment:
gdb_config.log (Text Data)
Replies:
Re: Gentoo on Asus WL-HDD2.5 (mips32)
-- Mike Frysinger
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
efika embedded project (gnap)
Next by thread:
Re: Gentoo on Asus WL-HDD2.5 (mips32)
Previous by date:
Re: Audio on a 486
Next by date:
Re: Gentoo on Asus WL-HDD2.5 (mips32)


Updated Jun 17, 2009

Summary: Archive of the gentoo-embedded mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.