On Mon, Sep 29, 2003 at 03:44:44PM -0700, Peter Karman wrote:
> Hello.
>
> I am trying to compile the Perl module for 2.2.3 on Mac OS X. Yes,
> before you ask, I know that the 2.4 version is preferred. For production
> reasons, I am still using 2.2.3 on all my OSes at present.
Oh, I'll try and get 2.2.3 available to try, but for now I just built swish-e
and the SWISH::API Perl module on:
Darwin ucf-cf-ppc-macosx-2 6.5 Darwin Kernel Version 6.5: Mon Apr 7 17:05:38 PDT 2003; root:xnu/xnu-344.32.obj~1/RELEASE_PPC Power Macintosh powerpc
Just a guess, but maybe you need to install the Perl development package (assuming there
is one). Those symbols below are all unresolved when I build, too, but get resolved at run
time - so maybe you don't have the dev libraries installed.
bash-2.05a$ nm API.o | grep _Perl_sv
U _Perl_sv_2iv
U _Perl_sv_2mortal
U _Perl_sv_2pv
U _Perl_sv_free
U _Perl_sv_isobject
U _Perl_sv_newmortal
U _Perl_sv_setiv
U _Perl_sv_setpv
U _Perl_sv_setref_pv
Here's the command I used to build the module.
bash-2.05a$ perl Makefile.PL PREFIX=$HOME/local CCFLAGS=-I$HOME/osx/include LIBS="-L$HOME/osx/lib -lswish-e"
ld: Undefined symbols:
> _main
> _PL_curpad
> _PL_markstack_max
> _PL_markstack_ptr
> _PL_na
> _PL_op
> _PL_stack_base
> _PL_stack_max
> _PL_stack_sp
> _PL_sv_undef
> _PL_sv_yes
> _Perl_av_push
> _Perl_croak
> _Perl_form
> _Perl_hv_store
> _Perl_markstack_grow
> _Perl_mg_set
> _Perl_newAV
> _Perl_newHV
> _Perl_newRV_noinc
> _Perl_newSViv
> _Perl_newSVpv
> _Perl_newXS
> _Perl_stack_grow
> _Perl_sv_2iv
> _Perl_sv_2mortal
> _Perl_sv_2pv
> _Perl_sv_newmortal
> _Perl_sv_setiv
> _Perl_sv_setpv
> _perl_get_sv
> make: *** [blib/arch/auto/SWISHE/SWISHE.bundle] Error 1
>
> --
> Peter Karman - Software Publications Programmer - Cray Inc
> phone: 651-605-9009 - mailto:karman@cray.com
>
>
--
Bill Moseley
moseley@hank.org
Received on Tue Sep 30 00:04:59 2003