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

Error building on Arch Linux #146

Open
flysand7 opened this issue Jan 14, 2024 · 0 comments
Open

Error building on Arch Linux #146

flysand7 opened this issue Jan 14, 2024 · 0 comments

Comments

@flysand7
Copy link

flysand7 commented Jan 14, 2024

I'm encountering building errors

$ ./autogen.sh
$ ./configure
$ make

The make produces the following output:

make  all-recursive
make[1]: Entering directory '/home/bumbread/udis86'
Making all in scripts
make[2]: Entering directory '/home/bumbread/udis86/scripts'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/bumbread/udis86/scripts'
Making all in libudis86
make[2]: Entering directory '/home/bumbread/udis86/libudis86'
/sbin/python ../scripts/ud_itab.py ../docs/x86/optable.xml .
Traceback (most recent call last):
  File "/home/bumbread/udis86/libudis86/../scripts/ud_itab.py", line 379, in <module>
    main()
  File "/home/bumbread/udis86/libudis86/../scripts/ud_itab.py", line 374, in main
    tables = UdOpcodeTables(xml=sys.argv[1])
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bumbread/udis86/scripts/ud_opcode.py", line 330, in __init__
    self.printStats()
  File "/home/bumbread/udis86/scripts/ud_opcode.py", line 575, in printStats
    self.pprint()
  File "/home/bumbread/udis86/scripts/ud_opcode.py", line 557, in pprint
    printWalk(self.root)
  File "/home/bumbread/udis86/scripts/ud_opcode.py", line 554, in printWalk
    printWalk(e, indent + "    |")
  File "/home/bumbread/udis86/scripts/ud_opcode.py", line 554, in printWalk
    printWalk(e, indent + "    |")
  File "/home/bumbread/udis86/scripts/ud_opcode.py", line 556, in printWalk
    self.log("%s    |-<%02x> %s" % (indent, k, e))
             ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
TypeError: %x format: an integer is required, not float
make[2]: *** [Makefile:748: itab.c] Error 1
make[2]: Leaving directory '/home/bumbread/udis86/libudis86'
make[1]: *** [Makefile:483: all-recursive] Error 1
make[1]: Leaving directory '/home/bumbread/udis86'
make: *** [Makefile:394: all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant