Date: Thu, 5 Apr 2012 11:39:15 -0500 (CDT) From: Robert Bonomi <bonomi@mail.r-bonomi.com> To: freebsd-net@freebsd.org, freebsd-questions@freebsd.org, saeedeh.motlagh@gmail.com Subject: Re: what is the path of kernel build directory? Message-ID: <201204051639.q35GdFO0043980@mail.r-bonomi.com> In-Reply-To: <CAN%2BS=WByG5F-Pd4abAeZPgHfYD2LBfuv07w0UMyLFZb=bL6KMA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
saeedeh motlagh <saeedeh.motlagh@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!!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204051639.q35GdFO0043980>