Open robinpaulson opened 2 years ago
@prasad-kamat I see you are interested in asperes too. Perhaps you are able to help with getting it to build? I have built libmutil (see https://github.com/robinpaulson/libmutil) and installed the libraries and header files, but I'm getting the above error messages.
the function names which begin with mut
are all named in the mutil.h
header files, part of libmutil. They are in place in /usr/local/include
, which is where I'd expect ld
to look for them
error message as follows:
cc -D_LINUX -I../src -L. -o asperes ./obj/asperes.o ./obj/dsp.o ./obj/image_io.o ./obj/sound_io.o ./obj/util.o -lfftw3 -lmutil -lm /usr/bin/ld: ./obj/asperes.o: in function 'read_config_file': asperes.c:(.text+0x777): undefined reference to 'mut_file_exist' /usr/bin/ld: asperes.c:(.text+0x7c9): undefined reference to 'mut_file_exist' /usr/bin/ld: asperes.c:(.text+0x876): undefined reference to 'mut_file_exist' /usr/bin/ld: asperes.c:(.text+0x8af): undefined reference to 'mut_load_config' /usr/bin/ld: asperes.c:(.text+0x8d3): undefined reference to 'mut_last_error' /usr/bin/ld: asperes.c:(.text+0x8da): undefined reference to 'mut_errmsg' /usr/bin/ld: ./obj/asperes.o: in function 'main': asperes.c:(.text+0x969): undefined reference to 'mut_parse_cmd_line' /usr/bin/ld: asperes.c:(.text+0x994): undefined reference to 'mut_last_error' /usr/bin/ld: asperes.c:(.text+0x99b): undefined reference to 'mut_errmsg' /usr/bin/ld: asperes.c:(.text+0xa0b): undefined reference to 'mut_set_logname' /usr/bin/ld: asperes.c:(.text+0xa15): undefined reference to 'mut_setlog' /usr/bin/ld: asperes.c:(.text+0xa30): undefined reference to 'mut_get_date' /usr/bin/ld: asperes.c:(.text+0xba7): undefined reference to 'mut_fname_split' /usr/bin/ld: asperes.c:(.text+0xd68): undefined reference to 'mut_stoi' /usr/bin/ld: asperes.c:(.text+0xe5a): undefined reference to 'mut_stof' /usr/bin/ld: asperes.c:(.text+0xef5): undefined reference to 'mut_stof' /usr/bin/ld: asperes.c:(.text+0xf90): undefined reference to 'mut_stof' /usr/bin/ld: asperes.c:(.text+0x102b): undefined reference to 'mut_stof' /usr/bin/ld: asperes.c:(.text+0x10c6): undefined reference to 'mut_stof' /usr/bin/ld: asperes.c:(.text+0x1166): undefined reference to 'mut_stoi' /usr/bin/ld: asperes.c:(.text+0x11b9): undefined reference to 'mut_stoi' collect2: error: ld returned 1 exit status make: *** [Makefile:32: asperes] Error 1