[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#320403: chroot gives out many warnings.



Martin Michlmayr <tbm@cyrius.com> writes:

> * Levi Levi <leviearth@hotmail.com> [2005-07-28 22:18]:
>> Package: eAthena/chroot
>> Version: (unknown)
>> 
>> When I type make sql within my eAthena folder I encounter these warnings.
>> 
>> /usr/bin/ld: warning: i386:x86-64 architecture of input file `sqlobj/map.o' 
>> is incompatible with i386 output
> ...
>> Any ideas? I think I should reinstall some gcc files but I'm unsure. I'm 
>> running under a chroot trying to compile a 32bit program also I've read the 
>> AMD-HOW-To guide.
>
> eAthena doesn't seem to be in Debian but maybe someone from the -amd64
> list can give some generic answer to this.
> -- 
> Martin Michlmayr
> http://www.cyrius.com/

You seem to be mixing object files compiled for 32bit and 64bit.

If you compiled outside the chroot first you have to run make clean
before doing so again inside.

If that's not the problem check that you use -m32 or -m64 consistenly
in the compilation but not mix the two.

MfG
        Goswin



Reply to: