Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Rtoax opened this issue Apr 7, 2024 · 0 comments
Open

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

Rtoax opened this issue Apr 7, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Rtoax
Copy link
Owner

Rtoax commented Apr 7, 2024

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
@Rtoax Rtoax added the bug Something isn't working label Apr 7, 2024
@Rtoax Rtoax self-assigned this Apr 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant