svn 上传项目前能编译过,checkout后就编译不过了

武溪嵌人 2014-01-13 10:47:34
svn 上传项目前能编译过,checkout后就编译不过了
报类似错误:
/opt/buildroot-gcc342/bin/mipsel-linux-uclibc-gcc -O2 -fomit-frame-pointer -pipe -Dlinux -D__linux__ -Dunix -DEMBED -I/home/fedora11/zdfwork/svndir/Mist-link-RT5350/source/lib/include -I/home/fedora11/zdfwork/svndir/Mist-link-RT5350/source -I/home/fedora11/zdfwork/svndir/Mist-link-RT5350/source/user/iptables/include/ -I/home/fedora11/zdfwork/svndir/Mist-link-RT5350/source/linux-2.6.21.x/include -I/home/fedora11/zdfwork/svndir/Mist-link-RT5350/source/user/miniupnpd-1.6 -c -o wsc/wsc_main.o wsc/wsc_main.c
wsc/wsc_main.c:32: error: `FALSE' undeclared here (not in a function)
wsc/wsc_main.c: In function `WPSInit':
wsc/wsc_main.c:332: error: `TRUE' undeclared (first use in this function)
wsc/wsc_main.c:332: error: (Each undeclared identifier is reported only once
wsc/wsc_main.c:332: error: for each function it appears in.)
wsc/wsc_main.c:405: error: `DEFAULT_WPS_PORT' undeclared (first use in this function)
make[3]: *** [wsc/wsc_main.o] Error 1
make[3]: Leaving directory `/home/fedora11/zdfwork/svndir/Mist-link-RT5350/source/user/miniupnpd-1.6'
make[2]: *** [miniupnpd-1.6] Error 2
make[2]: Leaving directory `/home/fedora11/zdfwork/svndir/Mist-link-RT5350/source/user'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/fedora11/zdfwork/svndir/Mist-link-RT5350/source/user'
make: *** [user_only] Error 2
...全文
2017 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
hujianhuihappy_126 2016-06-13
  • 打赏
  • 举报
回复
楼主,你这个问题是怎么解决的呀,求助!
gueangyik 2015-01-22
  • 打赏
  • 举报
回复
我也遇到一样的问题~~求楼主解决方案 free2k@yeah.net 谢谢
嘿喽 2014-12-12
  • 打赏
  • 举报
回复
谢谢楼主!一个解决办法,从以前版本复制/user/miniupnpd-1.6/config.h到新版本目录,加个空格保存以使文件最新。再编译,即可通过了。
武溪嵌人 2014-12-12
  • 打赏
  • 举报
回复
我已邮件告诉你了!
嘿喽 2014-12-12
  • 打赏
  • 举报
回复
楼主是怎么解决的啊?我现在找不到问题和解决办法,困扰两天了。
嘿喽 2014-12-12
  • 打赏
  • 举报
回复
我也出现这个问题了,也是上传至Svn,然后check out。还没有找到是哪个自动配置文件的问题。
武溪嵌人 2014-02-21
  • 打赏
  • 举报
回复
问题解决了,是自动配置文件的问题!
日知己所无 2014-02-01
  • 打赏
  • 举报
回复
看编译出错的信息里面有 TRUE 和 FALSE这样的基本的常量未定义 推测是编译的时候,头文件等的路径指定的不对 另外,可以用WinMerge等软件查看一下源代码的编码方式 看看是不是提交时被更改了
武溪嵌人 2014-01-15
  • 打赏
  • 举报
回复
是相同的,没有改变!
ydsmzh 2014-01-14
  • 打赏
  • 举报
回复
你确定前后版本号相同?

1,277

社区成员

发帖
与我相关
我的任务
社区描述
软件工程 CVS/SVN
社区管理员
  • 版本控制社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