I am trying to get the Cflow module included with flow-tools 0.68 (under
contrib) to compile and I am recieving errors. I had to patch the
flow-tools version 0.68 to get that to work. I am wondering if there is
a work around or patch to get Cflow working. The make is what fails and
this is the output:
cp Cflow.pm blib/lib/Cflow.pm
AutoSplitting blib/lib/Cflow.pm (blib/lib/auto/Cflow)
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap
/usr/lib/perl5/5.8.8/ExtUtils/typemap Cflow.xs > Cflow.xsc && mv
Cflow.xsc Cflow.c
gcc -c -I../../lib -I../../lib/.. -DOSU -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"1.051\"
-DXS_VERSION=\"1.051\" -fPIC
"-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" Cflow.c
Cflow.xs: In function ‘constant’:
Cflow.xs:143: warning: label ‘not_there’ defined but not used
Cflow.c: At top level:
Cflow.xs:127: warning: ‘not_here’ defined but not used
Cflow.xs:136: warning: ‘constant’ defined but not used
Cflow.c: In function ‘XS_Cflow_find’:
Cflow.xs:579: warning: ‘has_f5data’ may be used uninitialized in
this function
Running Mkbootstrap for Cflow ()
chmod 644 Cflow.bs
rm -f blib/arch/auto/Cflow/Cflow.so
gcc -shared Cflow.o -o blib/arch/auto/Cflow/Cflow.so \
-L/usr/local/src/flow-tools-0.68/contrib/Cflow-1.051/../../lib -lnsl
-lft -lz \
/usr/bin/ld:
/usr/local/src/flow-tools-0.68/contrib/Cflow-1.051/../../lib/libft.a(ftio.o):
relocation R_X86_64_32 against `a local symbol' can not be used when
making a shared object; recompile with -fPIC
/usr/local/src/flow-tools-0.68/contrib/Cflow-1.051/../../lib/libft.a:
could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/Cflow/Cflow.so] Error 1
Ant help would be greatly appreciated.
_______________________________________________
Flow-tools mailing list
[EMAIL PROTECTED]
http://mailman.splintered.net/mailman/listinfo/flow-tools