On Fri, Mar 11, 2011 at 7:48 PM, George D Pylant III <
objectivec...@gmail.com> wrote:

> Thought I was home free after finally getting Schroedinger 1.0.10 to
> configure successfully after I installed pkg-config on my Mac Pro.  But then
> make fails with
>
>  /Volumes/Ramdisk/sw/lib/liborc-0.4.a
> Undefined symbols:
>  "__schro_decode_prediction_only", referenced from:
>      _schro_init in libschroedinger-1.0.a(libschroedinger_1.0_la-schro.o)
>  "__schro_telemetry", referenced from:
>      _schro_init in libschroedinger-1.0.a(libschroedinger_1.0_la-schro.o)
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[3]: *** [arith] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> Is there a fix for this? Is there a way to "define" these "undefined
> symbols" in the configure line or with cflags/ldflags?  Please advise.
>  Thank you.
>

A symbol is a named item in an executable-code file, which is usually a
function but can also be external variables. To "define" a symbol would
require providing a c/c++ source file that contains the function/external
variable definition, probably a function in this case given names such as
"__schro_decode_prediction_only". It does appear that some of the symbols
have an _, and some have 2 _s, or __, as a prefix of the symbol. I suggest
adding -DNO_PREFIX to your CPPFLAGS, as in

export CPPFLAGS=$CPPFLAGS\ -DNO_PREFIX


>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> Schrodinger-devel mailing list
> Schrodinger-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/schrodinger-devel
>
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Schrodinger-devel mailing list
Schrodinger-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/schrodinger-devel

Reply via email to