Dear Sir,

I tried to install 32bit package, I enter judge folder then run:

gcc -m32 -fPIE -Wl,-z,relro -Wl,-z,now  runguard.o /usr/lib/libm.so   -o runguard

But I got another error like this:
runguard.o: could not read symbols: File in wrong format

How can I solve this problem? Please help me!
Thanks for your help!

Best regard,
Linh

On Tue, Dec 8, 2015 at 11:30 PM, Thijs Kinkhorst <thijs@kinkhorst.com> wrote:
Hi Linh,

> gcc -fPIE -Wl,-z,relro -Wl,-z,now  runguard.o /usr/lib/libm.so   -o
> runguard
> /usr/lib/libm.so: could not read symbols: File in wrong format

I've never seen that before. It suggests that there's something wrong with
your system. Did you by any chance install e.g. 32 bit packages on a 64
bit OS installation, or the other way around?

I propose using Google to find out more about this error because it's not
DOMjudge related.


Cheers,
Thijs
_______________________________________________
DOMjudge-devel mailing list
DOMjudge-devel@domjudge.org
https://www.domjudge.org/mailman/listinfo/domjudge-devel



--
---------------------------------------------------------------------------------------------
Nguyễn Vũ Linh - Sói Hoang

Software/Website/Game Developer - AI, PTS, Corel, AE Designer
......................
Phone: 0963.203.813
.............................