主题 : SUN版本编译OPENWRT失败 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 28909
精华: 0
发帖: 38
金钱: 190 两
威望: 38 点
贡献值: 0 点
综合积分: 76 分
注册时间: 2010-09-19
最后登录: 2017-09-13
楼主  发表于: 2013-01-31 18:31

 SUN版本编译OPENWRT失败

ompatible pointer type
  CC [M]  fs/udf/dir.o
  CC [M]  fs/udf/file.o
  CC [M]  fs/udf/ialloc.o
  CC [M]  fs/udf/inode.o
  CC [M]  fs/udf/lowlevel.o
  CC [M]  fs/udf/namei.o
  CC [M]  fs/udf/partition.o
  CC [M]  fs/udf/super.o
  CC [M]  fs/udf/truncate.o
  CC [M]  fs/udf/symlink.o
  CC [M]  fs/udf/directory.o
  CC [M]  fs/udf/misc.o
  CC [M]  fs/udf/udftime.o
  CC [M]  fs/udf/unicode.o
  LD [M]  fs/udf/udf.o
  CC [M]  fs/xfs/linux-2.6/xfs_trace.o
  CC [M]  fs/xfs/linux-2.6/xfs_stats.o
  CC [M]  fs/xfs/linux-2.6/xfs_sysctl.o
  CC [M]  fs/xfs/xfs_alloc.o
  CC [M]  fs/xfs/xfs_alloc_btree.o
  CC [M]  fs/xfs/xfs_attr.o
  CC [M]  fs/xfs/xfs_attr_leaf.o
  CC [M]  fs/xfs/xfs_bit.o
  CC [M]  fs/xfs/xfs_bmap.o
  CC [M]  fs/xfs/xfs_bmap_btree.o
  CC [M]  fs/xfs/xfs_btree.o
  CC [M]  fs/xfs/xfs_buf_item.o
  CC [M]  fs/xfs/xfs_da_btree.o
  CC [M]  fs/xfs/xfs_dir2.o
  CC [M]  fs/xfs/xfs_dir2_block.o
  CC [M]  fs/xfs/xfs_dir2_data.o
  CC [M]  fs/xfs/xfs_dir2_leaf.o
  CC [M]  fs/xfs/xfs_dir2_node.o
  CC [M]  fs/xfs/xfs_dir2_sf.o
  CC [M]  fs/xfs/xfs_error.o
  CC [M]  fs/xfs/xfs_extfree_item.o
  CC [M]  fs/xfs/xfs_filestream.o
  CC [M]  fs/xfs/xfs_fsops.o
  CC [M]  fs/xfs/xfs_ialloc.o
  CC [M]  fs/xfs/xfs_ialloc_btree.o
  CC [M]  fs/xfs/xfs_iget.o
  CC [M]  fs/xfs/xfs_inode.o
  CC [M]  fs/xfs/xfs_inode_item.o
  CC [M]  fs/xfs/xfs_iomap.o
  CC [M]  fs/xfs/xfs_itable.o
  CC [M]  fs/xfs/xfs_dfrag.o
  CC [M]  fs/xfs/xfs_log.o
  CC [M]  fs/xfs/xfs_log_cil.o
  CC [M]  fs/xfs/xfs_log_recover.o
  CC [M]  fs/xfs/xfs_mount.o
  CC [M]  fs/xfs/xfs_mru_cache.o
  CC [M]  fs/xfs/xfs_rename.o
  CC [M]  fs/xfs/xfs_trans.o
  CC [M]  fs/xfs/xfs_trans_ail.o
  CC [M]  fs/xfs/xfs_trans_buf.o
  CC [M]  fs/xfs/xfs_trans_extfree.o
  CC [M]  fs/xfs/xfs_trans_inode.o
  CC [M]  fs/xfs/xfs_trans_item.o
  CC [M]  fs/xfs/xfs_utils.o
  CC [M]  fs/xfs/xfs_vnodeops.o
  CC [M]  fs/xfs/xfs_rw.o
  CC [M]  fs/xfs/xfs_dmops.o
  CC [M]  fs/xfs/linux-2.6/kmem.o
  CC [M]  fs/xfs/linux-2.6/xfs_aops.o
  CC [M]  fs/xfs/linux-2.6/xfs_buf.o
  CC [M]  fs/xfs/linux-2.6/xfs_export.o
  CC [M]  fs/xfs/linux-2.6/xfs_file.o
  CC [M]  fs/xfs/linux-2.6/xfs_fs_subr.o
  CC [M]  fs/xfs/linux-2.6/xfs_globals.o
  CC [M]  fs/xfs/linux-2.6/xfs_ioctl.o
  CC [M]  fs/xfs/linux-2.6/xfs_iops.o
  CC [M]  fs/xfs/linux-2.6/xfs_super.o
  CC [M]  fs/xfs/linux-2.6/xfs_sync.o
  CC [M]  fs/xfs/linux-2.6/xfs_xattr.o
  CC [M]  fs/xfs/support/debug.o
  CC [M]  fs/xfs/support/uuid.o
  LD [M]  fs/xfs/xfs.o
  CC [M]  crypto/crypto_null.o
  CC [M]  crypto/md4.o
  CC [M]  crypto/sha256_generic.o
  CC [M]  crypto/sha512_generic.o
  CC [M]  crypto/wp512.o
  CC [M]  crypto/tgr192.o
  CC [M]  crypto/fcrypt.o
  CC [M]  crypto/blowfish.o
  CC [M]  crypto/serpent.o
  CC [M]  crypto/camellia.o
  CC [M]  crypto/cast5.o
  CC [M]  crypto/cast6.o
  CC [M]  crypto/tea.o
  CC [M]  crypto/khazad.o
  CC [M]  crypto/anubis.o
  CC [M]  crypto/michael_mic.o
  CC [M]  crypto/ansi_cprng.o
  CC [M]  crypto/tcrypt.o
  CC [M]  crypto/ocf/crypto.o

