LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1011|回复: 4

make 时出错

[复制链接]
发表于 2007-12-22 12:08:07 | 显示全部楼层 |阅读模式
gmake[3]: *** 没有规则可以创建“gnomestripe/Makefile”需要的目标“gnomestripe/Makefile.in”。

gnomestripe目录下两个文件都有
===========================================
makefile.in:


DEPTH           = ../..
topsrcdir       = @top_srcdir@
srcdir          = @srcdir@
VPATH           = @srcdir@

include $(DEPTH)/config/autoconf.mk

#
# Theme Selection
#
# Windows                 Winstripe
# MacOS X                 Pinstripe
# GNOME/Linux             Gnomestripe
#

ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
DIRS = pinstripe
else
ifneq (,$(filter windows,$(MOZ_WIDGET_TOOLKIT)))
DIRS = winstripe
else
DIRS = gnomestripe
endif
endif

include $(topsrcdir)/config/rules.mk
================================================
makefile:

DEPTH           = ../..
topsrcdir       = ../..
srcdir          = .
VPATH           = .

include $(DEPTH)/config/autoconf.mk

#
# Theme Selection
#
# Windows, GNOME/Linux    Winstripe
# MacOS X                 Pinstripe
#

ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
DIRS = pinstripe
else
ifneq (,$(filter windows,$(MOZ_WIDGET_TOOLKIT)))
DIRS = winstripe
else
DIRS = gnomestripe
endif
endif

include $(topsrcdir)/config/rules.mk
=========================================
发表于 2007-12-22 16:08:17 | 显示全部楼层
不肯定,这是什麽软件?感觉是没有正确 configure
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-24 23:38:06 | 显示全部楼层
可能是我没有configure 正确,现在绕过这个问题
我是在交叉编译firefox

有没有知道这么同时用x86的gcc和sparc-gcc
如果在环境变量中设置CC的话,makefile中递归都一直用一个编译器
但是firefox 会编译x86的代码,不知道怎么设置
请高手指点一下!
回复 支持 反对

使用道具 举报

发表于 2007-12-25 18:10:04 | 显示全部楼层
sparc 我不懂,不知道 CBLFS(Cross-compiling 的 Beyond LFS)編譯方式對你有沒有幫助

http://cblfs.cross-lfs.org/index.php/Firefox
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-25 20:27:23 | 显示全部楼层
谢谢!
不同编译器的问题解决了,本来就不应该用x86的编译器,
那些x86的代码是本机编译用的吧!呵呵

现在新的问题又来啦:


/opt/sparc-linux/lib/gcc/sparc-linux/3.4.4/../../../../sparc-linux/bin/ld: warning: libpthread.so.0, needed by ../../dist/bin/libmozjs.so, not found (try using -rpath or -rpath-link)/opt/sparc-linux/lib/gcc/sparc-linux/3.4.4/../../../../sparc-linux/bin/ld: warning: libintl.so.0, needed by /mnt/nfs/library/lib/libpangoft2-1.0.so, not found (try using -rpath or -rpath-link)
collect2: ld returned 1 exit status


为什么我加了-L/mnt/nfs/library -lpthread -lintl 也不管用呢?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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