On Tuesday 22 January 2008 15:20:25 Allison Randal via RT wrote:

> From http://osdir.com/ml/lib.libtom/2005-01/msg00010.html:
>
> "By default common symbols are not included in static
> archive table of contents.  If you use the ranlib(1) -c
> option you can get Linux behavior."
>
> And from 'man ranlib' on 10.4.11:
>
> -c     Include  common symbols as definitions with respect to the table
> of contents.  This is seldom the intended behavior  for  linking from  a
>  library,  as  it forces the linking of a library member just because it
> uses an uninitialized global that  is  undefined at  that  point  in
> the  linking.  This option is included only because this was the
> original behavior of ranlib.   This  option is not the default.

Are you building a static or a shared binary?  Did this problem only show up 
after Coke switched the default to shared?

-- c

Reply via email to