找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 4180|回复: 10

TOMATO编译报错求助

[复制链接]
发表于 2012-3-13 16:59 | 显示全部楼层 |阅读模式
Linking minidlna
/root/tomato_git/tomato/release/src-rt/router/sqlite/.libs/libsqlite3.a(sqlite3.o): In function `dotlockLock':
sqlite3.c.text.dotlockLock+0x34): warning: the use of LEGACY `utimes' is discouraged, use `utime'
/root/tomato_git/tomato/release/src-rt/router/libid3tag/.libs/libid3tag.a(frame.o): In function `id3_frame_new':
frame.c.text+0x274): undefined reference to `id3_compat_lookup'
/root/tomato_git/tomato/release/src-rt/router/libid3tag/.libs/libid3tag.a(frame.o): In function `id3_frame_parse':
frame.c.text+0x978): undefined reference to `id3_compat_lookup'
frame.c.text+0xa18): undefined reference to `id3_compat_lookup'
/root/tomato_git/tomato/release/src-rt/router/libid3tag/.libs/libid3tag.a(tag.o): In function `id3_tag_findframe':
tag.c.text+0x580): undefined reference to `id3_compat_lookup'
/root/tomato_git/tomato/release/src-rt/router/libid3tag/.libs/libid3tag.a(tag.o): In function `v2_parse':
tag.c.text+0x18a0): undefined reference to `id3_compat_fixup'
collect2: ld returned 1 exit status
make[6]: *** [minidlna] 错误 1
make[6]: Leaving directory `/root/tomato_git/tomato/release/src/router/minidlna'
make[5]: *** [minidlna] 错误 2
make[5]: Leaving directory `/root/tomato_git/tomato/release/src/router'
make[4]: *** [all] 错误 2
make[4]: Leaving directory `/root/tomato_git/tomato/release/src-rt'
make[3]: *** [bin] 错误 2
make[3]: Leaving directory `/root/tomato_git/tomato/release/src-rt'
make[2]: *** [m] 错误 2
make[2]: Leaving directory `/root/tomato_git/tomato/release/src-rt'
make[1]: *** [r2m] 错误 2
make[1]: Leaving directory `/root/tomato_git/tomato/release/src-rt'

这个问题怎么解决,请高手指教
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2012-3-13 17:08 | 显示全部楼层
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
 楼主| 发表于 2012-3-13 17:30 | 显示全部楼层
本帖最后由 chinacool 于 2012-3-13 17:33 编辑

我用的CentOS搭建的环境,看教程都是用的Ubuntu搭建的环境,不知道有没影响。
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2012-3-13 19:34 | 显示全部楼层
为什么我看到有表情在里面呢。

























signature-----------------------------------------------------------------
We must accept finite disappointment, but we must never lose infinite hope.  nike lunar eclipse 2    air max 2012    nike free run 2
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2012-3-13 21:31 | 显示全部楼层
删掉router/libid3tag/stamp-h1之后再make一次试试。好像git下来的源码里有一些垃圾没清理干净,比如libevent里有个config.status导致编译永远不会成功。
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
 楼主| 发表于 2012-3-14 10:00 | 显示全部楼层
删掉了router/libid3tag/stamp-h1编译问题依旧
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2012-3-14 13:36 | 显示全部楼层
在tomato目录中git clean -fqdx
然后find . -iname "stamp-h1" -exec rm -f {} \;
然后执行make再看看
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
 楼主| 发表于 2012-3-14 14:35 | 显示全部楼层
没效果问题还是依旧
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2012-3-14 15:52 | 显示全部楼层
请问tt是否提供全部源代码,在哪里可以下载?
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
 楼主| 发表于 2012-3-14 23:07 | 显示全部楼层
git clone git://repo.or.cz/tomato.git
可以下载
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2014-11-6 01:04 | 显示全部楼层
apt-get install gperf
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-9-27 17:33

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com

快速回复 返回顶部 返回列表