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

Need 32bit libelf for 64bit linux #171

Open
phgphd opened this issue Dec 20, 2011 · 0 comments
Open

Need 32bit libelf for 64bit linux #171

phgphd opened this issue Dec 20, 2011 · 0 comments

Comments

@phgphd
Copy link

phgphd commented Dec 20, 2011

I am running the 32bit MP IDE 0022-linux32-20110822 on a 64 bit Ubuntu 11.10 linux laptop. The target is the MAX32 chipkit. Compilation/link fails with the error message

/home/phil/Projects/mpide-0022-linux32-20110822/hardware/pic32/compiler/pic32-tools/bin/../pic32mx/bin/gcc/pic32mx/4.5.1/cc1plus: error while loading shared libraries: libelf.so.1: wrong ELF class: ELFCLASS64

I know this means the the gcc compiler/linker is attempting to use the /usr/lib/libelf.so.1 64 bit library which is of course incompatible with the 32 bit gcc supplied with the MP IDE. I have a 32 bit libelf library and have attempted to place it in just about every sub-directory under the mpide-0022-linux32-20110822 parent directory, hoping that it will be found in the 32 bit gcc search path before going outside to the /usr/lib directory. BUT no such luck

This may be related to issue #119.

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