Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225611 - linux-atm-2.5.0 fails with glibc-2.8
Summary: linux-atm-2.5.0 fails with glibc-2.8
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Dialup Developers
: 225803 (view as bug list)
Depends on:
Blocks: glibc-2.8
  Show dependency tree
Reported: 2008-06-09 17:34 UTC by nixnut (RETIRED)
Modified: 2008-06-10 23:09 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---

Modified PATH_MAX patch (PATH_MAX-patch.modified,376 bytes, patch)
2008-06-10 15:23 UTC, Bandan
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description nixnut (RETIRED) gentoo-dev 2008-06-09 17:34:57 UTC
powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..     -I../../src/includ
e -O2 -mtune=G4 -maltivec -mabi=altivec -Wstrict-aliasing -pipe -msecure-plt -fn
o-strict-aliasing -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-protot
ypes -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
main.c: In function ‘main’:
main.c:205: error: ‘PATH_MAX’ undeclared (first use in this function)
main.c:205: error: (Each undeclared identifier is reported only once
main.c:205: error: for each function it appears in.)

builds with patch from
diff -up linux-atm-2.5.0/src/led/main.c.path_max linux-atm-2.5.0/src/led/main.c
--- linux-atm-2.5.0/src/led/main.c.path_max	2008-05-19 02:47:40.000000000 +0900
+++ linux-atm-2.5.0/src/led/main.c	2008-05-19 02:47:52.000000000 +0900
@@ -41,6 +41,7 @@
 #include <getopt.h>
 #include <errno.h>
 #include <fcntl.h>
+#include <limits.h>
 #include <atm.h>
 #include <atmd.h>
Comment 1 Bandan 2008-06-10 15:23:04 UTC
Created attachment 156253 [details, diff]
Modified PATH_MAX patch

Apply this instead of the original patch
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2008-06-10 17:23:32 UTC
Attached patch has been submitted to cvs.
Fixed without revision bump.
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2008-06-10 23:09:10 UTC
*** Bug 225803 has been marked as a duplicate of this bug. ***