Summary: | net-firewall/conntrack-tools-0.9.7 compile fails with PATH_MAX undeclared | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Adrian Bassett <Adrian.Bassett> |
Component: | Current packages | Assignee: | Cédric Krier <cedk> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bsd, netmon |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 198121 | ||
Attachments: |
Temporary fix for PATH_MAX
New patch with INT_MAX support |
Description
Adrian Bassett
2008-06-14 14:17:53 UTC
this is a glibc-2.8 problem and should block bug 225459 Created attachment 156757 [details, diff]
Temporary fix for PATH_MAX
This should fix it.
Fix in cvs Thanks. (In reply to comment #3) > Fix in cvs > Thanks. > Well, it get's us a bit further but the compile then fails at ignore_pool.c:70: ignore_pool.c: In function 'ignore_pool_create': ignore_pool.c:70: error: 'INT_MAX' undeclared (first use in this function) ignore_pool.c:70: error: (Each undeclared identifier is reported only once ignore_pool.c:70: error: for each function it appears in.) make[1]: *** [ignore_pool.o] Error 1 make[1]: Leaving directory `/tmp_portage/portage/net-firewall/conntrack-tools-0.9.7/work/conntrack-tools-0.9.7/src' INT_MAX is defined in /usr/include/limits.h and the following patch fixes things (needs re-working before incorporating in ebuild): diff -u ignore_pool.c.dist ignore_pool.c --- ignore_pool.c.dist 2008-06-14 19:23:14.603919857 +0100 +++ ignore_pool.c 2008-06-14 19:21:45.347920202 +0100 @@ -16,6 +16,7 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include <limits.h> #include "ignore.h" #include "jhash.h" #include "hash.h" Thanks. Reopen (In reply to comment #4) > (In reply to comment #3) > > Fix in cvs > > Thanks. > > > > Well, it get's us a bit further but the compile then fails at ignore_pool.c:70: > > INT_MAX is defined in /usr/include/limits.h and the following patch fixes > things (needs re-working before incorporating in ebuild): > Is it compile completely with this patch? > Is it compile completely with this patch?
It does.
Created attachment 156769 [details, diff]
New patch with INT_MAX support
Included limits.h if INT_MAX isn't defined. Should compile fine now.
Fix in cvs (In reply to comment #9) > Fix in cvs > Have re-installed from the net-firewall/conntrack-tools-0.9.7-r2 ebuild and it all compiles fine now. Thanks. |