当前位置: 技术问答>linux和unix
linux下编译一个简单的makefile出现的UUID问题
来源: 互联网 发布时间:2017-05-26
本文导语: fedora12下的linux 新手 编译一个简单makefile make后报 不知道是怎么解决,UUID库是安装了的 | U tried to compile an executable without defining a main function. That is why crt1.o complained. For the second err...
fedora12下的linux
新手
编译一个简单makefile
make后报![linux下编译一个简单的makefile出现的UUID问题[图片]](/img/tech-article-img/img_1418387082_901003.jpeg)
不知道是怎么解决,UUID库是安装了的
新手

编译一个简单makefile
make后报
![linux下编译一个简单的makefile出现的UUID问题[图片]](/img/tech-article-img/img_1418387082_901003.jpeg)
不知道是怎么解决,UUID库是安装了的
|
U tried to compile an executable without defining a main function. That is why crt1.o complained.
For the second error, u didn't tell the linker where the uuid lib is, see -l option
For the second error, u didn't tell the linker where the uuid lib is, see -l option
|
没有 main 函数,没有链接所需的动(静)态库
建议楼主循序渐进学习:首先编写简单的程序,命令行编译,然后逐步加入库文件、头文件,命令行会了后再学习 makefile
建议楼主循序渐进学习:首先编写简单的程序,命令行编译,然后逐步加入库文件、头文件,命令行会了后再学习 makefile
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。