axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shaun Mangelsdorf (JIRA)" <>
Subject [jira] Created: (AXIS2C-641) Unable to build SVN HEAD on Fedora 7
Date Thu, 12 Jul 2007 23:48:04 GMT
Unable to build SVN HEAD on Fedora 7

                 Key: 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

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
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:
For additional commands, e-mail:

View raw message