what is the path of kernel build directory?

Da Rock freebsd-questions at herveybayaustralia.com.au
Fri Apr 6 01:00:32 UTC 2012


On 04/05/12 17:21, saeedeh motlagh 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?

This isn't going to work the way you think, as has been pointed out: 
This is _not_ linux. Its better... :)

The good news is that FreeBSD can run linux programs and some other 
features (such as some modules), so you might want to try the emulation@ 
list where the linuxulator gurus hang out to get help building this.


More information about the freebsd-questions mailing list