[omniORB] AIX 4.3.2 build problem
Mark D. Landry
mdlandry@lincoln.midcoast.com
Thu, 17 Jun 1999 09:21:42 -0400
See the archive article "Re: [omniORB] omniORB_2.7.1 changes for AIX 4.3 +
xlc 3.6.4.0" Tue, 04 May 1999 07:51:32 -0400
Forget GNU on AIX. Use the IBM compiler. Better error checking and code
gen.
chun fong wrote:
> I have an AIX 4.3.2 machine.
> I'm trying to build two versions:
> GNU ( egcs ) and xlC 3.6.
>
> 1) GNU - egcs error messages -
> $ make export
> making export in src/tool...
> make[1]: Entering directory `/home/test1/omniORB_2.7.1/src/tool'
> making export in src/tool/omkdepend...
> make[2]: Entering directory
> `/home/test1/omniORB_2.7.1/src/tool/omkdepend'
> + cp -p -m 0755 omkdepend ../../../bin/powerpc_aix_4.2_egcs
> cp: Not a recognized flag: m
> Usage: cp [-fhip] [-r|-R] [--] src target
> or: cp [-fhip] [-r|-R] [--] src1 ... srcN directory
> make[2]: *** [export] Error 1
> make[2]: Leaving directory
> `/home/test1/omniORB_2.7.1/src/tool/omkdepend'
> make[1]: *** [export] Error 2
> make[1]: Leaving directory `/home/test1/omniORB_2.7.1/src/tool'
> make: *** [export] Error 2
> $ pwd
> /home/test1/omniORB_2.7.1/src
> $ gcc -v
> Reading specs from
> /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.1.0/egcs-2.91.66/specs
> gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
> $ pwd
>
> 2) xlC
> make[2]: Leaving directory
> `/home/fongc/omniORB_2.7.1/src/tool/omniidl2'
> make[1]: Leaving directory `/home/fongc/omniORB_2.7.1/src/tool'
> making export in src/lib...
> make[1]: Entering directory `/home/fongc/omniORB_2.7.1/src/lib'
> making export in src/lib/omnithread...
> make[2]: Entering directory
> `/home/fongc/omniORB_2.7.1/src/lib/omnithread'
> ../../../bin/powerpc_aix_4.2/omkdepend -D__cplusplus -D_AIX
> -I../../../include -D_REENTRANT -D_THREAD_SAFE -DNoNanoSleep
> -DPthreadDraftVersion=8 -D__aix__ -D__powerpc__ -D__OSVERSION__=4
> posix.cc
> xlC_r -c -O -I../../../include -D_REENTRANT -D_THREAD_SAFE
> -DNoNanoSleep -DPthreadDraftVersion=8 -D__aix__ -D__powerpc__
> -D__OSVERSION__=4 -o posix.o posix.cc
> "posix.cc", line 757.5: 1540-013: (S) Identifier "pthread_yield" is
> undefined.
> "posix.cc", line 786.11: 1540-013: (S) Identifier "sleep" is undefined.
> make[2]: *** [posix.o] Error 1
> make[2]: Leaving directory
> `/home/fongc/omniORB_2.7.1/src/lib/omnithread'
> make[1]: *** [export] Error 2
> make[1]: Leaving directory `/home/fongc/omniORB_2.7.1/src/lib'
> make: *** [export] Error 2
> $ pwd
> /home/fongc/omniORB_2.7.1/src
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com