- r - 以节省内存的方式增长 data.frame
- ruby-on-rails - ruby/ruby on rails 内存泄漏检测
- android - 无法解析导入android.support.v7.app
- UNIX 域套接字与共享内存(映射文件)
我正在尝试使用 gccgo 编译 go 文件,我安装在我的 ubuntu 9.10 机器上。当我编译
$gccgo -c hello.go
hello.o 文件生成,同时尝试链接并形成可执行文件
$gccgo -o 你好你好.o
我得到以下错误
/usr/local/lib/gcc/i686-pc-linux-gnu/4.5.0/../../../libgo.so: undefined reference to `__sync_fetch_and_add_4'
/usr/local/lib/gcc/i686-pc-linux-gnu/4.5.0/../../../libgo.so: undefined reference to `__sync_bool_compare_and_swap_4'
collect2: ld returned 1 exit status
我错过了什么吗? ,我还在我的环境中设置了 LD_LIBRARY_PATH。谢谢
最佳答案
也许尝试遵循 this post 中的建议并将 -march=i486
传递给编译器? (或 -march=i686
)
关于Ubuntu 9.10 karmic 中的 gccgo 链接错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1769235/
Karmic Koala 上有 Maven2 的 .deb 吗?我看到了 maven2,但它有 100+MB 的依赖项 (!)。是否有一个包只有 mvn 而没有这些依赖项? 最佳答案 唯一存在的 .d
Erlang 已经安装: $dpkg -l|grep erlang ii erlang 1:13.b.3-dfsg-2ubuntu2
我正在尝试使用 gccgo 编译 go 文件,我安装在我的 ubuntu 9.10 机器上。当我编译 $gccgo -c hello.go hello.o 文件生成,同时尝试链接并形成可执行文件 $
我第一次尝试学习使用 glassfish。我的 IDE 是 netbeans,我已经为 netbeans 安装了 glassfish 插件。我打开了 synaptics 包管理器并输入了 glassf
不久前,我在我的 XP 平台上编译了一些 PHP 扩展库(使用 C/C++)。我现在已将源代码移至我的 Ubuntu 机器,并希望构建库以在我的 Linux 机器上使用。 但是,我遇到了一些障碍: 我
在 Ubuntu Karmic 中发现 CPU 数量和每个 CPU/核心规范的编程方式? Bash 或 C/C++、Python、Perl 都可以。谢谢! 最佳答案 cat /proc/cpuinfo
我在 Ubuntu Karmic 上遇到了 Tomcat 6 的一些问题。它不会启动应用程序并因各种错误而失败。 首先是: Caused by: java.security.AccessControl
我在网上看到很多与修复无法按下的按钮以及使用代理修复网络问题相关的内容。这对我来说似乎是一个不同的问题,在 maven2 的情况下与 jem.util.0.0.0 或其他插件所需的库有关。 设置: E
我是一名优秀的程序员,十分优秀!