[Gross] grossd 1.0.2 compilation error on linux/x86_64

Steve steeeeeveee at gmx.net
Tue Jan 19 12:46:29 EET 2010


-------- Original-Nachricht --------
> Datum: Tue, 19 Jan 2010 04:36:38 -0500 (EST)
> Von: Justin Piszcz <jpiszcz at lucidpixels.com>
> An: gross at lists.utu.fi, eino at utu.fi, antti at utu.fi
> Betreff: [Gross] grossd 1.0.2 compilation error on linux/x86_64

> Hi,
> 
> Distribution: Debian/Testing x86_64
> 
> Currently using 1.0.1:
> 
> Issue with 1.0.2:
> 
> $ make
> make  all-recursive
> make[1]: Entering directory `/home/user/gross-1.0.2'
> Making all in src
> make[2]: Entering directory `/home/user/gross-1.0.2/src'
> cc -DHAVE_CONFIG_H -I. -I.. -I../include -D_REENTRANT -I/usr/local/include
>  -g -O2 -MT utils.o -MD -MP -MF .deps/utils.Tpo -c -o utils.o utils.c
> In file included from utils.c:22:
> ../include/utils.h:42: error: conflicting types for 'getline'
> /usr/include/stdio.h:651: error: previous declaration of 'getline' was
> here
> make[2]: *** [utils.o] Error 1
> make[2]: Leaving directory `/home/user/gross-1.0.2/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/user/gross-1.0.2'
> make: *** [all] Error 2
> Command exited with non-zero status 2
> 0.03user 0.01system 0:00.04elapsed 91%CPU (0avgtext+0avgdata
> 35536maxresident)k
> 0inputs+0outputs (0major+6238minor)pagefaults 0swaps
> 
> $ gcc -v
> Using built-in specs.
> Target: x86_64-linux-gnu
> Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.4-6'
> --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs
> --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch
> --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib
> --without-included-gettext --enable-threads=posix --enable-nls
> --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu
> --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --with-tune=generic
> --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
> --target=x86_64-linux-gnu
> Thread model: posix
> gcc version 4.3.4 (Debian 4.3.4-6)
> 

Execute this in your GROSS source directory after you have extracted it but before you compile:
-----------------------
sed -i -e "/^int[\t ]\{1,99\}getline[\t ]*(.*/d" ./include/utils.h
-----------------------

Then try again.


> Justin.
> 
> _______________________________________________
> Gross mailing list
> Gross at lists.utu.fi
> https://lists.utu.fi/mailman/listinfo/gross

-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01



More information about the Gross mailing list