c - gcc exit with undefined reference to function in header file - Stack ...

c - gcc exit with undefined reference to function in header file - Stack ...

瀏覽:1133
日期:2025-04-27
The order of libraries and objects on your compilation/link command line matters. In your case, you just need to put the shared object at the end: gcc ......看更多