Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 48469 invoked from network); 3 Jan 2006 23:26:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Jan 2006 23:26:04 -0000 Received: (qmail 29248 invoked by uid 500); 3 Jan 2006 23:26:03 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 29190 invoked by uid 500); 3 Jan 2006 23:26:02 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 29176 invoked by uid 99); 3 Jan 2006 23:26:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jan 2006 15:26:02 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of rooneg@gmail.com designates 64.233.184.193 as permitted sender) Received: from [64.233.184.193] (HELO wproxy.gmail.com) (64.233.184.193) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jan 2006 15:26:01 -0800 Received: by wproxy.gmail.com with SMTP id i31so2430590wra for ; Tue, 03 Jan 2006 15:25:41 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ayHnma/8B7mQXqLXeo7VRWsTS9vPV8VKg2IVk0MhVmFUgoL2ke+1rYxRgTev4yqQsjz5sV1cMsSTDInf66p94xcGcCbtohG7Vn0gW2YyRl/q/3YSb6kdFNDZiwsdvkkOpglk4qrmpkwqOEGk6Oj3bYOXnkIrrVDRCOCW53WG+k0= Received: by 10.54.144.13 with SMTP id r13mr826681wrd; Tue, 03 Jan 2006 15:25:14 -0800 (PST) Received: by 10.54.121.15 with HTTP; Tue, 3 Jan 2006 15:25:40 -0800 (PST) Message-ID: <7edfeeef0601031525u2d1d9994m79a268c7eecc694a@mail.gmail.com> Date: Tue, 3 Jan 2006 15:25:40 -0800 From: Garrett Rooney Sender: rooneg@gmail.com To: "Alex.Krumm-Heller@csiro.au" Subject: Re: using APR on fedora core 3 Cc: dev@apr.apache.org, zeisberg@informatik.uni-freiburg.de, inoue@ariel-networks.com In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 1/3/06, Alex.Krumm-Heller@csiro.au wrote: > Hi, > > > Did you use the compiler flags given by apr-config? > > > > Try something like: > > > > `apr-config --cc` `apr-config --cflags --cppflags` -c lala1.c > > `apr-config --cc` `apr-config --cflags --cppflags` -c lala2.c > > `apr-config --cc` `apr-config --link-ld --libs` -o lala lala1.o > lala2.o > > > > Probably using g++ instead of gcc (aka `apr-config --cc`) works if you > > > need C++. > > I have tried using the flags specified by apr-config and the error still > occurs. > > > I guess you're using the older APR. > > I formerly met the same error with the older APR. > > I am using apr-1.2.2 and the code you suggested appears in the apr.h > include file, so I am guessing that it is not the problem. > > The line that is causing the problem is when I call: > > apr_sleep(apr_time_make(0, 100000)); > > Any other suggestions? Can you try and reduce this to a simple test case (i.e. one .c file and an actual command you use to compile it) so that we can try to reproduce the problem? It's rather difficult to say what's wrong without seeing the code and the exact commands being used to build it. -garrett