无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站广告联系 微信:wuyouceo QQ:184822951
查看: 6359|回复: 17
打印 上一主题 下一主题

[求助] g4d编译出错

[复制链接]
1#
发表于 2012-11-8 16:53:05 | 显示全部楼层
可能你裝上了binutils-gold了吧,移除用普通的binutils即可。
回复

使用道具 举报

2#
发表于 2012-11-9 16:05:33 | 显示全部楼层
原帖由 2012casscqt 于 2012-11-8 19:22 发表
不好意思,我不习惯使用linux,怎么知道我装的是binutils-gold呢?该怎么移除用普通的binutils?

看來不是 binutils-gold 的問題,而是你的系統是 amd64 但沒安裝 gcc-multilib 和/或 binutils-multiarch 支援

如果是安裝了binutils-gold的話會像這樣:
  1. ~/grub4dos$ ./configure
  2. checking for a BSD-compatible install... /usr/bin/install -c
  3. checking whether build environment is sane... yes
  4. checking for gawk... no
  5. checking for mawk... mawk
  6. checking whether make sets $(MAKE)... yes
  7. checking build system type... x86_64-unknown-linux-gnu
  8. checking host system type... x86_64-unknown-linux-gnu
  9. checking whether to enable maintainer-specific portions of Makefiles... no
  10. checking for gcc... gcc
  11. checking for gcc... (cached) gcc
  12. checking whether the C compiler works... yes
  13. checking for C compiler default output file name... a.out
  14. checking for suffix of executables...
  15. checking whether we are cross compiling... no
  16. checking for suffix of object files... o
  17. checking whether we are using the GNU C compiler... yes
  18. checking whether gcc accepts -g... yes
  19. checking for gcc option to accept ISO C89... none needed
  20. checking for style of include used by make... GNU
  21. checking dependency style of gcc... gcc3
  22. checking dependency style of gcc... (cached) gcc3
  23. checking for ranlib... ranlib
  24. checking whether optimization for size works... yes
  25. checking whether gcc has -fno-stack-protector... yes
  26. checking whether gcc has -fno-reorder-functions... yes
  27. checking whether -Wundef works... yes
  28. checking whether -falign-loops works... yes
  29. checking whether linker accepts `--build-id=none'... yes
  30. checking for objcopy... objcopy
  31. checking if C symbols get an underscore after compilation... no
  32. checking whether objcopy works for absolute addresses... configure: error: gcc cannot link at address 7C00
复制代码

[ 本帖最后由 roytam1 于 2012-11-9 17:25 编辑 ]
回复

使用道具 举报

3#
发表于 2012-11-10 20:55:44 | 显示全部楼层
原帖由 jianliulin 于 2012-11-10 18:54 发表
之前可以用slitaz 4.0编译,现在下载最新版编译不了,gcc 4.5.2

把錯誤訊息貼上來吧
回复

使用道具 举报

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

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-4-25 06:41

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

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