Skip to content

tests/disasm: undefined reference to `init_disassemble_info' #10

@Rtoax

Description

@Rtoax
ulpatch/tests/disasm$ make 
Binutils version 2.40
cc -lopcodes -Wall -O0 -g -ggdb -DBINUTILS_VERSION_MAJOR=2 -DBINUTILS_VERSION_MINOR=40   -c -o disasm-tst0.o disasm-tst0.c
cc   disasm-tst0.o   -o disasm-tst0
/usr/bin/ld: disasm-tst0.o: in function `disassemble_raw':
/home/rongtao/Git/ulpatch/tests/disasm/disasm-tst0.c:52: undefined reference to `init_disassemble_info'
/usr/bin/ld: /home/rongtao/Git/ulpatch/tests/disasm/disasm-tst0.c:58: undefined reference to `buffer_read_memory'
/usr/bin/ld: /home/rongtao/Git/ulpatch/tests/disasm/disasm-tst0.c:62: undefined reference to `disassemble_init_for_target'
/usr/bin/ld: /home/rongtao/Git/ulpatch/tests/disasm/disasm-tst0.c:65: undefined reference to `disassembler'
collect2: error: ld returned 1 exit status
make: *** [<builtin>: disasm-tst0] Error 1

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions