Subject: Re: pkg_create dumps core
To: Sylvester F <sylvester_f@hotmail.com>
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
List: tech-pkg
Date: 03/06/2003 00:55:53
On Wed, 5 Mar 2003, Sylvester F wrote:
> i modified /usr/pkgsrc/pkgtool/pkg_install/Makefile
> and added this to end of the file:
> CFLAGS+=-g
> STRIPFLAG=
>
> Then I rebuilt the package with make clean & make update.
...
> i type bt and it prints:
>
> #0  0x480e9125 in memmove () from /usr/lib/libc.so.12
> #1  0x8073fc4 in ?? ()
> #2  0x480de1ac in __bt_split () from /usr/lib/libc.so.12
> #3  0x480dd963 in __bt_split () from /usr/lib/libc.so.12
> #4  0x480dc765 in __bt_put () from /usr/lib/libc.so.12
> #5  0x804d869 in ?? ()
> #6  0x804b39a in ?? ()
> #7  0x804af04 in ?? ()
> #8  0x8049f32 in ?? ()
> #9  0x8049ae0 in ?? ()
>
> i hope this is what you wanted, i've never used gdb before :)

Close... it seems you forgot the "make clean ; make ; make install" in the
.../src/usr.sbin/pkg_install dir.


 - Hubert

-- 
Want to get a clue on IPv6 but don't know where to start? Try this:
* Basics -> http://www.onlamp.com/pub/a/onlamp/2001/05/24/ipv6_tutorial.html
* Setup  -> http://www.onlamp.com/pub/a/onlamp/2001/06/01/ipv6_tutorial.html
Of course with your #1 IPv6 ready operating system -> http://www.NetBSD.org/