[osol-help] Re: /lib directory

2007-01-22 Thread DEEPAK BHATIA
Hi,

I got the answer that it comes when we load Open Solaris on a machine.

Regards

Deepak Bhatia
 
 
This message posted from opensolaris.org



[osol-help] Building libc.a

2007-01-22 Thread Haris
Hi -

I am trying to build a static version of the C library by following the 
directions in README.makefile found in /lib directory. That is I am defining 
LIBS = $(LIBRARY). I know that some of you would say that it is not recommended 
to build static versions of libraries, but the reason I want to do it is 
strictly for research purposes (actually I am doing something with a simulator, 
and having dynamic libraries is pain). 

Thanks

PS: The error message that I get while trying to link against the generated 
libc.a is the following:

Undefined   first referenced
 symbol in file
__dtrace_plockstat___rw__blocked./libc.a(rwlock.o)
__dtrace_plockstat___rw__acquire./libc.a(rwlock.o)
_ld_libc./libc.a(thr.o)
_mbtowc ./libc.a(doprnt.o)
_dlsym  ./libc.a(unwind.o)
_wctomb ./libc.a(doprnt.o)
__dtrace_plockstat___mutex__release ./libc.a(synch.o)
localeconv  ./libc.a(doprnt.o)
__dtrace_plockstat___mutex__error   ./libc.a(synch.o)
__dtrace_plockstat___mutex__block   ./libc.a(synch.o)
__dtrace_plockstat___mutex__blocked ./libc.a(synch.o)
__dtrace_plockstat___mutex__acquire ./libc.a(synch.o)
_mbstowcs   ./libc.a(doprnt.o)
_scrwidth   ./libc.a(doprnt.o)
_wcswidth   ./libc.a(doprnt.o)
tolower ./libc.a(doprnt.o)
toupper ./libc.a(doprnt.o)
__dtrace_plockstat___rw__error  ./libc.a(rwlock.o)
__dtrace_plockstat___rw__block  ./libc.a(rwlock.o)
__dtrace_plockstat___mutex__spin./libc.a(synch.o)
__dtrace_plockstat___mutex__spun./libc.a(synch.o)
__dtrace_plockstat___rw__release./libc.a(rwlock.o)
 
 
This message posted from opensolaris.org