Hi,

Thank you so much for your help. But I am still concerned about the backward 
compatibility. 
First I have to use DTrace to instrument the kernel to do performance analysis. 
At the same time, the program I need to build on the FreeBSD is a kind of 
transport protocol, which is based on the FreeBSD 6.0. The transport protocol 
may change the network stack of the kernel networking system, so I do not know 
whether this would work.
Hope to hear from you. Thank you very much.

Best,
W.Wang

On Nov 22, 2010, at 12:08 PM, Dan Nelson wrote:

> In the last episode (Nov 22), Weihang Wang said:
>> I am a totally newbie to FreeBSD. I am building a custom kernel based on
>> FreeBSD 6.0 kernel (I have to use this version cause I need to run an
>> application which is only available for FreeBSD 6.0).  I conform to the
>> handbook to add the following lines in kernel configuration file to enable
>> DTrace support:
>> 
>> options      KDTRACE_FRAME
>> options      KDTRACE_HOOKS
>> options      DDB_CTF
>> makeoptions WITH_CTF=1
>> 
>> Then I use the following commands to recompile my kernel and install this
>> new kernel:
>> 
>> make buildkernel KERNCONF=KERNELNAME
>> make installkernel KERNCONF=KERNELNAME
>> 
>> The compiling process encounters an error: Unknown option "DDB_CTF", I
>> have no idea how to fix this?
> 
> Just remove all references to CTF; that's for Dtrace support, which doesn't
> exist in the 6.* branch.
> 
> You might also want to try running your application on FreeBSD 8.1 after
> installing the misc/compat6x package.  Backwards binary compatibility
> support is very good.
> 
> -- 
>       Dan Nelson
>       [email protected]
> _______________________________________________
> [email protected] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[email protected]"

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to