1849974 Members
1381 Online
104049 Solutions
New Discussion

iPlanet on hp-ux 11.0

 
Bryan lim
Occasional Contributor

iPlanet on hp-ux 11.0

Dear all, I tried to compiled one of the examples in nsapi folder. I got the following error:

[webdev] /opt/ns40sp6/plugins/nsapi/examples # gcc -I/opt/ns40sp6/plugins/inc>
In file included from /opt/ns40sp6/plugins/include/base/util.h:19,
from service.c:89:
/opt/ns40sp6/plugins/include/base/../nsapi.h:593: parse error before `Func'
/opt/ns40sp6/plugins/include/base/../nsapi.h:593: warning: data definition has n
o type or storage class
/opt/ns40sp6/plugins/include/base/../nsapi.h:596: parse error before `*'
/opt/ns40sp6/plugins/include/base/../nsapi.h:596: warning: data definition has n
o type or storage class
/opt/ns40sp6/plugins/include/base/../nsapi.h:608: parse error before `FuncPtr'
/opt/ns40sp6/plugins/include/base/../nsapi.h:608: warning: no semicolon at end o
f struct or union
/opt/ns40sp6/plugins/include/base/../nsapi.h:612: parse error before `}'
/opt/ns40sp6/plugins/include/base/../nsapi.h:1009: parse error before `PASSWD'
/opt/ns40sp6/plugins/include/base/../nsapi.h:1207: parse error before `FuncPtr'
/opt/ns40sp6/plugins/include/base/../nsapi.h:1207: warning: no semicolon at end

What is wrong with the nsapi.h file? or gcc? or HPUX patching? Please advise.