You are not logged in.
Hi guys, i'm trying to create debug symbols for xboard.
I've followed this ( http://wiki.archlinux.org/index.php/Deb … ing_Traces ) and i've created this:
# $Id: PKGBUILD 22465 2008-12-26 20:58:13Z jgc $
# Maintainer: Jason Chu <jason@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=xboard
pkgver=4.2.7
pkgrel=3
pkgdesc="XBoard is a graphical user interfaces for chess"
depends=('libxaw')
source=(ftp://gatekeeper.dec.com/pub/GNU/xboard/$pkgname-$pkgver.tar.gz)
license=('GPL2')
install=xboard.install
arch=('i686' 'x86_64')
url="http://www.tim-mann.org/chess.html"
md5sums=('b70ad8ff7569975302c5fb402d5eea32')
options=(!strip)
build() {
export CFLAGS="$CFLAGS -g"
export CXXFLAGS="$CXXFLAGS -g"
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --mandir=/usr/share/man || return 1
make || return 1
make prefix="${pkgdir}/usr" mandir="${pkgdir}/usr/share/man" install || return 1
rm -f "${pkgdir}/usr/share/info/dir"
}
after that i run makepkg and pacman -U xboard-4.2.7-3-i686.pkg.tar.gz
but when i start gdb xboard i see this:
#gdb xboard
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(no debugging symbols found)
i've verified xboard in /usr/bin is updated. What did i do wrong?
Thanks
Offline