On 23/01/2008, Allison Randal via RT <[EMAIL PROTECTED]> wrote:
> On Tue Jan 22 15:38:11 2008, [EMAIL PROTECTED] wrote:
> >
> > Are you building a static or a shared binary?  Did this problem only
> > show up after Coke switched the default to shared?
>
> Shared. I don't know the exact timing of the change in relation to the
> failure starting. But, changing config/init/hints/darwin.pm back to
> static by default, with a 'realclean' recompile doesn't work either.
> Still get "Undefined symbols" errors:
>
> c++ -o pbc_to_exe pbc_to_exe.o  -L/usr/local/lib -L/opt/local/lib
> -L/sw/lib -L/sw/lib -L/opt/local/lib -L/sw/lib $(LIBPARROT_STATIC)  -lm
> -lgmp -lreadline /Users/allison/projects/svn/parrot/src/parrot_config.o
> sh: line 1: LIBPARROT_STATIC: command not found
> /usr/bin/ld: Undefined symbols:
> _PackFile_fixup_subs
> [...]
> collect2: ld returned 1 exit status
> linking failed
> current instr.: 'link_file' pc 752 (pbc_to_exe.pir:365)
> called from Sub 'main' pc 124 (pbc_to_exe.pir:32)
>
> It does work if I manually substitute "blib/lib/libparrot.a" for
> LIBPARROT_STATIC in the compile command-line:
>
> c++ -o pbc_to_exe pbc_to_exe.o  -L/usr/local/lib -L/opt/local/lib
> -L/sw/lib -L/sw/lib -L/opt/local/lib -L/sw/lib blib/lib/libparrot.a  -lm
> -lgmp -lreadline /Users/allison/projects/svn/parrot/src/parrot_config.o
>

This is interesting as it's the same problem I'm having on Solaris:
$(LIBPARROT_STATIC) isn't getting expanded.  Except Solaris complains
that the '(' shouldn't be there.  See RT#50066.

Paul

Reply via email to