axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shaun Mangelsdorf (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2C-641) Unable to build SVN HEAD on Fedora 7
Date Sat, 14 Jul 2007 06:03:04 GMT

     [ 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


Mime
View raw message