From dev-return-15230-apmail-apr-dev-archive=apr.apache.org@apr.apache.org Tue Jan 03 23:08:09 2006 Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 41371 invoked from network); 3 Jan 2006 23:08:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Jan 2006 23:08:08 -0000 Received: (qmail 15625 invoked by uid 500); 3 Jan 2006 23:08:07 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 15567 invoked by uid 500); 3 Jan 2006 23:08:07 -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 15556 invoked by uid 99); 3 Jan 2006 23:08:07 -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:08:07 -0800 X-ASF-Spam-Status: No, hits=-2.9 required=10.0 tests=DNS_FROM_RFC_WHOIS,NO_REAL_NAME,RCVD_IN_BSP_TRUSTED X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [150.229.7.38] (HELO act-ironport-ext-out2.csiro.au) (150.229.7.38) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jan 2006 15:08:05 -0800 DomainKey-Signature: s=email; d=csiro.au; c=nofws; q=dns; b=kr/gacgGRjAsiizTLC22dZeCd6gILxAYmSUyVnJUgN4LYqaNza/FpNNm0Ckc8XYWTANRNdckumqgmOirS7KwRxpfsPbZDoI8py/S10bw4E8Ur2x1+lSkf/CDgEJ0Wo0p; Received: from exgw1-cbr.nexus.csiro.au ([152.83.3.66]) by act-ironport-ext-out2.csiro.au with ESMTP; 04 Jan 2006 10:07:42 +1100 X-IronPort-AV: i="3.99,327,1131282000"; d="scan'208"; a="75736053:sNHT140712152" Received: from EXACTN1-CBR.nexus.csiro.au ([152.83.3.131]) by exgw1-cbr.nexus.csiro.au with Microsoft SMTPSVC(5.0.2195.6713); Wed, 4 Jan 2006 10:07:42 +1100 Received: from exnswn2-syd.nexus.csiro.au ([130.155.3.32]) by EXACTN1-CBR.nexus.csiro.au with Microsoft SMTPSVC(5.0.2195.6713); Wed, 4 Jan 2006 10:07:42 +1100 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: using APR on fedora core 3 Date: Wed, 4 Jan 2006 10:07:41 +1100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: using APR on fedora core 3 Thread-Index: AcYQZ0TF3NplJJZMTtiDS0+JGOY6mwAUbTGA From: To: Cc: , X-OriginalArrivalTime: 03 Jan 2006 23:07:42.0381 (UTC) FILETIME=[7FFBD5D0:01C610BA] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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? Alex