dtrace ustack kernel panic
Kevin Oberman
kob6558 at gmail.com
Wed Aug 3 00:12:42 UTC 2011
On Tue, Aug 2, 2011 at 3:46 PM, maestro something <maestro82 at gmail.com> wrote:
> Hi,
>
> diff --git a/lib/libproc/proc_create.c b/lib/libproc/proc_create.c
>> index c372a47..9bd24a2 100644
>> --- a/lib/libproc/proc_create.c
>> +++ b/lib/libproc/proc_create.c
>> @@ -79,12 +79,11 @@ proc_attach(pid_t pid, int flags, struct proc_handle
>> **pphdl)
>> else
>> phdl->status = PS_STOP;
>>
>> +out:
>> if (error)
>> proc_free(phdl);
>> else
>> *pphdl = phdl;
>> -out:
>> - proc_free(phdl);
>> return (error);
>> }
>>
>
> What do I have to recompile for the patch to be picked up?
> make libproc in /usr/src/lib
> works but
> make install libproc
> fails the following way:
>
> fb90i386# make install libproc
> ===> csu/i386-elf (install)
> install -o root -g wheel -m 444 crti.o crtn.o gcrt1.o crt1.o Scrt1.o
> /usr/lib
> ===> libc (install)
> install -C -o root -g wheel -m 444 libc.a /usr/lib
> install: libc.a: No such file or directory
> *** Error code 71
>
> Stop in /usr/src/lib/libc.
> *** Error code 1
>
> Stop in /usr/src/lib.
Did you remember to 'make obj'? If you didn't, the library would be
left in the wrong place where 'make install' would not find it.
make obj
make depend (possibly a no-op)
make
make install
--
R. Kevin Oberman, Network Engineer - Retired
E-mail: kob6558 at gmail.com
More information about the freebsd-stable
mailing list