Re: How to export arch specific symbols?

"François Revol" <[email protected]> Fri, 23 May 2008 20:54:03 +0200 CEST
Newsgroups gmane.os.openbeos.kernel.devel
Message-ID <2308049714-BeMail@laptop>
> I've got the problem that the new vm86_* functions are apparently
>  not exported 
> by the kernel and cannot be used by the vesa kernel add-on. :-( I 
> hacked 
> around that for me locally but what would be the preferred way to 
> export 
> these symbols?

They should be exported by default since we use ELF...
but maybe they aren't linked in to kernel.so, which is what the 
KernelAddon rule links to, not kernel_x86.
You might need to add the missing object to kernel.so in src/system/
kernel/Jamfile.

But maybe they just get exported with C++ linkage...
just grep nm output for vm86.

François.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/