[jira] Commented: (AXIS2C-1272) Axis2C 1.5.0 does not build in OS X

2008-11-04 Thread Stephan Zednik (JIRA)

[ 
https://issues.apache.org/jira/browse/AXIS2C-1272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (AXIS2C-1272) Axis2C 1.5.0 does not build in OS X

2008-11-03 Thread Peter Bruun-Rasmussen (JIRA)

[ 
https://issues.apache.org/jira/browse/AXIS2C-1272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]