Subject: | PAR-0.89 won't build on Darwin/OSX |
cc -c -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -
Wdeclaration-after-statement -I/sw/include -I/opt/perl/snap/lib/5.8.7/darwin/CORE
main.c
In file included from main.c:57:
internals.c: In function 'XS_Internals_PAR_BOOT':
internals.c:34: warning: ignoring return value of 'Perl_av_shift', declared with attribute
warn_unused_result
/opt/perl/snap/bin/perl ./file2c.pl ../script/par.pl my_par_pl.c load_me_2 1
cc -c -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -
Wdeclaration-after-statement -I/sw/include -I/opt/perl/snap/lib/5.8.7/darwin/CORE
my_par_pl.c
cc main.o my_par_pl.o -flat_namespace -L/sw/lib /Volumes/UFS/opt/perl/snap/lib/5.8.7/
darwin/auto/DynaLoader/DynaLoader.a -L/opt/perl/snap/lib/5.8.7/darwin/CORE -lperl -ldl
-lm -lc --output ./par
/usr/bin/ld: multiple definitions of symbol _PL_statbuf
main.o definition of _PL_statbuf in section (__DATA,__common)
/opt/perl/snap/lib/5.8.7/darwin/CORE/libperl.dylib(globals.o) definition of _PL_statbuf
collect2: ld returned 1 exit status
make[1]: *** [par] Error 1
make: *** [subdirs] Error 2