All, I am running x64 Suse Linux Enterprise Server and I am trying to compile Cflow with flow-tools support.
I run the perl Makefile.pl in the flowtools/contrib/Cflow-xx directory with no issue Then when I run make I get the following error pdxitnms01:/var/tmp/flow-tools-0.68/contrib/Cflow-1.051 # make cc -c -I../../lib -I../../lib/.. -DOSU -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -Wall -pipe -DVERSION=\"1.051\" -DXS_VERSION=\"1.051\" -fPIC "-I/usr/lib/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 LD_RUN_PATH="/lib64" cc -shared -L/usr/local/lib64 Cflow.o -o blib/arch/auto/Cflow/Cflow.so \ -L/var/tmp/flow-tools-0.68/contrib/Cflow-1.051/../../lib -lnsl -lft -lz \ /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: /var/tmp/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 /var/tmp/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 pdxitnms01:/var/tmp/flow-tools-0.68/contrib/Cflow-1.051 # If I edit the Makefile and replace the –DOSU with –fPIC then it will compile but I do not get the flow-tools support I need to make this work. I did have to apply some patches to get flow-tools to compile successfully, but I have not found any patch for diff files to get Cflow to compile on x64 systems. If anyone has a way that I can get this to work it would be greatly appreciated. Thanks Nate Beck Network Engineer WebTrends Inc.
_______________________________________________ Flow-tools mailing list [EMAIL PROTECTED] http://mailman.splintered.net/mailman/listinfo/flow-tools
