You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Stephan Zednik (JIRA)" <ji...@apache.org> on 2008/10/14 01:19:44 UTC
[jira] Created: (AXIS2C-1272) Axis2C 1.5.0 does not build in OS X
Axis2C 1.5.0 does not build in OS X
-----------------------------------
Key: AXIS2C-1272
URL: https://issues.apache.org/jira/browse/AXIS2C-1272
Project: Axis2-C
Issue Type: Bug
Components: build system
Affects Versions: 1.5.0
Environment: OS: OS X 10.5.5
compiler: i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5484)
Reporter: Stephan Zednik
Attachments: config.log
followed the standard configured and compile commands of
./configure --prefix=$AXIS2C_HOME; make; make install;
compile stage died compiling dir_handler with the following error.
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wal\
l -Werror -Wno-implicit-function-declaration -D_GNU_SOURCE -Wno-long-double -MT dir_handler.lo -MD -MP -MF .deps/dir_handler.Tpo\
-c -o dir_handler.lo dir_handler.c
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall -Werror -Wno-implicit-function-declaration -D\
_GNU_SOURCE -Wno-long-double -MT dir_handler.lo -MD -MP -MF .deps/dir_handler.Tpo -c dir_handler.c -fno-common -DPIC -o .libs/di\
r_handler.o
dir_handler.c:326: error: conflicting types for 'file_select'
dir_handler.c:38: error: previous declaration of 'file_select' was here
make[5]: *** [dir_handler.lo] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
--
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
[jira] Resolved: (AXIS2C-1272) Axis2C 1.5.0 does not build in OS X
Posted by "Sanjaya Ratnaweera (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2C-1272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sanjaya Ratnaweera resolved AXIS2C-1272.
----------------------------------------
Resolution: Fixed
Fix Version/s: Current (Nightly)
Committed fix to the SVN head. Thanks Peter for the solution.
> Axis2C 1.5.0 does not build in OS X
> -----------------------------------
>
> Key: AXIS2C-1272
> URL: https://issues.apache.org/jira/browse/AXIS2C-1272
> Project: Axis2-C
> Issue Type: Bug
> Components: build system
> Affects Versions: 1.5.0
> Environment: OS: OS X 10.5.5
> compiler: i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5484)
> Reporter: Stephan Zednik
> Assignee: Sanjaya Ratnaweera
> Fix For: Current (Nightly)
>
> Attachments: config.log, make.out
>
>
> followed the standard configured and compile commands of
> ./configure --prefix=$AXIS2C_HOME; make; make install;
> compile stage died compiling dir_handler with the following error.
> /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wal\
> l -Werror -Wno-implicit-function-declaration -D_GNU_SOURCE -Wno-long-double -MT dir_handler.lo -MD -MP -MF .deps/dir_handler.Tpo\
> -c -o dir_handler.lo dir_handler.c
> gcc -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall -Werror -Wno-implicit-function-declaration -D\
> _GNU_SOURCE -Wno-long-double -MT dir_handler.lo -MD -MP -MF .deps/dir_handler.Tpo -c dir_handler.c -fno-common -DPIC -o .libs/di\
> r_handler.o
> dir_handler.c:326: error: conflicting types for 'file_select'
> dir_handler.c:38: error: previous declaration of 'file_select' was here
> make[5]: *** [dir_handler.lo] Error 1
> make[4]: *** [all-recursive] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
--
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
[jira] Updated: (AXIS2C-1272) Axis2C 1.5.0 does not build in OS X
Posted by "Stephan Zednik (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2C-1272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephan Zednik updated AXIS2C-1272:
-----------------------------------
Attachment: make.out
log dump of make command output
> Axis2C 1.5.0 does not build in OS X
> -----------------------------------
>
> Key: AXIS2C-1272
> URL: https://issues.apache.org/jira/browse/AXIS2C-1272
> Project: Axis2-C
> Issue Type: Bug
> Components: build system
> Affects Versions: 1.5.0
> Environment: OS: OS X 10.5.5
> compiler: i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5484)
> Reporter: Stephan Zednik
> Attachments: config.log, make.out
>
>
> followed the standard configured and compile commands of
> ./configure --prefix=$AXIS2C_HOME; make; make install;
> compile stage died compiling dir_handler with the following error.
> /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wal\
> l -Werror -Wno-implicit-function-declaration -D_GNU_SOURCE -Wno-long-double -MT dir_handler.lo -MD -MP -MF .deps/dir_handler.Tpo\
> -c -o dir_handler.lo dir_handler.c
> gcc -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall -Werror -Wno-implicit-function-declaration -D\
> _GNU_SOURCE -Wno-long-double -MT dir_handler.lo -MD -MP -MF .deps/dir_handler.Tpo -c dir_handler.c -fno-common -DPIC -o .libs/di\
> r_handler.o
> dir_handler.c:326: error: conflicting types for 'file_select'
> dir_handler.c:38: error: previous declaration of 'file_select' was here
> make[5]: *** [dir_handler.lo] Error 1
> make[4]: *** [all-recursive] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
--
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
[jira] Assigned: (AXIS2C-1272) Axis2C 1.5.0 does not build in OS X
Posted by "Sanjaya Ratnaweera (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2C-1272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sanjaya Ratnaweera reassigned AXIS2C-1272:
------------------------------------------
Assignee: Sanjaya Ratnaweera
> Axis2C 1.5.0 does not build in OS X
> -----------------------------------
>
> Key: AXIS2C-1272
> URL: https://issues.apache.org/jira/browse/AXIS2C-1272
> Project: Axis2-C
> Issue Type: Bug
> Components: build system
> Affects Versions: 1.5.0
> Environment: OS: OS X 10.5.5
> compiler: i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5484)
> Reporter: Stephan Zednik
> Assignee: Sanjaya Ratnaweera
> Attachments: config.log, make.out
>
>
> followed the standard configured and compile commands of
> ./configure --prefix=$AXIS2C_HOME; make; make install;
> compile stage died compiling dir_handler with the following error.
> /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wal\
> l -Werror -Wno-implicit-function-declaration -D_GNU_SOURCE -Wno-long-double -MT dir_handler.lo -MD -MP -MF .deps/dir_handler.Tpo\
> -c -o dir_handler.lo dir_handler.c
> gcc -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall -Werror -Wno-implicit-function-declaration -D\
> _GNU_SOURCE -Wno-long-double -MT dir_handler.lo -MD -MP -MF .deps/dir_handler.Tpo -c dir_handler.c -fno-common -DPIC -o .libs/di\
> r_handler.o
> dir_handler.c:326: error: conflicting types for 'file_select'
> dir_handler.c:38: error: previous declaration of 'file_select' was here
> make[5]: *** [dir_handler.lo] Error 1
> make[4]: *** [all-recursive] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
--
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
[jira] Issue Comment Edited: (AXIS2C-1272) Axis2C 1.5.0 does not
build in OS X
Posted by "Peter Bruun-Rasmussen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2C-1272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12644862#action_12644862 ]
pbr edited comment on AXIS2C-1272 at 11/3/08 4:27 PM:
------------------------------------------------------------------------
Quickfix - Change the lines 323-332 of dir_handler.c:
<code>
int
file_select(
const struct dirent *entry)
{
#ifdef IS_MACOSX
int file_select(struct dirent *entry);
#else
int file_select(const struct dirent *entry);
#endif
</code>
to
<code>
/*
int
file_select(
const struct dirent *entry)
{
*/
#ifdef IS_MACOSX
int file_select(struct dirent *entry)
#else
int file_select(const struct dirent *entry)
#endif
{
</code>
was (Author: pbr):
Quickfix - Change the lines 323-332:
<code>
int
file_select(
const struct dirent *entry)
{
#ifdef IS_MACOSX
int file_select(struct dirent *entry);
#else
int file_select(const struct dirent *entry);
#endif
</code>
to
<code>
/*
int
file_select(
const struct dirent *entry)
{
*/
#ifdef IS_MACOSX
int file_select(struct dirent *entry)
#else
int file_select(const struct dirent *entry)
#endif
{
</code>
> Axis2C 1.5.0 does not build in OS X
> -----------------------------------
>
> Key: AXIS2C-1272
> URL: https://issues.apache.org/jira/browse/AXIS2C-1272
> Project: Axis2-C
> Issue Type: Bug
> Components: build system
> Affects Versions: 1.5.0
> Environment: OS: OS X 10.5.5
> compiler: i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5484)
> Reporter: Stephan Zednik
> Attachments: config.log, make.out
>
>
> followed the standard configured and compile commands of
> ./configure --prefix=$AXIS2C_HOME; make; make install;
> compile stage died compiling dir_handler with the following error.
> /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wal\
> l -Werror -Wno-implicit-function-declaration -D_GNU_SOURCE -Wno-long-double -MT dir_handler.lo -MD -MP -MF .deps/dir_handler.Tpo\
> -c -o dir_handler.lo dir_handler.c
> gcc -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall -Werror -Wno-implicit-function-declaration -D\
> _GNU_SOURCE -Wno-long-double -MT dir_handler.lo -MD -MP -MF .deps/dir_handler.Tpo -c dir_handler.c -fno-common -DPIC -o .libs/di\
> r_handler.o
> dir_handler.c:326: error: conflicting types for 'file_select'
> dir_handler.c:38: error: previous declaration of 'file_select' was here
> make[5]: *** [dir_handler.lo] Error 1
> make[4]: *** [all-recursive] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
--
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
[jira] Updated: (AXIS2C-1272) Axis2C 1.5.0 does not build in OS X
Posted by "Stephan Zednik (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2C-1272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephan Zednik updated AXIS2C-1272:
-----------------------------------
Attachment: config.log
log dump of configure output
> Axis2C 1.5.0 does not build in OS X
> -----------------------------------
>
> Key: AXIS2C-1272
> URL: https://issues.apache.org/jira/browse/AXIS2C-1272
> Project: Axis2-C
> Issue Type: Bug
> Components: build system
> Affects Versions: 1.5.0
> Environment: OS: OS X 10.5.5
> compiler: i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5484)
> Reporter: Stephan Zednik
> Attachments: config.log
>
>
> followed the standard configured and compile commands of
> ./configure --prefix=$AXIS2C_HOME; make; make install;
> compile stage died compiling dir_handler with the following error.
> /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wal\
> l -Werror -Wno-implicit-function-declaration -D_GNU_SOURCE -Wno-long-double -MT dir_handler.lo -MD -MP -MF .deps/dir_handler.Tpo\
> -c -o dir_handler.lo dir_handler.c
> gcc -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall -Werror -Wno-implicit-function-declaration -D\
> _GNU_SOURCE -Wno-long-double -MT dir_handler.lo -MD -MP -MF .deps/dir_handler.Tpo -c dir_handler.c -fno-common -DPIC -o .libs/di\
> r_handler.o
> dir_handler.c:326: error: conflicting types for 'file_select'
> dir_handler.c:38: error: previous declaration of 'file_select' was here
> make[5]: *** [dir_handler.lo] Error 1
> make[4]: *** [all-recursive] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
--
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
[jira] Commented: (AXIS2C-1272) Axis2C 1.5.0 does not build in OS X
Posted by "Peter Bruun-Rasmussen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2C-1272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12644862#action_12644862 ]
Peter Bruun-Rasmussen commented on AXIS2C-1272:
-----------------------------------------------
Quickfix - Change the lines 323-332:
<code>
int
file_select(
const struct dirent *entry)
{
#ifdef IS_MACOSX
int file_select(struct dirent *entry);
#else
int file_select(const struct dirent *entry);
#endif
</code>
to
<code>
/*
int
file_select(
const struct dirent *entry)
{
*/
#ifdef IS_MACOSX
int file_select(struct dirent *entry)
#else
int file_select(const struct dirent *entry)
#endif
{
</code>
> Axis2C 1.5.0 does not build in OS X
> -----------------------------------
>
> Key: AXIS2C-1272
> URL: https://issues.apache.org/jira/browse/AXIS2C-1272
> Project: Axis2-C
> Issue Type: Bug
> Components: build system
> Affects Versions: 1.5.0
> Environment: OS: OS X 10.5.5
> compiler: i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5484)
> Reporter: Stephan Zednik
> Attachments: config.log, make.out
>
>
> followed the standard configured and compile commands of
> ./configure --prefix=$AXIS2C_HOME; make; make install;
> compile stage died compiling dir_handler with the following error.
> /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wal\
> l -Werror -Wno-implicit-function-declaration -D_GNU_SOURCE -Wno-long-double -MT dir_handler.lo -MD -MP -MF .deps/dir_handler.Tpo\
> -c -o dir_handler.lo dir_handler.c
> gcc -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall -Werror -Wno-implicit-function-declaration -D\
> _GNU_SOURCE -Wno-long-double -MT dir_handler.lo -MD -MP -MF .deps/dir_handler.Tpo -c dir_handler.c -fno-common -DPIC -o .libs/di\
> r_handler.o
> dir_handler.c:326: error: conflicting types for 'file_select'
> dir_handler.c:38: error: previous declaration of 'file_select' was here
> make[5]: *** [dir_handler.lo] Error 1
> make[4]: *** [all-recursive] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
--
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
[jira] Commented: (AXIS2C-1272) Axis2C 1.5.0 does not build in OS X
Posted by "Stephan Zednik (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2C-1272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12645035#action_12645035 ]
Stephan Zednik commented on AXIS2C-1272:
----------------------------------------
That change corrected the problem and axis2c 1.5.0 now compiles without error.
> Axis2C 1.5.0 does not build in OS X
> -----------------------------------
>
> Key: AXIS2C-1272
> URL: https://issues.apache.org/jira/browse/AXIS2C-1272
> Project: Axis2-C
> Issue Type: Bug
> Components: build system
> Affects Versions: 1.5.0
> Environment: OS: OS X 10.5.5
> compiler: i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5484)
> Reporter: Stephan Zednik
> Attachments: config.log, make.out
>
>
> followed the standard configured and compile commands of
> ./configure --prefix=$AXIS2C_HOME; make; make install;
> compile stage died compiling dir_handler with the following error.
> /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wal\
> l -Werror -Wno-implicit-function-declaration -D_GNU_SOURCE -Wno-long-double -MT dir_handler.lo -MD -MP -MF .deps/dir_handler.Tpo\
> -c -o dir_handler.lo dir_handler.c
> gcc -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall -Werror -Wno-implicit-function-declaration -D\
> _GNU_SOURCE -Wno-long-double -MT dir_handler.lo -MD -MP -MF .deps/dir_handler.Tpo -c dir_handler.c -fno-common -DPIC -o .libs/di\
> r_handler.o
> dir_handler.c:326: error: conflicting types for 'file_select'
> dir_handler.c:38: error: previous declaration of 'file_select' was here
> make[5]: *** [dir_handler.lo] Error 1
> make[4]: *** [all-recursive] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
--
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