Thursday, 28 January 2021

Symbol from C file is not being added even though the MakeFile includes its object file

I'm trying to build libavformat with this MAKEFILE. Although the makefile includes avio.o file in its build instruction but it doesn't add any symbol for the functions that are declared on the header file url.h. Source folder which includes the avio.c, avio.h and url.h files can be found HERE.

The nm command for avio.o returns

nm: avio.o: File format not recognized

file command on avio.o shows the following output

avio.o: LLVM IR bitcode

I have checked the nm command on the generated libavformat.so and did not find any symbols for the functions declared on the url.h file

I have been stuck on this for two days. Could not figure out how to solve this problem!

Calling the ff_check_interrupt method and results in

undefined reference to 'ff_check_interrupt'



from Symbol from C file is not being added even though the MakeFile includes its object file

No comments:

Post a Comment