On Tue, 25 Sep 2007, Manoj Nayak wrote:

> Hi,
>
> The program's ( attached in the mail ) linking stage comes up with error 
> message , "bkmem_alloc" is undefined.
> Which library should be linked to this program ?

Rather, why do you want to use these functions ? How do you "compile" and 
"link" your program ?

bkmem_alloc() is for bootstrapping code only. No "normal" code will ever 
need these, nor be able to use these. Boot code is special in more than 
one way, you need to compile and link it in the proper way (standalone, 
using fixed-address linker mapfiles and static linking). As far as runtime 
library features go, boot code is limited to using no more than what's in 
usr/src/stand/... - check that,

        http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/stand/

FrankH.

>
> Thanks
> Manoj Nayak
>
> Sun Streaming System 
>
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to