crypto/ocf/crypto.c: In function 'crypto_exit':
crypto/ocf/crypto.c:1686: error: implicit declaration of function 'kill_proc'
make[7]: *** [crypto/ocf/crypto.o] Error 1
make[6]: *** [crypto/ocf] Error 2
make[5]: *** [crypto] Error 2
make[5]: Leaving directory `/media/new2/openwrtdreambox/sun/build_dir/linux-s5pc1xx_tiny210/linux-2.6.35.7'
make[4]: *** [/media/new2/openwrtdreambox/sun/build_dir/linux-s5pc1xx_tiny210/linux-2.6.35.7/.modules] Error 2
make[4]: Leaving directory `/media/new2/openwrtdreambox/sun/target/linux/s5pc1xx'
make[3]: *** [compile] Error 2
make[3]: Leaving directory `/media/new2/openwrtdreambox/sun/target/linux'
make[2]: *** [target/linux/compile] Error 2
make[2]: Leaving directory `/media/new2/openwrtdreambox/sun'
make[1]: *** [/media/new2/openwrtdreambox/sun/staging_dir/target-arm_v7-a_eglibc-2.8_eabi/stamp/.target_compile] Error 2
make[1]: Leaving directory `/media/new2/openwrtdreambox/sun'
make: *** [world] 错误 2
server@ubuntu:/media/new2/openwrtdreambox/sun$
级别: 骑士
UID: 61140
精华: 1
发帖: 213
金钱: 1125 两
威望: 225 点
贡献值: 1 点
综合积分: 446 分
注册时间: 2011-12-23
最后登录: 2016-11-20
1楼  发表于: 2013-01-31 21:24

 回 楼主(ppbread) 的帖子

你是不是make kernel_menuconfig重新配置内核了?
级别: 骑士
UID: 61140
精华: 1
发帖: 213
金钱: 1125 两
威望: 225 点
贡献值: 1 点
综合积分: 446 分
注册时间: 2011-12-23
最后登录: 2016-11-20
2楼  发表于: 2013-02-01 08:32

 Re:回 1楼(neechard) 的帖子

引用第2楼ppbread于2013-02-01 03:54发表的 回 1楼(neechard) 的帖子 :
我是先svn sun之后 运行make menuconfig 然后 TARGET SYSTEM 选择 (S5PC1XX )之后 GLOBAL BUILD SETTING  里面选 select all packages by default  然后运行 mak V=99 开始编译
编译过程中会出现要求重新选择的提示 N/M/Y/?这类的 估计是要求重新配置内核 要是出现这样子如何避免 之前也试过不选 select all package by default 但同样在编译过程中出现 重新选择的提示 N/M/Y/?这类的选项 不知道如何


你这个编译错误是内核部分的,应该是select all packages by default的时候把一些不支持的kernel package加入进去了。
你直接按照这个来:https://dev.openwrt.org.cn/wiki/compiles5pc1xx

不要加GLOBAL BUILD SETTING  里面选 select all packages by default !!
其余的软件包需要那个就安装哪个,不需要就使用默认的就行。

然后删除.config文件重新配置。
级别: 骑士
UID: 61140
精华: 1
发帖: 213
金钱: 1125 两
威望: 225 点
贡献值: 1 点
综合积分: 446 分
注册时间: 2011-12-23
最后登录: 2016-11-20
3楼  发表于: 2013-02-01 08:35
引用第3楼huhu2207于2013-02-01 06:52发表的  :
备份一下menuconfig配置文件,然后make distclean,然后./scripts/feeds update -a && ./scripts/feeds install -a,然后还原配置文件,再用make(不是make V=99)编译试试。一般没报错的情况下可以先用make


有没有时间写wiki啊,可以把用过的东西写一写啊
级别: 骑士
UID: 61140
精华: 1
发帖: 213
金钱: 1125 两
威望: 225 点
贡献值: 1 点
综合积分: 446 分
注册时间: 2011-12-23
最后登录: 2016-11-20
4楼  发表于: 2013-02-04 09:44

 回 9楼(ppbread) 的帖子

如果要编译filebrower,必须先选定qtopia或者opie,make编译完成他们之后,再make menuconfig选择filebrower,konq之类的qt应用软件。

我的feeds/qpe定义成这个样子的,所以你吧filebrower和qtopia一起选定编译肯定会出错的
级别: 骑士
UID: 61140
精华: 1
发帖: 213
金钱: 1125 两
威望: 225 点
贡献值: 1 点
综合积分: 446 分
注册时间: 2011-12-23
最后登录: 2016-11-20
5楼  发表于: 2013-02-04 09:45
引用第7楼huhu2207于2013-02-02 19:39发表的  :
好主意,过两天就有空了~ 等着~俺会来的~~


嗯,多写点自己搞的东西。。。
lintel实习后,终于不是我一个人在战斗了~~