From mint-bounce@lists.fishpool.fi Thu May 26 22:40:47 2005 X-Original-To: fnaumann@mail.boerde.de Delivered-To: fnaumann@mail.boerde.de Mime-Version: 1.0 (Apple Message framework v730) Content-Transfer-Encoding: 7bit Message-Id: <9E8A8475-99DE-49B1-980A-36A7813D0C33@epfl.ch> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: Mint list From: =?ISO-8859-1?Q?Philipp_Donz=E9?= Subject: [MiNT] GCC 3.3 and limits.h (PATH_MAX) Date: Thu, 26 May 2005 22:38:24 +0200 X-Mailer: Apple Mail (2.730) X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-To: mint-bounce@lists.fishpool.fi X-original-sender: philipp.donze@epfl.ch Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: X-Virus-Scanned: by amavisd-new at relay.boerde.de X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de X-Spam-Status: No, hits=-1.0 tagged_above=-50.5 required=7.0 tests=BAYES_00 X-Spam-Level: Hi, Some time ago I had the same problem when compiling QED with GCC 3.3. Now I'm refacing the same problem while compiling freemint's tools/ net-tools/pppconf.c: pppconf.c:108: error: `PATH_MAX' undeclared (first use in this function) pppconf.c:108: error: (Each undeclared identifier is reported only once pppconf.c:108: error: for each function it appears in.) PATH_MAX which can be found in limits.h of mintlib. The problem has been traced to GCC 3.3 which contains already a file called "limits.h" (which can be found here at /usr/local/cross-tools/ lib/gcc-lib/m68k-atari-mint/3.3.3/include/limits.h) How do I have to modify this file to assure that mintlibs "limits.h" is also included? Philipp