ChinaUnix.net
相关文章推荐:

ld 腳本 嵌入

ld: (Warning) At least one PA 2.0 object file (sotest.o) was detected. 怎么可以去掉啊

by ChinaDream - HP-UX - 2005-10-08 12:43:36 阅读(1535) 回复(4)

相关讨论

:em21: 大哥大姐,我是高二学生,自学linux c编程。 现在碰见一个问题,就是ld这个链接工具不知道乍用,谁能提供一份中文的参考教程,最好带ld资料的。 谢谢了.:em18: ,小弟自学的,如果有说错的话的地方,请见谅。

by 写自己的操作系 - C/C++ - 2009-07-28 13:15:14 阅读(1848) 回复(10)

请教一个问题,我把一个linux下的程序拿到windows下用cygwin来编译,有个地方死活过不去.麻烦各位给点提示. 错误信息: [code] Yuri#make gcc -L../.. -ldmtx -lpng -lm -lGL -lGLU -lSDL -lpng -lpthread -Wall gltest.o ima ge.o display.o callback.o -o gltest /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -ldmtx collect2: ld returned 1 exit status make: *** [gltest] 错误 1 Yuri# ...

by Yuri.G. - C/C++ - 2007-06-06 14:31:48 阅读(3598) 回复(12)

如何使用ld(1)(solaris 9) 将Berkeley DB 的lib路径 放在 ldFLAGS里并做成可执行文件? 然后怎样一起使用这个文件和ldAP?谢谢

by nevereverdown - 服务器应用 - 2006-10-03 21:00:49 阅读(1800) 回复(0)

最近做了个GCC+newlib交叉编译环境 编译一个小的带socket函数的程序,出现了以下错误: tmp/cconcI9a.o: In function `_main': /tmp/cconcI9a.o(.text+0x18): undefined reference to `_unlink' /tmp/cconcI9a.o(.text+0x2c): undefined reference to `_socket' /tmp/cconcI9a.o(.text+0x74): undefined reference to `_bind' /tmp/cconcI9a.o(.text+0x84): undefined reference to `_listen' /tmp/cconcI9a.o(.text+0xb4): undef...

by jlfzx - 内核/嵌入技术 - 2006-09-14 16:58:16 阅读(779) 回复(2)

我写了一个hello world程序,我想用as,ld等命令来编译程序。 但在ld的时候,出现错误。错误如下: XXXXX:/opt/programtest/bintest$ ld -o bintest3 bintest.o ld: warning: cannot find entry symbol _start; defaulting to 0000000008048094 bintest.o(.text+0x56):bintest.s:42: undefined reference to `printf' bintest.o(.text+0x82):bintest.s:53: undefined reference to `printf' 操作步骤如下: $ gcc -S bintest.c $...

by normalnotebook - C/C++ - 2006-05-21 16:04:18 阅读(1026) 回复(1)

-r --relocateable Generate relocatable output---i.e., generate an output file that can in turn serve as input to ld. This is often called partial linking. As a side effect, in environments that support standard Unix magic numbers, this option also sets the output file's magic number to "OMAGIC". If this option is not spe...

by mingjwan - C/C++ - 2004-12-15 17:05:14 阅读(654) 回复(2)

谁能给我讲AIX上ld命令的用法啊,MAN出来太长了,再说我E文不是很好,谢谢

by 用户密码不对 - AIX - 2004-05-27 14:47:29 阅读(945) 回复(0)

ld -d -r a.o b.o c.o -o out.o可以成功连接。 可是我想用 gcc 做连接,该怎么加参数呢? 不会是这样吧: gcc -d -r a.o b.o c.o -o out.o

by zhangzilong_84 - C/C++ - 2008-11-20 11:04:35 阅读(1540) 回复(3)