Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Apr 2012 11:00:30 +1000
From:      Da Rock <freebsd-questions@herveybayaustralia.com.au>
To:        freebsd-questions@freebsd.org
Subject:   Re: what is the path of kernel build directory?
Message-ID:  <4F7E402E.4080400@herveybayaustralia.com.au>
In-Reply-To: <CAN%2BS=WByG5F-Pd4abAeZPgHfYD2LBfuv07w0UMyLFZb=bL6KMA@mail.gmail.com>
References:  <CAN%2BS=WByG5F-Pd4abAeZPgHfYD2LBfuv07w0UMyLFZb=bL6KMA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F7E402E.4080400>