Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 8108 invoked from network); 27 Jul 2007 07:24:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Jul 2007 07:24:13 -0000 Received: (qmail 28701 invoked by uid 500); 27 Jul 2007 07:24:13 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 28681 invoked by uid 500); 27 Jul 2007 07:24:13 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 28670 invoked by uid 99); 27 Jul 2007 07:24:13 -0000 Received: from Unknown (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jul 2007 00:24:13 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rajikacc@gmail.com designates 66.249.82.231 as permitted sender) Received: from [66.249.82.231] (HELO wx-out-0506.google.com) (66.249.82.231) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jul 2007 07:24:09 +0000 Received: by wx-out-0506.google.com with SMTP id h29so680839wxd for ; Fri, 27 Jul 2007 00:23:48 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=G2MQ3zpD57YUY6StGufY7KfbUrBbxT4VjNzrujFNzCpnetneZNAPKTIoaICvzUs3tUuMM1p/z0ohyWN83TBAMr32PmLjbMe9z/IfnmClpb73Di8bOjQAZCDOAHF53SOSZI/8QX7eKYYjNPKuH4CRoVl3jq2+8579JkFoPds/sHw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=GnvYedWRqA5D0VyjczBxMeR5Bo+7M4BTx0SCS1kmXgI6B5LNbxv7D6r7fVul5ijs8XYezsXSPecWPlXV0qHeU9DBfozmrOF3CylFUEYLbO4HEZHCsPBJImCZPpy86RnXF2D6y/rZMnqhObo0ITKClIp6oJCUdMXZnCFyPs2GGC4= Received: by 10.70.16.6 with SMTP id 6mr4521886wxp.1185521028328; Fri, 27 Jul 2007 00:23:48 -0700 (PDT) Received: by 10.90.92.16 with HTTP; Fri, 27 Jul 2007 00:23:48 -0700 (PDT) Message-ID: <696bc1d50707270023l2c6fe5ablb696fd324bbb0582@mail.gmail.com> Date: Fri, 27 Jul 2007 12:53:48 +0530 From: "Rajika Kumarasiri" To: "Apache AXIS C Developers List" Subject: Re: [jira] Updated: (AXIS2C-641) Unable to build SVN HEAD on Fedora 7 In-Reply-To: <17619715.1184392984509.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_822_7353839.1185521028301" References: <29966942.1184284084501.JavaMail.jira@brutus> <17619715.1184392984509.JavaMail.jira@brutus> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_822_7353839.1185521028301 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I tested this on fedora 7, and it works. Rajika On 7/14/07, Shaun Mangelsdorf (JIRA) wrote: > > > [ > https://issues.apache.org/jira/browse/AXIS2C-641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel] > > Shaun Mangelsdorf updated AXIS2C-641: > ------------------------------------- > > Attachment: axutil_unix.h.patch > > Still current at revision 556227. > > Attached the patch file that I believe will fix this problem. > > > Unable to build SVN HEAD on Fedora 7 > > ------------------------------------ > > > > Key: AXIS2C-641 > > URL: https://issues.apache.org/jira/browse/AXIS2C-641 > > Project: Axis2-C > > Issue Type: Bug > > Components: util > > Affects Versions: Current (Nightly), 1.1.0 > > Environment: Fedora 7 (Linux), gcc-4.1.2-12, glibc-headers-2.6-3 > > Reporter: Shaun Mangelsdorf > > Attachments: axutil_unix.h.patch > > > > > > Ran into a compilation error after checking out SVN HEAD. > > Configure command used: > > ./configure --prefix=/usr/local/dev/axis2-svn > > Make command: > > make all > > Make output: > > ... > > [snipped successful compilations] > > make[5]: Entering directory `/home/shaun/src/axis2c-src-svn/util/src' > > /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. > -I.. -I../include -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall > -Wno-implicit-function-declaration -Werror -MT log.lo -MD -MP -MF > .deps/log.Tpo -c -o log.lo log.c > > gcc -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -D_LARGEFILE64_SOURCE > -ansi -Wall -Wno-implicit-function-declaration -Werror -MT log.lo -MD -MP > -MF .deps/log.Tpo -c log.c -fPIC -DPIC -o .libs/log.o > > log.c: In function 'axutil_log_create': > > log.c:130: error: 'F_OK' undeclared (first use in this function) > > log.c:130: error: (Each undeclared identifier is reported only once > > log.c:130: error: for each function it appears in.) > > make[5]: *** [log.lo] Error 1 > > make[5]: Leaving directory `/home/shaun/src/axis2c-src-svn/util/src' > > This appears to be caused by a change to > util/include/platforms/unix/axutil_unix.h in revision 544112. > > Two references to unistd.h were commented out, and uncommenting one of > these fixes the problem. > > Also, defining the preprocessor symbol _BSD_SOURCE fixes this problem > since fcntl.h (included as well) will define F_OK if _BSD_SOURCE is > defined. > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-c-dev-help@ws.apache.org > > ------=_Part_822_7353839.1185521028301 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I tested this on fedora 7, and it works.

Rajika

On 7/14/07, Shaun Mangelsdorf (JIRA) <jira@apache.org> wrote:

     [ https://issues.apache.org/jira/browse/AXIS2C-641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shaun Mangelsdorf updated AXIS2C-641:
-------------------------------------

    Attachment: axutil_unix.h.patch

Still current at revision 556227.

Attached the patch file that I believe will fix this problem.

> Unable to build SVN HEAD on Fedora 7
> ------------------------------------
>
>                 Key: AXIS2C-641
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-641
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: util
>    Affects Versions: Current (Nightly), 1.1.0
>         Environment: Fedora 7 (Linux), gcc-4.1.2-12, glibc-headers-2.6-3
>            Reporter: Shaun Mangelsdorf
>         Attachments: axutil_unix.h.patch
>
>
> Ran into a compilation error after checking out SVN HEAD.
> Configure command used:
> ./configure --prefix=/usr/local/dev/axis2-svn
> Make command:
> make all
> Make output:
> ...
> [snipped successful compilations]
> make[5]: Entering directory `/home/shaun/src/axis2c-src-svn/util/src'
> /bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include    -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall -Wno-implicit-function-declaration -Werror  -MT log.lo -MD -MP -MF .deps/log.Tpo -c -o log.lo log.c
>  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall -Wno-implicit-function-declaration -Werror -MT log.lo -MD -MP -MF .deps/log.Tpo -c log.c  -fPIC -DPIC -o .libs/log.o
> log.c: In function 'axutil_log_create':
> log.c:130: error: 'F_OK' undeclared (first use in this function)
> log.c:130: error: (Each undeclared identifier is reported only once
> log.c:130: error: for each function it appears in.)
> make[5]: *** [log.lo] Error 1
> make[5]: Leaving directory `/home/shaun/src/axis2c-src-svn/util/src'
> This appears to be caused by a change to util/include/platforms/unix/axutil_unix.h in revision 544112.
> Two references to unistd.h were commented out, and uncommenting one of these fixes the problem.
> Also, defining the preprocessor symbol _BSD_SOURCE fixes this problem since fcntl.h (included as well) will define F_OK if _BSD_SOURCE is defined.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


------=_Part_822_7353839.1185521028301--