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

maya.h:13:10: fatal error: udis86/udis86.h: No such file or directory #1

Open
666Danger-sudo opened this issue Aug 30, 2022 · 4 comments

Comments

@666Danger-sudo
Copy link

Can't make because of this error. Just freshly git cloned.

@elfmaster
Copy link
Owner

I never said it was going to compile :) -- I haven't built this since 2016.

@tkchia
Copy link

tkchia commented Aug 30, 2022

Hello @666Danger-sudo,

Did you do a recursive Git clone or Git checkout of this repository? I see that udis86 is used as a Git submodule.

Thank you!

@fabianofurtado
Copy link

Hi... I had the same issue.
You need to download and build udis86 into the udis86 directory.
For example:

./autogen.sh
./configure --prefix=/usr --with-python=/usr/bin/python2 --enable-shared
make

  • udis86 uses Python2!

After this step, the linker will throw an error and I don't know how to fix it.
...
/usr/bin/ld: cannot find -ludis86: No such file or directory
/usr/bin/ld: cannot find -ldwarf: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [Makefile:3: maya] Error 1

@z4ziggy
Copy link

z4ziggy commented Aug 30, 2022

The linker errors are easy to fix - just use '-L' to point where the .so files (udis86/libudis86/.libs/ for udis86, libdwarf was installed to /usr/local/lib). the biggest headache is the adding the 'extern' to all variables in maya.h due to 'multiple definition of...' errors.

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

5 participants