Subject: | Time::Format segmentation fault Synology DS209+II |
Hi Eric,
I hope that this message finds you well.
I use Time::Format in just about every single perl script that I write,
it is brilliant so thank you very much.
Recently I purchased a Synology DS209+II so that I could do away with my
big old Linux server & I am attempting to migrate my scripts onto it.
I get a segmentation fault when I try to use the module so after reading
one of the bug reports I tried installing Time::Format_XS 1.03.
Unfortunately the compile fails & I am not skilled enough to fix it:
Show quoted text
ds209> perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Time::Format_XS
Show quoted textds209> make
cp Format_XS.pm blib/lib/Time/Format_XS.pm
/usr/bin/perl /usr/lib/perl5/5.8.6/ExtUtils/xsubpp -typemap
/usr/lib/perl5/5.8.6/ExtUtils/typemap Format_XS.xs > Format_XS.xsc &&
mv Format_XS.xsc Format_XS.c
Please specify prototyping behavior for Format_XS.xs (see perlxs manual)
/usr/local/powerpc-linux-gnuspe/bin/powerpc-linux-gnuspe-gcc -c
-I/usr/local/powerpc-linux-gnuspe/include -mcpu=8548 -mhard-float
-mfloat-gprs=double -DSYNO_PPC_853X -g -DSYNO_PLATFORM=PPC_853X
-fno-strict-aliasing -fexpensive-optimizations -fomit-frame-pointer -g
-O -DVERSION=\"1.03\" -DXS_VERSION=\"1.03\"
-I/usr/local/powerpc-linux-gnuspe/include -mcpu=8548 -mhard-float
-mfloat-gprs=double -DSYNO_PPC_853X -g -DSYNO_PLATFORM=PPC_853X
-fno-strict-aliasing -fexpensive-optimizations -fomit-frame-pointer -g
"-I/usr/lib/perl5/5.8.6/PPC_853X/CORE" Format_XS.c
/usr/local/powerpc-linux-gnuspe/bin/powerpc-linux-gnuspe-gcc:
/usr/local/powerpc-linux-gnuspe/bin/powerpc-linux-gnuspe-gcc: 1: Syntax
error: "(" unexpected
make: *** [Format_XS.o] Error 2
Hopefully you will have time to help me fix this problem.
If you need me to supply any other info just ask - I will be more than
happy to plug through this with you.
CPU is: PowerPC 8544/8533
More info regarding 3rd party apps compilation can be found here:
http://download.synology.com/download/ds/userguide/Synology%20NAS%20Server%203rd-Party%20Apps%20Integration%20Guide.pdf
Best wishes,
Darren Chambers
England