axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Erlichson <...@erlichson.net>
Subject RE: porting axis-c++ to Mac OS 10.3
Date Thu, 04 Mar 2004 06:48:31 GMT
I was able to compile apache 1.3.29 w/o issue on mac os 10.3.

good catch on os.h. that file, along with os-inline.c are duplicated
many times in the apache build:

warf [apache_1.3.29]% find . -name os.h
./src/os/bs2000/os.h
./src/os/cygwin/os.h
./src/os/mpeix/os.h
./src/os/netware/os.h
./src/os/os2/os.h
./src/os/os390/os.h
./src/os/tpf/os.h
./src/os/unix/os.h
./src/os/win32/os.h

I took the os.h and os-inline.c from src/os/unix and copied them to
include/apache1_3 in the axis directory. I still get the same error, but
I don't get the os.h complaint anymore. most recent compile errors
below. 

thanks for all the help,

andrew


---

Making all in server
Making all in apache
source='mod_axis.c' object='mod_axis.lo' libtool=yes \
depfile='.deps/mod_axis.Plo' tmpdepfile='.deps/mod_axis.TPlo' \
depmode=gcc3 /bin/sh ../../../depcomp \
/bin/sh ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../../.. -I/Users/aje/src/axis/axis-cvs-source/ws-axis/c/include
-Wshadow -Wall -pedantic -ansi   -Wall -Wshadow -c -o mod_axis.lo `test
-f 'mod_axis.c' || echo './'`mod_axis.c
 gcc -DHAVE_CONFIG_H -I. -I. -I../../..
-I/Users/aje/src/axis/axis-cvs-source/ws-axis/c/include -Wshadow -Wall
-pedantic -ansi -Wall -Wshadow -c mod_axis.c -MT mod_axis.lo -MD -MP -MF
.deps/mod_axis.TPlo  -fno-common -DPIC -o .libs/mod_axis.o
In file included from /usr/include/libkern/OSByteOrder.h:35,
                 from /usr/include/mach/ndr.h:93,
                 from /usr/include/mach/clock_priv.h:7,
                 from /usr/include/mach/mach_interface.h:37,
                 from /usr/include/mach/mach.h:62,
                 from /usr/include/sys/event.h:154,
                 from /usr/include/sys/select.h:71,
                 from
/Users/aje/src/axis/axis-cvs-source/ws-axis/c/include/apache1_3/ap_confi
g.h:1137,
                 from
/Users/aje/src/axis/axis-cvs-source/ws-axis/c/include/apache1_3/httpd.h:
72,
                 from mod_axis.c:1:
/usr/include/libkern/ppc/OSByteOrder.h:42: error: syntax error before
"uint16_t"
/usr/include/libkern/ppc/OSByteOrder.h:57: error: syntax error before
"uint32_t"
/usr/include/libkern/ppc/OSByteOrder.h:72: error: syntax error before
"uint64_t"
/usr/include/libkern/ppc/OSByteOrder.h:93: error: syntax error before
"void"
/usr/include/libkern/ppc/OSByteOrder.h:107: error: syntax error before
"void"
/usr/include/libkern/ppc/OSByteOrder.h:121: error: syntax error before
"void"
/usr/include/libkern/ppc/OSByteOrder.h:143: error: syntax error before
"uint16_t"
/usr/include/libkern/ppc/OSByteOrder.h:153: error: syntax error before
"uint32_t"
/usr/include/libkern/ppc/OSByteOrder.h:163: error: syntax error before
"uint64_t"
In file included from /usr/include/mach/ndr.h:93,
                 from /usr/include/mach/clock_priv.h:7,
                 from /usr/include/mach/mach_interface.h:37,
                 from /usr/include/mach/mach.h:62,
                 from /usr/include/sys/event.h:154,
                 from /usr/include/sys/select.h:71,
                 from
/Users/aje/src/axis/axis-cvs-source/ws-axis/c/include/apache1_3/ap_confi
g.h:1137,
                 from
/Users/aje/src/axis/axis-cvs-source/ws-axis/c/include/apache1_3/httpd.h:
72,
                 from mod_axis.c:1:
/usr/include/libkern/OSByteOrder.h:49: error: syntax error before
"int32_t"
-----Original Message-----
From: Lilantha Darshana [mailto:ldarshana@edocs.com] 
Sent: Thursday, March 04, 2004 1:23 AM
To: 'Apache AXIS C Developers List'
Subject: RE: porting axis-c++ to Mac OS 10.3


Were you able to compile the apache 1.3.* in your platform? if so,

According to the error it seems like the C++ preprocessor cannot find
the 
os.h file in the ap_config.h. Further the error has occurred before the
this:

/usr/include/libkern/ppc/OSByteOrder.h:42: error: syntax error before
"uint16_t" 

that mean some of the other header file has a dependency on this which
should have the error itself. Check other include files dependencies on
httpd.h file which should be the culprit.

regards
-Lilantha
> >--
> >Andrew Erlichson
> >732.549.9678 (voice)
> >732.549.9679 (fax)
> >aje@erlichson.net
> >
> 
> 
> 

Mime
View raw message