felix / gross

Greylisting of suspicious source (exported from code.google.com/p/gross)
Other
5 stars 0 forks source link

gross can not be compiled under glibc >= 2.10.1 #81

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install glibc >= 2.10.1
2. Try to compile gross 1.0.1
3. Failure

What is the expected output?
Successful compilation.

What do you see instead?
In file included from utils.c:22:
../include/utils.h:42: error: conflicting types for 'getline'
/usr/include/stdio.h:651: note: previous declaration of 'getline' was here
make[2]: *** [utils.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/mail-filter/gross-1.0.1/work/gross-1.0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/mail-filter/gross-1.0.1/work/gross-1.0.1'
make: *** [all] Error 2

What version of the product are you using? On what operating system?
gross version 1.0.1 on Gentoo Linux 2008.1

Please provide any additional information below.
The function getline in utils.h on line 42
(http://code.google.com/p/gross/source/browse/trunk/include/utils.h#42) is
anyway nowhere used. Removing it solves the issue.

Original issue reported on code.google.com by stevan.b...@gmail.com on 20 Aug 2009 at 7:17

GoogleCodeExporter commented 9 years ago
Issue 88 has been merged into this issue.

Original comment by eino.tuominen@gmail.com on 26 Mar 2012 at 5:44