Issue with simple Makefile: undefined reference to symbol 'cos@@GLIBC_2.2.5'

后端 未结 2 600
南旧
南旧 2021-02-18 13:44

I\'m trying to compìle some test C code using a Makefile. The main.c file includes two headers:

#include \"circle_buffer.h\"
#include \"window.h\"
<         


        
2条回答
  •  天涯浪人
    2021-02-18 14:35

    Also try to use c++ instead of gcc compiler. It includes this library by default.

提交回复
热议问题