虽然makefile在其构建指令中包含了avio.o文件,但它没有为头文件url.h上声明的函数添加任何符号。包含avio.c, avio.h and url.h文件的源文件夹可以找到。avio.o的nm命令返回file命令在avio.o上显示了以下输出我检查了生成的libavformat.so上的nm命令,没有为url.h
/src/.libs/libzmq.a(libzmq_la-zmq.o):zmq.cpp:(.xdata+0x1c0): undefined reference to `__gxx_personality_seh0/src/.libs/libzmq.a(libzmq_la-zmq.o):zmq.cpp:(.xdata+0x1c0): relocation truncated to fit: rva32 againstparse_uri(char const*, std::string&, s