在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
芯片精品文章合集(500篇!) 创芯人才网--重磅上线啦!
查看: 2217|回复: 1

求助

[复制链接]
发表于 2008-6-25 18:47:32 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
嵌入式WEB服务器BOA的移植时发生错误

执行make时出现错误如下
util.c:100:40: pasting "t" and "->" does not give a valid preprocessing token
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../crt1.o(.text+0x18): In function `_start':
../sysdeps/i386/elf/start.S:77: undefined reference to `main'
/tmp/cc0np8jA.o(.text+0x8f): In function `get_commonlog_time':
: undefined reference to `use_localtime'
/tmp/cc0np8jA.o(.text+0x9a): In function `get_commonlog_time':
: undefined reference to `current_time'
/tmp/cc0np8jA.o(.text+0xb8): In function `get_commonlog_time':
: undefined reference to `current_time'
/tmp/cc0np8jA.o(.text+0x5cc): In function `modified_since':
: undefined reference to `log_error_time'
/tmp/cc0np8jA.o(.text+0x8cc): In function `rfc822_time_buf':
: undefined reference to `current_time'
/tmp/cc0np8jA.o(.text+0xc42): In function `create_temporary_file':
: undefined reference to `tempdir'
/tmp/cc0np8jA.o(.text+0xc77): In function `create_temporary_file':
: undefined reference to `log_error_time'
/tmp/cc0np8jA.o(.text+0xce8): In function `create_temporary_file':
: undefined reference to `log_error_time'
/tmp/cc0np8jA.o(.text+0xd3a): In function `create_temporary_file':
: undefined reference to `log_error_time'
collect2: ld returned 1 exit status
[root@localhost src]# arm-linux-gcc -o util.o util.c
util.c:100:40: pasting "t" and "->" does not give a valid preprocessing token
[root@localhost src]# gcc -o util.o util.c
util.c:100:40: warning: pasting "t" and "->" does not give a valid preprocessing token
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../crt1.o(.text+0x18): In function `_start':
../sysdeps/i386/elf/start.S:77: undefined reference to `main'
/tmp/ccvf0glO.o(.text+0x8f): In function `get_commonlog_time':
: undefined reference to `use_localtime'
/tmp/ccvf0glO.o(.text+0x9a): In function `get_commonlog_time':
: undefined reference to `current_time'
/tmp/ccvf0glO.o(.text+0xb8): In function `get_commonlog_time':
: undefined reference to `current_time'
/tmp/ccvf0glO.o(.text+0x5cc): In function `modified_since':
: undefined reference to `log_error_time'
/tmp/ccvf0glO.o(.text+0x8cc): In function `rfc822_time_buf':
: undefined reference to `current_time'
/tmp/ccvf0glO.o(.text+0xc42): In function `create_temporary_file':
: undefined reference to `tempdir'
/tmp/ccvf0glO.o(.text+0xc77): In function `create_temporary_file':
: undefined reference to `log_error_time'
/tmp/ccvf0glO.o(.text+0xce8): In function `create_temporary_file':
: undefined reference to `log_error_time'
/tmp/ccvf0glO.o(.text+0xd3a): In function `create_temporary_file':
: undefined reference to `log_error_time'
collect2: ld returned 1 exit status


是什么错误呀
我该怎么修改

我是新手
不知道怎么改

求各位大虾帮帮小弟

                               
登录/注册后可看大图

头像被屏蔽
发表于 2008-6-30 14:08:43 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /2 下一条


小黑屋| 手机版| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-12-23 20:05 , Processed in 0.024956 second(s), 9 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表