Pythia8 (8180 / 8185) as plugin to ROOT (5.34.17 / 5.99)

Update: I am now trying to use an adapted version of the scripts from [url]Pythia8 as a ROOT Plugin in order to generate the dictionary.
You will find them in this attached file:
pythiaDict.zip (1.16 KB)

Here are the errors I get when trying to execute it using the latest root (5.99/5) and Pythia8 185:
errors_latest2.txt (493 KB)

Here are the errors I get when using root 5.34.17 and Pythia8 185:
errors_2.txt (28.7 KB)

I’m using g++ version 4.8.1

$PYTHIA8/config.mk:

[quote]SHELL = /bin/sh
ARCH = Linux-gcc4
MYLCGPLATFORM = x86_64-slc5-gcc43-opt
SHAREDLIBS = yes
FC = gfortran
CC = gcc
FFLAGS = -O2
CFLAGS = -O2
CXXFLAGS = -O2 -ansi -pedantic -W -Wall -Wshadow
FLIBS = -lgfortran -lgfortranbegin
LDFLAGSSHARED = -O2 -ansi -pedantic -W -Wall -Wshadow -fPIC -shared
LDFLAGLIBNAME = -Wl,-soname
SHAREDSUFFIX = so
[/quote]