No worries. I think I am going to stop this issue. My image is running,
so I can work on what I need to to keep focus on the goal. I may need to
do this later, but for now it's good.
thanks,
Robert
On 10/13/2015 05:18 AM, Max Leske wrote:
On 13 Oct 2015, at 11:17, Robert Withers <[email protected]
<mailto:[email protected]>> wrote:
On 10/13/2015 02:25 AM, Max Leske wrote:
On 13 Oct 2015, at 00:29, Robert Withers <[email protected]
<mailto:[email protected]>> wrote:
I am trying to build the vm and I got an error during make, listed
at the bottom is one item that had error, but there were many
conflicting types errors.
I started with the latest bz2 from here:
http://files.pharo.org/vm/src/vm-unix-sources/blessed/. I setup my
tool environment (Ubuntu). The README.md says do a make in the
platforms dir but that failed.
Recommended to me was the git repo:
https://github.com/pharo-project/pharo-vm/blob/master/README.md
So, I ran:
git clone --depth=1 https://github.com/pharo-project/pharo-vm.git
cd build
./build.sh
It pulled the image, generated sources then started to make the
results when I got this error.
What should I do now?
Hi Robert,
errors like that are often a consequence of differing gcc / clang
versions (yes, we’re using a somewhat outdated version). What version
do you have installed on your system?
It took me some time to get back to this issue. I checked versions and
gcc 4.9.2 and cmake 3.0.2. I don't have clang installed. Should I have?
No, I don’t think so, sorry. I mixed up CMake and clang in my head.
thanks,
Robert
Cheers,
Max
--
thanks,
Robert
/home/robert/.local/share/Pharo/pharo-vm/src/vm/cogit.c:3418:1:
error: conflicting types for ‘concretizeMoveAwR’
concretizeMoveAwR(AbstractInstruction * self_in_concretizeMoveAwR)
^
/home/robert/.local/share/Pharo/pharo-vm/src/vm/cogit.c:457:14:
note: previous declaration of ‘concretizeMoveAwR’ was here
static sqInt concretizeMoveAwR(AbstractInstruction *
self_in_concretizeMoveAwR) NoDbgRegParms;
^