[BitVisor-devel-en:61] Re: Multiple definition of symbols error when compiling BitVisor 1.4

O. Meteer info at guztech.nl
Tue Sep 2 18:00:24 JST 2014


As the developers pointed out, this error occurs because the latest 
version
of Arch has GNU make 4.0 installed and the makefiles are not yet 
compatible
with that version. To fix this, either install make 3.81/3.82 from AUR 
or use
bmake and you should be able to compile and link BitVisor without 
problems.

---
GuzTech
Research and development of hardware, firmware, and software.

On 25-08-2014 22:24, O. Meteer wrote:
> Dear developers,
> 
> I tried compiling BitVisor 1.4 on Ubuntu 12.04 with gcc 4.6.3 and
> everthing compiled just fine. I installed gcc 4.6.4 on my Arch
> installation and I get the exact same errors which led me to believe
> that the problem lies somewhere else. Other differences between the two
> machines is that on Ubuntu binutils is version 2.22 and on Arch 
> binutils
> is version 2.24. It happens as the linker wants to create the
> core/output.o file. Any suggestions?
> 
> With kind regards,
> Oguz Meteer
> 
> ---
> GuzTech
> Research and development of hardware, firmware, and software.
> 
> On 24-08-2014 01:01, O. Meteer wrote:
>> Dear developers,
>> 
>> I cannot seem to compile BitVisor 1.4 correctly using gcc 4.9.1 on 
>> Arch
>> Linux. I have configured BitVisor (make config) but when I build it,
>> the
>> linking stage fails as I get a lot of linker errors like the 
>> following:
>> 
>> core/localapic.o: In function `localapic_wait_for_sipi':
>> /home/guztech/Projects/BitVisor/bitvisor-1.4/core/localapic.c:159:
>> multiple definition of `localapic_wait_for_sipi'
>> core/localapic.o:/home/guztech/Projects/BitVisor/bitvisor-1.4/core/localapic.c:159:
>> first defined here
>> core/localapic.o: In function `localapic_change_base_msr':
>> 
>> I get around 200 errors similar to those above. I have the same 
>> problem
>> when compiling BitVisor 1.3 which would suggest that maybe these 
>> errors
>> occur because of gcc 4.9.1.
>> Am I doing something wrong or am I missing something? Have you
>> experienced the same problems?
>> 
>> With kind regards,
>> Oguz Meteer
> _______________________________________________
> BitVisor-devel-en mailing list
> BitVisor-devel-en at bitvisor.org
> https://www.bitvisor.org/mailman/listinfo/bitvisor-devel-en


More information about the BitVisor-devel-en mailing list