> On 13 Oct 2015, at 00:29, Robert Withers <[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? 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; > ^ >
