Re: Re: patch to fix [omkmigd] <defunct>

tab-mTI/[email protected] (Vincent Hanquez)
Newsgroups gmane.linux.cluster.openmosix.devel
Message-ID <[email protected]>
On Fri, Apr 21, 2006 at 02:05:55PM -0600, Matt Dew wrote:
> Hi Vincent,
>   It's doesn't compile with the change in hpc/migrecv.c file.
> 
> hpc/built-in.o(.text+0x4471): In function `mig_handle_migration':
> hpc/migrecv.c:344: undefined reference to `reparent_to_init'
> make: *** [vmlinux] Error 1
> 
> I tried putting a 'EXPORT_SYMBOL(reparent_to_init);' into kernel/exit.c but that doesn't do anything.

duh, I forget to commit the qualifier change in kernel/exit.c (fixed now)

EXPORT_SYMBOL just export the function to modules code.
in this case we just want to export reparent_to_init to other files in
the kernel. By default all C functions are exported to other files,
unless you put a static..

OM_NSTATIC don't put the static when compiling with CONFIG_OPENMOSIX

Cheers,
-- 
Vincent Hanquez


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.