[Flow-tools] Error compiling 0.66 and 0.68
Sven Übelacker
uebelacker at tuhh.de
Thu Oct 18 06:59:29 EDT 2007
Hi Spook,
try the patch:
http://mailman.splintered.net/pipermail/flow-tools/2005-May/002753.html
Cheers,
Sven.
Am Donnerstag, 18. Oktober 2007 11:18:44 schrieb Spook ZA:
> Hi.
>
> I have a problem compiling both versions on a CentOS 5 server (RH Ent 5
> binary compatable)
> (Linux version 2.6.18-8.el5 (mockbuild at builder4.centos.org) (gcc version
> 4.1.1 20070105 (Red Hat 4.1.1-52)) #1 SMP Thu Mar 15 19:57:35 EDT 2007)
>
> ./configure works fine and ends with "Now type make to continue the build
> process"
>
> Typing make or gmake yields the following errors:
>
> Making all in lib
> make[1]: Entering directory `/src/flow-tools-0.68/lib'
> make all-am
> make[2]: Entering directory `/src/flow-tools-0.68/lib'
> source='ftio.c' object='ftio.o' libtool=no \
> depfile='.deps/ftio.Po' tmpdepfile='.deps/ftio.TPo' \
> depmode=gcc3 /bin/sh ../depcomp \
> gcc -I. -I./lib -I. -I. -I. -g -Wall -g -Wall -c `test -f
> 'ftio.c'
>
> || echo './'`ftio.c
>
> ftio.c: In function âreadnâ:
> ftio.c:2270: error: invalid lvalue in assignment
> ftio.c: In function âwritenâ:
> ftio.c:2295: error: invalid lvalue in assignment
> make[2]: *** [ftio.o] Error 1
> make[2]: Leaving directory `/src/flow-tools-0.68/lib'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/src/flow-tools-0.68/lib'
> make: *** [all-recursive] Error 1
>
> This happens at exactly the same lines in both 0.66 and 0.68
>
> This compiles and runs fine on RedHat 9
> (Linux version 2.4.20-8smp (bhcompile at porky.devel.redhat.com) (gcc version
> 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 SMP Thu Mar 13 17:45:54 EST
> 2003)
>
> Am I correct in assuming that the source code is not compatable with the
> newer GCC versions?
>
>
> Both operating systems are 32 bit.
>
> Centos 5 packages:
> > rpm -qa |grep -i gcc
>
> gcc-4.1.1-52.el5
> gcc-gfortran-4.1.1-52.el5
> compat-gcc-34-3.4.6-4
> gcc-gnat-4.1.1-52.el5
> libgcc-4.1.1-52.el5
> gcc-c++-4.1.1-52.el5
> compat-gcc-34-c++-3.4.6-4
> compat-gcc-34-g77-3.4.6-4
> gcc-java-4.1.1-52.el5
>
> RedHat9 packages:
> > rpm -qa |grep -i gcc
>
> gcc-gnat-3.2.2-5
> libgcc-3.2.2-5
> gcc-3.2.2-5
> gcc-c++-3.2.2-5
> gcc-g77-3.2.2-5
> gcc-java-3.2.2-5
>
> Any comments and advice would be appreciated.
More information about the Flow-tools
mailing list