[omniNotify] Port to AIX
zszyj
zszyj at 163.net
Tue Oct 28 23:00:07 GMT 2003
Hello all,
I've successfully built omniNotify 2.0 on AIX5L with omniORB4, and the compiler is vacpp6. But for platform porting, some changes are required in the section "ifdef AIX" in the file "<NOTIFY_TOP>/mk/beforeauto.mk.in". See the detail information below.
a. Correct line 931. It's clearly that a ahead "#" denotation is missed in the comment text:
Incorrect text:
error Not supported yet. Too nasty.
Correct to:
#error Not supported yet. Too nasty.
b. Follow the line 931, insert some lines as below:
CXXOPTIONS = -qstaticinline -qmaxmem=8192 -qlonglong -qlongdouble
COPTIONS = -qmaxmem=8192 -qlonglong -qlongdouble
OMNITHREAD_POSIX_CPPFLAGS = -DNoNanoSleep -DPthreadDraftVersion=10
OMNITHREAD_CPPFLAGS = -D_REENTRANT
OMNITHREAD_LIB += -lpthread
# this works only for xlc version >= 5
SharedLibraryPlatformLinkFlagsTemplate = -G
Please notice the last line. You can't use "-qmkshobj" instead of "-G". Somehow, if you do that, a number of symbols are unresolved when linking.
-- Tiga
More information about the omninotify-list
mailing list