Subject: _tzname not defined in libc?
To: None <current-users@netbsd.org>
From: Rick Byers <rickb@iaw.on.ca>
List: current-users
Date: 10/08/1999 00:09:26
Hi,
When attempting to upgrade to -current today, I ran into a problem with
libc.  Once libc was built and the shared library installed, anything
that used it complained:
/usr/lib/libc.so.12: Undefined symbol "_tzname" (reloc type = 6, symnum
= 1100)
a nm of libc.so.12.49 (just installed) has:
         U _tzname
0006fbdc D tzname     

So obviously there is some _tzname/tzname mismatch somewhere. 
namespace.h has "#define tzname _tzname" (only if __weak_alias is
defined), and localtime.c includes namespace.h and also has
"__weak_alias(tzname,_tzname);" and then later "__aconst char *
tzname[2]".  What exactly does the __weak_alias stuff do, and why is it
there?  Anyone else seeing this problem?

Thanks,
	Rick

-- 
=========================================================================
Rick Byers                       University of Waterloo, Computer
Science
rickb@iaw.on.ca                              
http://www.iaw.on.ca/rickb/