linux下编译一个简单的makefile出现的UUID有关问题

linux下编译一个简单的makefile出现的UUID有关问题

linux下编译一个简单的makefile出现的UUID问题
fedora12下的linux
新手linux下编译一个简单的makefile出现的UUID有关问题
编译一个简单makefile
make后报linux下编译一个简单的makefile出现的UUID有关问题
不知道是怎么解决,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
------解决方案--------------------
没有 main 函数,没有链接所需的动(静)态库
建议楼主循序渐进学习:首先编写简单的程序,命令行编译,然后逐步加入库文件、头文件,命令行会了后再学习 makefile