what is the path of kernel build directory?
Robert Bonomi
bonomi at mail.r-bonomi.com
Thu Apr 5 16:38:16 UTC 2012
saeedeh motlagh <saeedeh.motlagh at gmail.com> wrote:
>
> hello guys
> i want to install the openvswitch 1.4.0 from a linux package. the below
> command should be executed:
> ./configure --with-linux=/lib/modules/'uname -r '/build
> this is a linux command and i should execute the FreeBSD equivalent but i
> don't know how to do that. the manual says:
>
> To build the Linux kernel module, so that you can run the
> kernel-based switch, pass the location of the kernel build
> directory on --with-linux.
>
> what is kernel build directory in FreeBSD9 amd64? or how i should execute
> this command?
If you have to ask, you should *NOT* attempt to build this kernel module
on FreeBSD.
The kernel, kernel interfaes, etc. are *DIFFERENT* between Linux and FreeBSD.
signficicant sourte-code changes will VERY PROBABLY be require to get
the module to (a) compile, and (b) run, in a FreeBSD environment.
To do _that_ -- modifying the sources -- 'where the build directory is' is
a very _minor_ incidental piece of knowlege. If you don't have that
incidental knowledge, is is virtually certain, you don't have the skill set
to do the required source modifications.
Executive summary -- this is a DDT issue.
DDT ==> <D>on't <D>o <T>hat!!
More information about the freebsd-questions
mailing list