[OpenWrt-Devel] Building gdbserver

2008-04-29 Thread Roberto Riggio
Hi,

I'm trying to build gdbserver but the process fails with the following error:

(cd /home/hamvil/src/kamikaze/build_dir/i386/gdbserver-6.3; rm -rf 
config.{cache,status}; AR=i386-linux-uclibc-ar AS="i386-linux-uclibc-gcc -c -O2 
-pipe -march=i486 -funit-at-a-time -fhonour-copts" LD=i386-linux-uclibc-ld 
NM=i386-linux-uclibc-nm CC="i386-linux-uclibc-gcc" GCC="i386-linux-uclibc-gcc" 
CXX=i386-linux-uclibc-g++ RANLIB=i386-linux-uclibc-ranlib 
STRIP=i386-linux-uclibc-strip OBJCOPY=i386-linux-uclibc-objcopy 
OBJDUMP=i386-linux-uclibc-objdump SIZE=i386-linux-uclibc-size CFLAGS="-O2 -pipe 
-march=i486 -funit-at-a-time -fhonour-copts" 
/home/hamvil/src/kamikaze/build_dir/toolchain-i386_gcc4.1.2/gdb-6.3/gdb/gdbserver/configure
 --target=i386-linux --host=i386-linux --build=i486-linux-gnu 
--program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr 
--bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc 
--datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info 
--disable-nls  );
--: 
/home/hamvil/src/kamikaze/build_dir/toolchain-i386_gcc4.1.2/gdb-6.3/gdb/gdbserver/configure:
 No such file or directory
make[3]: *** 
[/home/hamvil/src/kamikaze/build_dir/i386/gdbserver-6.3/.configured] Error 127
make[3]: Leaving directory `/home/hamvil/src/kamikaze/package/gdbserver'
make[2]: *** [package/gdbserver/compile] Error 2
make[2]: Leaving directory `/home/hamvil/src/kamikaze'
make[1]: *** 
[/home/hamvil/src/kamikaze/staging_dir/i386/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/hamvil/src/kamikaze'
make: *** [world] Error 2

Basically gdb is not built so it cannot be found by gdbserver. Anybody is 
succeeding in building (and using) gdbserver on x86 (PCEngines WRAP board)?

Thanks

-- 

Roberto Riggio, PhD

CREATE-NET
Via alla Cascata 56/C 
38100 Trento (Italy)

E-mail: [EMAIL PROTECTED]
HomePage: http://disi.unitn.it/~riggio/

Tel: +39.0461.314.960
Fax: +39.0461.314.972


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Building gdbserver

2008-04-29 Thread Harald Schiöberg
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1




> 
> Basically gdb is not built so it cannot be found by gdbserver. Anybody is 
> succeeding in building (and using) gdbserver on x86 (PCEngines WRAP board)?

You must select gdb under "Advanced configuration options"->"Toolchain
options"

harald


btw: there is a patch against openwrt for gdb 6.7.1 under

http://svn.net.t-labs.tu-berlin.de/svn/magnets/openwrt/patches/200-gdb-multiversion.patch
http://svn.net.t-labs.tu-berlin.de/svn/magnets/openwrt/patches/201-gdbserver-multiversion.patch


- --
Harald Schiöberg
Technische Universität Berlin | T-Laboratories | FG INET
www: http://www.net.t-labs.tu-berlin.de
Phone: +49-(0)30-8353-58476 | Fax: +49-(0)391 534 783 47
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIF0aZJgyxs71kcx4RAho3AJwLXY7aLOsd7p0wrz3ZJn5/WTMf9gCdH8Qd
8vh3+N12y1xf4XWhwh7EKPE=
=1kRU
-END PGP SIGNATURE-
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Building gdbserver

2008-04-29 Thread Roberto Riggio

>> Basically gdb is not built so it cannot be found by gdbserver.
>> Anybody is succeeding in building (and using) gdbserver on x86
>> (PCEngines WRAP board)?
> 
> You must select gdb under "Advanced configuration
> options"->"Toolchain options"

Yes, of course I did this step. Otherwise the gdbserver does not even
appear in the list 

> btw: there is a patch against openwrt for gdb 6.7.1 under

The version of gdb in trunk is 6.7.3.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Building gdbserver

2008-04-29 Thread Oliver Ertl
gdb and gdbserver builds fine here from a clean checkout.

In menuconfig make sure you select:

  o Advanced configuration options (for developers): y
o Toolchain Options
  o Build gdb: y
  o Utilities
o gdbserver: m

And then 'make world'.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Building gdbserver

2008-04-30 Thread Roberto Riggio
Probably I am missing something. Why just "m" for gdbserver?

- "Oliver Ertl" <[EMAIL PROTECTED]> wrote:
> gdb and gdbserver builds fine here from a clean checkout.
> 
> In menuconfig make sure you select:
> 
>   o Advanced configuration options (for developers): y
> o Toolchain Options
>   o Build gdb: y
>   o Utilities
> o gdbserver: m
> 
> And then 'make world'.
> ___
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


-- 

Roberto Riggio, PhD

CREATE-NET
Via alla Cascata 56/C 
38100 Trento (Italy)

E-mail: [EMAIL PROTECTED]
HomePage: http://disi.unitn.it/~riggio/

Tel: +39.0461.314.960
Fax: +39.0461.314.972


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel