>
> Dear Jeff and Mary,
>
> > warning:Could not find Init() in external file ./erfc.so, file not
> loaded
> >
> > "void Init(void)" does exist in erfc_W.c.
> > Does anyone have an idea what this means?
>
> I recently asked if this problem has been solved.
> The options I gave Mary personally are the same as the ones Jeff used.
> Sorry, they are not anything new.
>
> Thus I still have the same problem.
>
> My guess is that ncl tries to find a symbol "Init()" on loading an
> external library.
> On a platform successfully do the job,
>
> $ uname -a
> IRIX64 sx5fsv 6.5 07151432 IP27
> $ nm addtwo.so
> [20] |274877778560| 228|FUNC |GLOB |DEFAULT |MIPS_TEXT|Init
>
> Thus Init exsists.
>
> On Mac OS X,
>
> $ uname -v
> Darwin Kernel Version 5.5: Thu May 30 14:51:26 PDT 2002;
> root:xnu/xnu-201.42.3.obj~1/RELEASE_PPC
> $ nm addtwo.so
> 00000e00 T _Init
>
> Thus an underscore leads Init. I tried an option -fno-leading-underscore
> but it was unsuccessful in removing underscores.
>
I have run into the same problem, and it's on my list of things to
investigate. I will try to look into it this week.
--Mary
_______________________________________________
ncl-talk mailing list
ncl-talk AT ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2b29 : Mon Jul 29 2002 - 08:00:55 MDT