免费注册 查看新帖 |

Chinaunix

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

perlcc@kernel2.6求助 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-09-15 08:59 |只看该作者 |倒序浏览
各位大虾,
我发现原有的perl程序在系统升级到AS4和Fedora4后用perlcc编译不正常
而以前在as3(kernel2.4)就很正常
请问谁在2.6内核中编译过以前的perl程序?

论坛徽章:
0
2 [报告]
发表于 2005-09-15 09:01 |只看该作者

perlcc@kernel2.6求助

报错信息如下
[root@gw src]# perlcc aaserv0914.pl
pccqIVj4.c: In function `perl_init_aaae':
pccqIVj4.c:90674: warning: this decimal constant is unsigned only in ISO C90
pccqIVj4.c:92322: warning: this decimal constant is unsigned only in ISO C90
pccqIVj4.c:93042: warning: this decimal constant is unsigned only in ISO C90
pccqIVj4.c:93533: warning: this decimal constant is unsigned only in ISO C90
pccqIVj4.c:95362: warning: this decimal constant is unsigned only in ISO C90
pccqIVj4.c:95483: warning: this decimal constant is unsigned only in ISO C90
pccqIVj4.c:96299: warning: this decimal constant is unsigned only in ISO C90
pccqIVj4.c:98571: warning: this decimal constant is unsigned only in ISO C90
pccqIVj4.c:98584: warning: this decimal constant is unsigned only in ISO C90
pccqIVj4.c:98596: warning: this decimal constant is unsigned only in ISO C90
pccqIVj4.c:98608: warning: this decimal constant is unsigned only in ISO C90
pccqIVj4.c:98620: warning: this decimal constant is unsigned only in ISO C90
pccqIVj4.c:98632: warning: this decimal constant is unsigned only in ISO C90
pccqIVj4.c:98644: warning: this decimal constant is unsigned only in ISO C90
pccqIVj4.c:98667: warning: this decimal constant is unsigned only in ISO C90
pccqIVj4.c:98679: warning: this decimal constant is unsigned only in ISO C90
pccqIVj4.c:98691: warning: this decimal constant is unsigned only in ISO C90
[root@gw src]# ls
aaserv0914.pl  aaserv1213.pl  a.out  test.pl
[root@iptvgw src]# ./a.out
Constant subroutine POLLIN redefined at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line -1.
Constant subroutine POLLPRI redefined at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line -1.
Constant subroutine POLLOUT redefined at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line -1.
Constant subroutine POLLRDNORM redefined at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line -1.
Constant subroutine POLLWRNORM redefined at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line -1.
Constant subroutine POLLRDBAND redefined at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line -1.
Constant subroutine POLLWRBAND redefined at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line -1.
Constant subroutine POLLERR redefined at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line -1.
Constant subroutine POLLHUP redefined at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line -1.
Constant subroutine POLLNVAL redefined at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line -1.
Constant subroutine _IOFBF redefined at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line -1.
Constant subroutine _IOLBF redefined at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line -1.
Constant subroutine _IONBF redefined at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line -1.
Constant subroutine SEEK_SET redefined at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line -1.
Constant subroutine SEEK_CUR redefined at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line -1.
Constant subroutine SEEK_END redefined at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line -1.
Can't use an undefined value as filehandle reference at aaservmon0914.pl line 22.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP