免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3157 | 回复: 0
打印 上一主题 下一主题

hp11i的操作系统是否有支持posix pterad的lib [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-03-18 09:49 |只看该作者 |倒序浏览
HP 11i平台没有POSIX4库,对应在那个目录,谢谢各位了。

这是编译后的结果 。

  aCC -g -D USE_DSN  -O  -I../include -I/opt/odbc/include -I../ODBCInclude -I../hp_include -o SnmpDau.o -c SnmpDau.cpp
Error (future) 129: \"../include/MyODBC.h\", line 19 # Redefinition of macro \'NULL\' differs from
    previous definition at [\"/usr/include/sys/_null.h\", line 21].
    #define NULL 0
            ^^^^  
Warning:        1 future errors were detected and ignored. Add a \'+p\' option to detect and fix them before they become fatal errors in a future release. Behavior of this ill-formed program is not guaranteed to match that of a well-formed program
        aCC -g -D USE_DSN  -O  -I../include -I/opt/odbc/include -I../ODBCInclude -I../hp_include -o MyODBC.o -c MyODBC.cpp
Error (future) 129: \"../include/MyODBC.h\", line 19 # Redefinition of macro \'NULL\' differs from
    previous definition at [\"/usr/include/sys/_null.h\", line 21].
    #define NULL 0
            ^^^^  
Warning:        1 future errors were detected and ignored. Add a \'+p\' option to detect and fix them before they become fatal errors in a future release. Behavior of this ill-formed program is not guaranteed to match that of a well-formed program
        aCC -g -D USE_DSN  -O  -I../include -I/opt/odbc/include -I../ODBCInclude -I../hp_include -o MyThread.o -c MyThread.cpp
        aCC -g -D USE_DSN  -O  -I../include -I/opt/odbc/include -I../ODBCInclude -I../hp_include -o Schedule.o -c Schedule.cpp
        aCC -g -D USE_DSN  -O  -I../include -I/opt/odbc/include -I../ODBCInclude -I../hp_include -o Task.o -c Task.cpp
        aCC -g -D USE_DSN  -O  -I../include -I/opt/odbc/include -I../ODBCInclude -I../hp_include -o OidList.o -c OidList.cpp
Error (future) 129: \"../include/MyODBC.h\", line 19 # Redefinition of macro \'NULL\' differs from
    previous definition at [\"/usr/include/sys/_null.h\", line 21].
    #define NULL 0
            ^^^^  
Warning:        1 future errors were detected and ignored. Add a \'+p\' option to detect and fix them before they become fatal errors in a future release. Behavior of this ill-formed program is not guaranteed to match that of a well-formed program
        aCC -g -D USE_DSN  -O  -I../include -I/opt/odbc/include -I../ODBCInclude -I../hp_include -o DataSet.o -c DataSet.cpp
        aCC -g -D USE_DSN  -O  -I../include -I/opt/odbc/include -I../ODBCInclude -I../hp_include -o CounterSub.o -c CounterSub.cpp
        aCC -g -D USE_DSN  -O  -I../include -I/opt/odbc/include -I../ODBCInclude -I../hp_include -o Counter64Dau.o -c Counter64Dau.cpp
Warning 652: \"../include/Counter64Dau.h\", line 25 # Virtual function \"SnmpSyntax
    &Counter64:perator =(SnmpSyntax &amp\" is hidden by \"Counter64Dau &Counter64Dau:perator
    =(const Counter64Dau &amp\"; did you forget to override it?
    class Counter64Dau : public Counter64
    ^^^^^^^^^^^^^^^^^^                  
        aCC -g -D USE_DSN  -O  -I../include -I/opt/odbc/include -I../ODBCInclude -I../hp_include -o Collector.o -c Collector.cpp
Error (future) 129: \"../include/MyODBC.h\", line 19 # Redefinition of macro \'NULL\' differs from
    previous definition at [\"/usr/include/sys/_null.h\", line 21].
    #define NULL 0
            ^^^^  
Warning:        1 future errors were detected and ignored. Add a \'+p\' option to detect and fix them before they become fatal errors in a future release. Behavior of this ill-formed program is not guaranteed to match that of a well-formed program
        aCC -o ./mydau  SnmpDau.o MyODBC.o MyThread.o Schedule.o Task.o OidList.o DataSet.o CounterSub.o Counter64Dau.o Collector.o -lnsl -L/opt/OV/lib -lodbc -L../hp_lib  -lsnmp++up -L../log_src -llogdau  
/usr/ccs/bin/ld: Unsatisfied symbols:
   sem_post (first referenced in MyThread.o) (code)
   des_key_sched (first referenced in ../hp_lib/libsnmp++up.a(auth_priv.o)) (code)
   sem_destroy (first referenced in MyThread.o) (code)
   sem_wait (first referenced in MyThread.o) (code)
   sem_init (first referenced in MyThread.o) (code)
   des_ncbc_encrypt (first referenced in ../hp_lib/libsnmp++up.a(auth_priv.o)) (code)
*** Error exit code 1


察看solaris2.8的平台上有如下的posix lib
Sun Microsystems Inc.   SunOS 5.8       Generic February 2000
# find / -name *posix*
/usr/lib/sparcv9/libposix4.so
/usr/lib/sparcv9/libposix4.so.1
/usr/lib/sparcv9/llib-lposix4.ln
/usr/lib/libposix4.so
/usr/lib/libposix4.so.1
/usr/lib/abi/sparcv9/abi_libposix4.so.1
/usr/lib/abi/abi_libposix4.so.1
/usr/lib/llib-lposix4
/usr/lib/llib-lposix4.ln
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP