Garfield++ installation, garfroot.C

Hi ROOTers,
This is my first post here and probably this is a very stupid question, but I couldn’t solve it by my own.
I’m having a problem while I try to compile garfroot.C (to use Root prompt in Garfield (simulation package)), with “undefined references” to Root clases and functions: TRandom3, TMatrixT, TGeoManager::GetCurrentNavigator(),TMath::Voigt(), etc…; and also with Fortran functions like: _gfortran_transfer_character_write, _gfortran_st_write, etc… It seems that the libraries are not defined in the makefile, but they are! (please see the garfroot.C, makefile and error.log below) … I really appreciate any help!

PS: I’m using ROOT version 5.34/03 in Kubuntu 12.04 (linuxx8664gcc)

#####################################garfroot.C############################

#include <iostream>
#include <fstream>
#include <cmath>
#include <TROOT.h>
#include <TRint.h>
#include "Plotting.hh"
int main(int argc, char * argv[]) {
  std::cout << "Welcome to Garfield++\n";
  Garfield::plottingEngine.SetDefaultStyle();
    TRint* app = new TRint("Garfield", &argc, argv, 0, 0);
    app->Run(kTRUE);}

###############################makefile######################################

OBJDIR = $(GARFIELD_HOME)/Object
SRCDIR = $(GARFIELD_HOME)/Source
INCDIR = $(GARFIELD_HOME)/Include
HEEDDIR = $(GARFIELD_HOME)/Heed
LIBDIR = $(GARFIELD_HOME)/Library


CXX = g++
CXXFLAGS = -g -Wall -fPIC -m64
LD = g++
SOFLAGS = shared


# Compiler flags
CFLAGS = -Wall -Wextra -Wno-long-long \
        `root-config --cflags` \
        -O3 -fno-common -c \
        -I$(INCDIR) -I$(HEEDDIR)

# Debug flags
CFLAGS += -g

LDFLAGS =`root-config --glibs` -lGeom -lRint -lgfortran -lm -lz 
LDFLAGS += -L$(LIBDIR) -Wl,--whole-archive -lGarfield -Wl,--no-whole-archive -lCint `root-config --glibs`
#LDFLAGS += -all_load
LDFLAGS += -g

garfroot:       garfroot.C 
        $(CXX) $(CFLAGS) garfroot.C
        $(CXX) -o garfroot garfroot.o $(LDFLAGS)
        rm garfroot.o

#######################error.log#########################################3

g++ -Wall -Wextra -Wno-long-long `root-config --cflags` -O3 -fno-common -c -I/home/molina/Programs/garfield/Include -I/home/molina/Programs/garfield/Heed -g garfroot.C
g++ -o garfroot garfroot.o `root-config --glibs` -lGeom -lRint -lgfortran -lm -lz  -L/home/molina/Programs/garfield/Library -Wl,--whole-archive -lGarfield -Wl,--no-whole-archive -lCint -g
/home/molina/Programs/garfield/Library/libGarfield.a(AvalancheMC.o): In function `Garfield::AvalancheMC::DriftLine(double, double, double, double, int, bool)':
AvalancheMC.cc:(.text+0x2864): undefined reference to `TRandom3::Rndm(int)'
AvalancheMC.cc:(.text+0x2892): undefined reference to `TRandom3::Rndm(int)'
AvalancheMC.cc:(.text+0x290e): undefined reference to `TRandom3::Rndm(int)'
AvalancheMC.cc:(.text+0x2938): undefined reference to `TRandom3::Rndm(int)'
AvalancheMC.cc:(.text+0x298a): undefined reference to `TRandom3::Rndm(int)'
/home/molina/Programs/garfield/Library/libGarfield.a(AvalancheMC.o):AvalancheMC.cc:(.text+0x29b0): more undefined references to `TRandom3::Rndm(int)' follow
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o): In function `Garfield::ComponentCST::WeightingField(double, double, double, double&, double&, double&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
ComponentCST.cc:(.text+0x2585): undefined reference to `TMatrixT<double>::TMatrixT(int, int)'
ComponentCST.cc:(.text+0x28e6): undefined reference to `TMatrixT<double>::InvertFast(double*)'
ComponentCST.cc:(.text+0x28fc): undefined reference to `TMatrixT<double>::TMatrixT(int, int)'
ComponentCST.cc:(.text+0x295b): undefined reference to `TMatrixT<double> operator*<double>(double, TMatrixT<double> const&)'
ComponentCST.cc:(.text+0x2971): undefined reference to `TMatrixT<double> operator*<double>(TMatrixT<double> const&, TMatrixT<double> const&)'
ComponentCST.cc:(.text+0x29c1): undefined reference to `TMatrixT<double> operator*<double>(double, TMatrixT<double> const&)'
ComponentCST.cc:(.text+0x29d7): undefined reference to `TMatrixT<double> operator*<double>(TMatrixT<double> const&, TMatrixT<double> const&)'
ComponentCST.cc:(.text+0x2a27): undefined reference to `TMatrixT<double> operator*<double>(double, TMatrixT<double> const&)'
ComponentCST.cc:(.text+0x2a3d): undefined reference to `TMatrixT<double> operator*<double>(TMatrixT<double> const&, TMatrixT<double> const&)'
ComponentCST.cc:(.text+0x2a8d): undefined reference to `TMatrixT<double> operator*<double>(double, TMatrixT<double> const&)'
ComponentCST.cc:(.text+0x2aa3): undefined reference to `TMatrixT<double> operator*<double>(TMatrixT<double> const&, TMatrixT<double> const&)'
ComponentCST.cc:(.text+0x2af3): undefined reference to `TMatrixT<double> operator*<double>(double, TMatrixT<double> const&)'
ComponentCST.cc:(.text+0x2b09): undefined reference to `TMatrixT<double> operator*<double>(TMatrixT<double> const&, TMatrixT<double> const&)'
ComponentCST.cc:(.text+0x2b59): undefined reference to `TMatrixT<double> operator*<double>(double, TMatrixT<double> const&)'
ComponentCST.cc:(.text+0x2b6f): undefined reference to `TMatrixT<double> operator*<double>(TMatrixT<double> const&, TMatrixT<double> const&)'
ComponentCST.cc:(.text+0x2bbf): undefined reference to `TMatrixT<double> operator*<double>(double, TMatrixT<double> const&)'
ComponentCST.cc:(.text+0x2bd5): undefined reference to `TMatrixT<double> operator*<double>(TMatrixT<double> const&, TMatrixT<double> const&)'
ComponentCST.cc:(.text+0x2c26): undefined reference to `TMatrixT<double> operator*<double>(double, TMatrixT<double> const&)'
ComponentCST.cc:(.text+0x2c3c): undefined reference to `TMatrixT<double> operator*<double>(TMatrixT<double> const&, TMatrixT<double> const&)'
ComponentCST.cc:(.text+0x2c56): undefined reference to `TMatrixT<double> operator+<double>(TMatrixT<double> const&, TMatrixT<double> const&)'
ComponentCST.cc:(.text+0x2c70): undefined reference to `TMatrixT<double> operator+<double>(TMatrixT<double> const&, TMatrixT<double> const&)'
ComponentCST.cc:(.text+0x2c8a): undefined reference to `TMatrixT<double> operator+<double>(TMatrixT<double> const&, TMatrixT<double> const&)'
ComponentCST.cc:(.text+0x2ca4): undefined reference to `TMatrixT<double> operator+<double>(TMatrixT<double> const&, TMatrixT<double> const&)'
ComponentCST.cc:(.text+0x2cbe): undefined reference to `TMatrixT<double> operator+<double>(TMatrixT<double> const&, TMatrixT<double> const&)'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):ComponentCST.cc:(.text+0x2cd8): more undefined references to `TMatrixT<double> operator+<double>(TMatrixT<double> const&, TMatrixT<double> const&)' follow
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o): In function `Garfield::ComponentCST::WeightingField(double, double, double, double&, double&, double&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
ComponentCST.cc:(.text+0x2d05): undefined reference to `TMatrixT<double>::operator=(TMatrixT<double> const&)'
ComponentCST.cc:(.text+0x34de): undefined reference to `TMatrixT<double>::Delete_m(int, double*&)'
ComponentCST.cc:(.text+0x3503): undefined reference to `TMatrixT<double>::Delete_m(int, double*&)'
ComponentCST.cc:(.text+0x3528): undefined reference to `TMatrixT<double>::Delete_m(int, double*&)'
ComponentCST.cc:(.text+0x354d): undefined reference to `TMatrixT<double>::Delete_m(int, double*&)'
ComponentCST.cc:(.text+0x3572): undefined reference to `TMatrixT<double>::Delete_m(int, double*&)'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):ComponentCST.cc:(.text+0x3597): more undefined references to `TMatrixT<double>::Delete_m(int, double*&)' follow
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o): In function `Garfield::ComponentCST::ElectricField(double, double, double, double&, double&, double&, double&, Garfield::Medium*&, int&)':
ComponentCST.cc:(.text+0x3d96): undefined reference to `TMatrixT<double>::TMatrixT(int, int)'
ComponentCST.cc:(.text+0x3fc3): undefined reference to `TMatrixT<double>::TMatrixT(int, int)'
ComponentCST.cc:(.text+0x45ef): undefined reference to `TMatrixTBase<double>::Print(char const*) const'
ComponentCST.cc:(.text+0x4a6c): undefined reference to `TMatrixT<double>::Delete_m(int, double*&)'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o): In function `TMatrixTBase<double>::IsA() const':
ComponentCST.cc:(.text._ZNK12TMatrixTBaseIdE3IsAEv[TMatrixTBase<double>::IsA() const]+0xc): undefined reference to `TMatrixTBase<double>::Class()'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o): In function `TMatrixT<double>::IsA() const':
ComponentCST.cc:(.text._ZNK8TMatrixTIdE3IsAEv[TMatrixT<double>::IsA() const]+0xc): undefined reference to `TMatrixT<double>::Class()'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o): In function `TMatrixT<double>::Clear(char const*)':
ComponentCST.cc:(.text._ZN8TMatrixTIdE5ClearEPKc[TMatrixT<double>::Clear(char const*)]+0x43): undefined reference to `TMatrixT<double>::Delete_m(int, double*&)'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o): In function `TMatrixT<double>::~TMatrixT()':
ComponentCST.cc:(.text._ZN8TMatrixTIdED2Ev[_ZN8TMatrixTIdED5Ev]+0x63): undefined reference to `TMatrixT<double>::Delete_m(int, double*&)'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o): In function `TMatrixT<double>::~TMatrixT()':
ComponentCST.cc:(.text._ZN8TMatrixTIdED0Ev[_ZN8TMatrixTIdED5Ev]+0x6b): undefined reference to `TMatrixT<double>::Delete_m(int, double*&)'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV8TMatrixTIdE[vtable for TMatrixT<double>]+0x70): undefined reference to `TMatrixTBase<double>::Draw(char const*)'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV8TMatrixTIdE[vtable for TMatrixT<double>]+0x150): undefined reference to `TMatrixTBase<double>::Print(char const*) const'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV8TMatrixTIdE[vtable for TMatrixT<double>]+0x1d0): undefined reference to `TMatrixT<double>::ShowMembers(TMemberInspector&)'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV8TMatrixTIdE[vtable for TMatrixT<double>]+0x1d8): undefined reference to `TMatrixT<double>::Streamer(TBuffer&)'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV8TMatrixTIdE[vtable for TMatrixT<double>]+0x220): undefined reference to `TMatrixTBase<double>::SetMatrixArray(double const*, char const*)'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV8TMatrixTIdE[vtable for TMatrixT<double>]+0x228): undefined reference to `TMatrixTBase<double>::IsSymmetric() const'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV8TMatrixTIdE[vtable for TMatrixT<double>]+0x230): undefined reference to `TMatrixT<double>::GetSub(int, int, int, int, TMatrixTBase<double>&, char const*) const'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV8TMatrixTIdE[vtable for TMatrixT<double>]+0x238): undefined reference to `TMatrixT<double>::SetSub(int, int, TMatrixTBase<double> const&)'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV8TMatrixTIdE[vtable for TMatrixT<double>]+0x240): undefined reference to `TMatrixTBase<double>::GetMatrix2Array(double*, char const*) const'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV8TMatrixTIdE[vtable for TMatrixT<double>]+0x248): undefined reference to `TMatrixTBase<double>::InsertRow(int, int, double const*, int)'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV8TMatrixTIdE[vtable for TMatrixT<double>]+0x250): undefined reference to `TMatrixTBase<double>::ExtractRow(int, int, double*, int) const'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV8TMatrixTIdE[vtable for TMatrixT<double>]+0x258): undefined reference to `TMatrixTBase<double>::Shift(int, int)'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV8TMatrixTIdE[vtable for TMatrixT<double>]+0x260): undefined reference to `TMatrixT<double>::ResizeTo(int, int, int)'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV8TMatrixTIdE[vtable for TMatrixT<double>]+0x268): undefined reference to `TMatrixT<double>::ResizeTo(int, int, int, int, int)'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV8TMatrixTIdE[vtable for TMatrixT<double>]+0x270): undefined reference to `TMatrixT<double>::Determinant() const'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV8TMatrixTIdE[vtable for TMatrixT<double>]+0x278): undefined reference to `TMatrixT<double>::Determinant(double&, double&) const'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV8TMatrixTIdE[vtable for TMatrixT<double>]+0x280): undefined reference to `TMatrixTBase<double>::Zero()'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV8TMatrixTIdE[vtable for TMatrixT<double>]+0x288): undefined reference to `TMatrixTBase<double>::Abs()'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV8TMatrixTIdE[vtable for TMatrixT<double>]+0x290): undefined reference to `TMatrixTBase<double>::Sqr()'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV8TMatrixTIdE[vtable for TMatrixT<double>]+0x298): undefined reference to `TMatrixTBase<double>::Sqrt()'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV8TMatrixTIdE[vtable for TMatrixT<double>]+0x2a0): undefined reference to `TMatrixTBase<double>::UnitMatrix()'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV8TMatrixTIdE[vtable for TMatrixT<double>]+0x2a8): undefined reference to `TMatrixTBase<double>::NormByDiag(TVectorT<double> const&, char const*)'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV8TMatrixTIdE[vtable for TMatrixT<double>]+0x2b0): undefined reference to `TMatrixTBase<double>::RowNorm() const'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV8TMatrixTIdE[vtable for TMatrixT<double>]+0x2b8): undefined reference to `TMatrixTBase<double>::ColNorm() const'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV8TMatrixTIdE[vtable for TMatrixT<double>]+0x2c0): undefined reference to `TMatrixTBase<double>::E2Norm() const'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV8TMatrixTIdE[vtable for TMatrixT<double>]+0x2c8): undefined reference to `TMatrixTBase<double>::NonZeros() const'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV8TMatrixTIdE[vtable for TMatrixT<double>]+0x2d0): undefined reference to `TMatrixTBase<double>::Sum() const'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV8TMatrixTIdE[vtable for TMatrixT<double>]+0x2d8): undefined reference to `TMatrixTBase<double>::Min() const'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV8TMatrixTIdE[vtable for TMatrixT<double>]+0x2e0): undefined reference to `TMatrixTBase<double>::Max() const'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV8TMatrixTIdE[vtable for TMatrixT<double>]+0x2f8): undefined reference to `TMatrixTBase<double>::Apply(TElementActionT<double> const&)'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV8TMatrixTIdE[vtable for TMatrixT<double>]+0x300): undefined reference to `TMatrixTBase<double>::Apply(TElementPosActionT<double> const&)'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV8TMatrixTIdE[vtable for TMatrixT<double>]+0x308): undefined reference to `TMatrixTBase<double>::Randomize(double, double, double&)'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV12TMatrixTBaseIdE[vtable for TMatrixTBase<double>]+0x70): undefined reference to `TMatrixTBase<double>::Draw(char const*)'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV12TMatrixTBaseIdE[vtable for TMatrixTBase<double>]+0x150): undefined reference to `TMatrixTBase<double>::Print(char const*) const'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV12TMatrixTBaseIdE[vtable for TMatrixTBase<double>]+0x1d0): undefined reference to `TMatrixTBase<double>::ShowMembers(TMemberInspector&)'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV12TMatrixTBaseIdE[vtable for TMatrixTBase<double>]+0x1d8): undefined reference to `TMatrixTBase<double>::Streamer(TBuffer&)'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV12TMatrixTBaseIdE[vtable for TMatrixTBase<double>]+0x220): undefined reference to `TMatrixTBase<double>::SetMatrixArray(double const*, char const*)'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV12TMatrixTBaseIdE[vtable for TMatrixTBase<double>]+0x228): undefined reference to `TMatrixTBase<double>::IsSymmetric() const'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV12TMatrixTBaseIdE[vtable for TMatrixTBase<double>]+0x240): undefined reference to `TMatrixTBase<double>::GetMatrix2Array(double*, char const*) const'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV12TMatrixTBaseIdE[vtable for TMatrixTBase<double>]+0x248): undefined reference to `TMatrixTBase<double>::InsertRow(int, int, double const*, int)'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV12TMatrixTBaseIdE[vtable for TMatrixTBase<double>]+0x250): undefined reference to `TMatrixTBase<double>::ExtractRow(int, int, double*, int) const'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV12TMatrixTBaseIdE[vtable for TMatrixTBase<double>]+0x258): undefined reference to `TMatrixTBase<double>::Shift(int, int)'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV12TMatrixTBaseIdE[vtable for TMatrixTBase<double>]+0x280): undefined reference to `TMatrixTBase<double>::Zero()'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV12TMatrixTBaseIdE[vtable for TMatrixTBase<double>]+0x288): undefined reference to `TMatrixTBase<double>::Abs()'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV12TMatrixTBaseIdE[vtable for TMatrixTBase<double>]+0x290): undefined reference to `TMatrixTBase<double>::Sqr()'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV12TMatrixTBaseIdE[vtable for TMatrixTBase<double>]+0x298): undefined reference to `TMatrixTBase<double>::Sqrt()'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV12TMatrixTBaseIdE[vtable for TMatrixTBase<double>]+0x2a0): undefined reference to `TMatrixTBase<double>::UnitMatrix()'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV12TMatrixTBaseIdE[vtable for TMatrixTBase<double>]+0x2a8): undefined reference to `TMatrixTBase<double>::NormByDiag(TVectorT<double> const&, char const*)'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV12TMatrixTBaseIdE[vtable for TMatrixTBase<double>]+0x2b0): undefined reference to `TMatrixTBase<double>::RowNorm() const'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV12TMatrixTBaseIdE[vtable for TMatrixTBase<double>]+0x2b8): undefined reference to `TMatrixTBase<double>::ColNorm() const'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV12TMatrixTBaseIdE[vtable for TMatrixTBase<double>]+0x2c0): undefined reference to `TMatrixTBase<double>::E2Norm() const'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV12TMatrixTBaseIdE[vtable for TMatrixTBase<double>]+0x2c8): undefined reference to `TMatrixTBase<double>::NonZeros() const'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV12TMatrixTBaseIdE[vtable for TMatrixTBase<double>]+0x2d0): undefined reference to `TMatrixTBase<double>::Sum() const'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV12TMatrixTBaseIdE[vtable for TMatrixTBase<double>]+0x2d8): undefined reference to `TMatrixTBase<double>::Min() const'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV12TMatrixTBaseIdE[vtable for TMatrixTBase<double>]+0x2e0): undefined reference to `TMatrixTBase<double>::Max() const'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV12TMatrixTBaseIdE[vtable for TMatrixTBase<double>]+0x2f8): undefined reference to `TMatrixTBase<double>::Apply(TElementActionT<double> const&)'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV12TMatrixTBaseIdE[vtable for TMatrixTBase<double>]+0x300): undefined reference to `TMatrixTBase<double>::Apply(TElementPosActionT<double> const&)'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentCST.o):(.data.rel.ro._ZTV12TMatrixTBaseIdE[vtable for TMatrixTBase<double>]+0x308): undefined reference to `TMatrixTBase<double>::Randomize(double, double, double&)'
/home/molina/Programs/garfield/Library/libGarfield.a(ComponentFieldMap.o): In function `Garfield::ComponentFieldMap::JacobianCube(int, double, double, double, TMatrixT<double>*&, std::vector<TMatrixT<double>*, std::allocator<TMatrixT<double>*> >&)':
ComponentFieldMap.cc:(.text+0x11780): undefined reference to `TMatrixT<double>::TMatrixT(int, int, double const*, char const*)'
.....
....
...

GeometryRoot.cc:(.text._ZN8Garfield12GeometryRoot8IsInsideEddd[Garfield::GeometryRoot::IsInside(double, double, double)]+0x2d): undefined reference to `TGeoManager::GetCurrentNavigator() const'
GeometryRoot.cc:(.text._ZN8Garfield12GeometryRoot8IsInsideEddd[Garfield::GeometryRoot::IsInside(double, double, double)]+0x57): undefined reference to `TGeoManager::GetCurrentNavigator() const'
/home/molina/Programs/garfield/Library/libGarfield.a(Medium.o): In function `Garfield::Medium::GetElectronMomentum(double, double&, double&, double&, int&)':
Medium.cc:(.text+0x17f): undefined reference to `TRandom3::Rndm(int)'
Medium.cc:(.text+0x1c6): undefined reference to `TRandom3::Rndm(int)'
/home/molina/Programs/garfield/Library/libGarfield.a(Medium.o): In function `Garfield::Medium::GetElectronCollision(double, int&, int&, double&, double&, double&, double&, int&, int&, int&)':
Medium.cc:(.text+0x723): undefined reference to `TRandom3::Rndm(int)'
Medium.cc:(.text+0x76a): undefined reference to `TRandom3::Rndm(int)'
/home/molina/Programs/garfield/Library/libGarfield.a(MediumMagboltz.o): In function `Garfield::MediumMagboltz::ComputeDeexcitationInternal(int, int&)':
MediumMagboltz.cc:(.text+0x3f4b): undefined reference to `TRandom3::Rndm(int)'
/home/molina/Programs/garfield/Library/libGarfield.a(MediumMagboltz.o):MediumMagboltz.cc:(.text+0x3f66): more undefined references to `TRandom3::Rndm(int)' follow
/home/molina/Programs/garfield/Library/libGarfield.a(MediumMagboltz.o): In function `Garfield::MediumMagboltz::ComputePhotonCollisionTable(bool)':
MediumMagboltz.cc:(.text+0x55d4): undefined reference to `TMath::Voigt(double, double, double, int)'
/home/molina/Programs/garfield/Library/libGarfield.a(MediumMagboltz.o): In function `Garfield::MediumMagboltz::GetPhotonCollisionRate(double)':
MediumMagboltz.cc:(.text+0x220cf): undefined reference to `TMath::Voigt(double, double, double, int)'
/home/molina/Programs/garfield/Library/libGarfield.a(MediumMagboltz.o): In function `Garfield::MediumMagboltz::GetPhotonCollision(double, int&, int&, double&, double&, int&, double&)':
MediumMagboltz.cc:(.text+0x23588): undefined reference to `TRandom3::Rndm(int)'
MediumMagboltz.cc:(.text+0x23634): undefined reference to `TRandom3::Rndm(int)'
MediumMagboltz.cc:(.text+0x237bd): undefined reference to `TMath::Voigt(double, double, double, int)'
MediumMagboltz.cc:(.text+0x2395b): undefined reference to `TRandom3::Rndm(int)'
/home/molina/Programs/garfield/Library/libGarfield.a(MediumMagboltz.o): In function `Garfield::MediumMagboltz::GetElectronCollision(double, int&, int&, double&, double&, double&, double&, int&, int&, int&)':
MediumMagboltz.cc:(.text+0x23cf7): undefined reference to `TRandom3::Rndm(int)'
MediumMagboltz.cc:(.text+0x23e6a): undefined reference to `TRandom3::Rndm(int)'
MediumMagboltz.cc:(.text+0x2417e): undefined reference to `TRandom3::Rndm(int)'
MediumMagboltz.cc:(.text+0x2439e): undefined reference to `TRandom3::Rndm(int)'
/home/molina/Programs/garfield/Library/libGarfield.a(MediumMagboltz.o):MediumMagboltz.cc:(.text+0x24498): more undefined references to `TRandom3::Rndm(int)' follow
/home/molina/Programs/garfield/Library/libGarfield.a(RandomEngineRoot.o): In function `Garfield::RandomEngineRoot::~RandomEngineRoot()':
RandomEngineRoot.cc:(.text+0x25): undefined reference to `TRandom3::~TRandom3()'
/home/molina/Programs/garfield/Library/libGarfield.a(RandomEngineRoot.o): In function `Garfield::RandomEngineRoot::Seed(unsigned int)':
RandomEngineRoot.cc:(.text+0xa5): undefined reference to `TRandom3::SetSeed(unsigned int)'
/home/molina/Programs/garfield/Library/libGarfield.a(RandomEngineRoot.o): In function `Garfield::RandomEngineRoot::RandomEngineRoot()':
RandomEngineRoot.cc:(.text+0x139): undefined reference to `TRandom3::TRandom3(unsigned int)'
RandomEngineRoot.cc:(.text+0x1d2): undefined reference to `TRandom3::~TRandom3()'
/home/molina/Programs/garfield/Library/libGarfield.a(RandomEngineRoot.o): In function `Garfield::RandomEngineRoot::Draw()':
RandomEngineRoot.cc:(.text._ZN8Garfield16RandomEngineRoot4DrawEv[Garfield::RandomEngineRoot::Draw()]+0x12): undefined reference to `TRandom3::Rndm(int)'
/home/molina/Programs/garfield/Library/libGarfield.a(TrackBichsel.o): In function `Garfield::TrackBichsel::GetCluster(double&, double&, double&, double&, int&, double&, double&)':
TrackBichsel.cc:(.text+0x76e): undefined reference to `TRandom3::Rndm(int)'
TrackBichsel.cc:(.text+0x78f): undefined reference to `TRandom3::Rndm(int)'
TrackBichsel.cc:(.text+0x941): undefined reference to `TRandom3::Rndm(int)'
/home/molina/Programs/garfield/Library/libGarfield.a(TrackBichsel.o): In function `Garfield::TrackBichsel::NewTrack(double, double, double, double, double, double, double)':
TrackBichsel.cc:(.text+0x243f): undefined reference to `TRandom3::Rndm(int)'
/home/molina/Programs/garfield/Library/libGarfield.a(TrackBichsel.o):TrackBichsel.cc:(.text+0x2474): more undefined references to `TRandom3::Rndm(int)' follow
/home/molina/Programs/garfield/Library/libGarfield.a(ViewCell.o): In function `Garfield::ViewCell::PlotWire(double, double, double, int)':
ViewCell.cc:(.text+0x21f9): undefined reference to `TMarker::TMarker(double, double, int)'
ViewCell.cc:(.text+0x228b): undefined reference to `TEllipse::TEllipse(double, double, double, double, double, double, double)'
/home/molina/Programs/garfield/Library/libGarfield.a(ViewCell.o): In function `Garfield::ViewCell::PlotLine(double, double, double, double)':
ViewCell.cc:(.text+0x2318): undefined reference to `TLine::TLine(double, double, double, double)'
/home/molina/Programs/garfield/Library/libGarfield.a(ViewCell.o): In function `Garfield::ViewCell::PlotTube(double, double, double, int)':
ViewCell.cc:(.text+0x239a): undefined reference to `TPolyLine::TPolyLine(int, char const*)'
ViewCell.cc:(.text+0x245c): undefined reference to `TEllipse::TEllipse(double, double, double, double, double, double, double)'
/home/molina/Programs/garfield/Library/libGarfield.a(ViewCell.o): In function `Garfield::ViewCell::Plot(bool)':
ViewCell.cc:(.text+0x3c91): undefined reference to `TCanvas::TCanvas(bool)'
/home/molina/Programs/garfield/Library/libGarfield.a(ViewDrift.o): In function `Garfield::ViewDrift::Plot()':
ViewDrift.cc:(.text+0x7d0): undefined reference to `TPolyMarker3D::TPolyMarker3D(int, short, char const*)'
ViewDrift.cc:(.text+0x7d7): undefined reference to `vtable for TPointSet3D'
ViewDrift.cc:(.text+0x92f): undefined reference to `TPolyMarker3D::TPolyMarker3D(int, short, char const*)'
ViewDrift.cc:(.text+0xa7f): undefined reference to `TPolyMarker3D::TPolyMarker3D(int, short, char const*)'
ViewDrift.cc:(.text+0xc05): undefined reference to `TCanvas::TCanvas(bool)'
ViewDrift.cc:(.text+0xcd0): undefined reference to `TView::CreateView(int, double const*, double const*)'
ViewDrift.cc:(.text+0xd1e): undefined reference to `TPolyMarker3D::~TPolyMarker3D()'
ViewDrift.cc:(.text+0xd71): undefined reference to `TPolyMarker3D::~TPolyMarker3D()'
ViewDrift.cc:(.text+0xdac): undefined reference to `TPolyMarker3D::~TPolyMarker3D()'
/home/molina/Programs/garfield/Library/libGarfield.a(ViewDrift.o): In function `Garfield::ViewDrift::NewPhotonTrack(double, double, double, double, double, double)':
ViewDrift.cc:(.text+0x1370): undefined reference to `TPolyLine3D::TPolyLine3D(int, char const*)'
ViewDrift.cc:(.text+0x139c): undefined reference to `TPolyLine3D::SetNextPoint(double, double, double)'
ViewDrift.cc:(.text+0x13b7): undefined reference to `TPolyLine3D::SetNextPoint(double, double, double)'
ViewDrift.cc:(.text+0x13d5): undefined reference to `TPolyLine3D::TPolyLine3D(TPolyLine3D const&)'
ViewDrift.cc:(.text+0x13f7): undefined reference to `TPolyLine3D::~TPolyLine3D()'
ViewDrift.cc:(.text+0x144d): undefined reference to `TPolyLine3D::~TPolyLine3D()'
/home/molina/Programs/garfield/Library/libGarfield.a(ViewDrift.o): In function `Garfield::ViewDrift::NewElectronDriftLine(int, int&, double, double, double)':
ViewDrift.cc:(.text+0x14d8): undefined reference to `TPolyLine3D::TPolyLine3D(int, char const*)'
ViewDrift.cc:(.text+0x1500): undefined reference to `TPolyLine3D::SetPoint(int, double, double, double)'
ViewDrift.cc:(.text+0x1526): undefined reference to `TPolyLine3D::TPolyLine3D(TPolyLine3D const&)'
ViewDrift.cc:(.text+0x1541): undefined reference to `TPolyLine3D::~TPolyLine3D()'
ViewDrift.cc:(.text+0x158d): undefined reference to `TPolyLine3D::TPolyLine3D(int, char const*)'
ViewDrift.cc:(.text+0x15bb): undefined reference to `TPolyLine3D::SetPoint(int, double, double, double)'
ViewDrift.cc:(.text+0x15dc): undefined reference to `TPolyLine3D::TPolyLine3D(TPolyLine3D const&)'
ViewDrift.cc:(.text+0x15fa): undefined reference to `TPolyLine3D::~TPolyLine3D()'
ViewDrift.cc:(.text+0x1668): undefined reference to `TPolyLine3D::~TPolyLine3D()'
ViewDrift.cc:(.text+0x167f): undefined reference to `TPolyLine3D::~TPolyLine3D()'
/home/molina/Programs/garfield/Library/libGarfield.a(ViewDrift.o): In function `Garfield::ViewDrift::NewIonDriftLine(int, int&, double, double, double)':
ViewDrift.cc:(.text+0x1708): undefined reference to `TPolyLine3D::TPolyLine3D(int, char const*)'
ViewDrift.cc:(.text+0x1730): undefined reference to `TPolyLine3D::SetPoint(int, double, double, double)'
ViewDrift.cc:(.text+0x1756): undefined reference to `TPolyLine3D::TPolyLine3D(TPolyLine3D const&)'
ViewDrift.cc:(.text+0x1771): undefined reference to `TPolyLine3D::~TPolyLine3D()'
ViewDrift.cc:(.text+0x17bd): undefined reference to `TPolyLine3D::TPolyLine3D(int, char const*)'
ViewDrift.cc:(.text+0x17eb): undefined reference to `TPolyLine3D::SetPoint(int, double, double, double)'
ViewDrift.cc:(.text+0x180c): undefined reference to `TPolyLine3D::TPolyLine3D(TPolyLine3D const&)'
ViewDrift.cc:(.text+0x182a): undefined reference to `TPolyLine3D::~TPolyLine3D()'
ViewDrift.cc:(.text+0x1898): undefined reference to `TPolyLine3D::~TPolyLine3D()'
ViewDrift.cc:(.text+0x18af): undefined reference to `TPolyLine3D::~TPolyLine3D()'
/home/molina/Programs/garfield/Library/libGarfield.a(ViewDrift.o): In function `Garfield::ViewDrift::NewHoleDriftLine(int, int&, double, double, double)':
ViewDrift.cc:(.text+0x1938): undefined reference to `TPolyLine3D::TPolyLine3D(int, char const*)'
ViewDrift.cc:(.text+0x1960): undefined reference to `TPolyLine3D::SetPoint(int, double, double, double)'
ViewDrift.cc:(.text+0x1986): undefined reference to `TPolyLine3D::TPolyLine3D(TPolyLine3D const&)'
ViewDrift.cc:(.text+0x19a1): undefined reference to `TPolyLine3D::~TPolyLine3D()'
ViewDrift.cc:(.text+0x19ed): undefined reference to `TPolyLine3D::TPolyLine3D(int, char const*)'
ViewDrift.cc:(.text+0x1a1b): undefined reference to `TPolyLine3D::SetPoint(int, double, double, double)'
ViewDrift.cc:(.text+0x1a3c): undefined reference to `TPolyLine3D::TPolyLine3D(TPolyLine3D const&)'
ViewDrift.cc:(.text+0x1a5a): undefined reference to `TPolyLine3D::~TPolyLine3D()'
ViewDrift.cc:(.text+0x1ac8): undefined reference to `TPolyLine3D::~TPolyLine3D()'
ViewDrift.cc:(.text+0x1adf): undefined reference to `TPolyLine3D::~TPolyLine3D()'
/home/molina/Programs/garfield/Library/libGarfield.a(ViewDrift.o): In function `Garfield::ViewDrift::NewChargedParticleTrack(int, int&, double, double, double)':
ViewDrift.cc:(.text+0x1b67): undefined reference to `TPolyMarker3D::TPolyMarker3D(int, short, char const*)'
ViewDrift.cc:(.text+0x1b6e): undefined reference to `vtable for TPointSet3D'
ViewDrift.cc:(.text+0x1c28): undefined reference to `TPolyMarker3D::SetPoint(int, double, double, double)'
ViewDrift.cc:(.text+0x1c51): undefined reference to `TPointSet3D::TPointSet3D(TPointSet3D const&)'
ViewDrift.cc:(.text+0x1c71): undefined reference to `TPointSet3D::~TPointSet3D()'
ViewDrift.cc:(.text+0x1cbd): undefined reference to `TPolyMarker3D::TPolyMarker3D(int, short, char const*)'
ViewDrift.cc:(.text+0x1cc4): undefined reference to `vtable for TPointSet3D'
ViewDrift.cc:(.text+0x1d81): undefined reference to `TPolyMarker3D::SetPoint(int, double, double, double)'
ViewDrift.cc:(.text+0x1da2): undefined reference to `TPointSet3D::TPointSet3D(TPointSet3D const&)'
ViewDrift.cc:(.text+0x1dc2): undefined reference to `TPointSet3D::~TPointSet3D()'
ViewDrift.cc:(.text+0x1e60): undefined reference to `TPolyMarker3D::~TPolyMarker3D()'
ViewDrift.cc:(.text+0x1e77): undefined reference to `TPointSet3D::~TPointSet3D()'
ViewDrift.cc:(.text+0x1e8e): undefined reference to `TPointSet3D::~TPointSet3D()'
ViewDrift.cc:(.text+0x1eda): undefined reference to `TPolyMarker3D::~TPolyMarker3D()'
/home/molina/Programs/garfield/Library/libGarfield.a(ViewDrift.o): In function `Garfield::ViewDrift::SetTrackPoint(int, int, double, double, double)':
ViewDrift.cc:(.text+0x55f): undefined reference to `TPolyMarker3D::SetPoint(int, double, double, double)'
/home/molina/Programs/garfield/Library/libGarfield.a(ViewDrift.o): In function `std::vector<TPolyLine3D, std::allocator<TPolyLine3D> >::_M_insert_aux(__gnu_cxx::__normal_iterator<TPolyLine3D*, std::vector<TPolyLine3D, std::allocator<TPolyLine3D> > >, TPolyLine3D const&)':
ViewDrift.cc:(.text._ZNSt6vectorI11TPolyLine3DSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_[std::vector<TPolyLine3D, std::allocator<TPolyLine3D> >::_M_insert_aux(__gnu_cxx::__normal_iterator<TPolyLine3D*, std::vector<TPolyLine3D, std::allocator<TPolyLine3D> > >, TPolyLine3D const&)]+0x4a): undefined reference to `TPolyLine3D::TPolyLine3D(TPolyLine3D const&)'
ViewDrift.cc:(.text._ZNSt6vectorI11TPolyLine3DSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_[std::vector<TPolyLine3D, std::allocator<TPolyLine3D> >::_M_insert_aux(__gnu_cxx::__normal_iterator<TPolyLine3D*, std::vector<TPolyLine3D, std::allocator<TPolyLine3D> > >, TPolyLine3D const&)]+0x65): undefined reference to `TPolyLine3D::TPolyLine3D(TPolyLine3D const&)'
ViewDrift.cc:(.text._ZNSt6vectorI11TPolyLine3DSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_[std::vector<TPolyLine3D, std::allocator<TPolyLine3D> >::_M_insert_aux(__gnu_cxx::__normal_iterator<TPolyLine3D*, std::vector<TPolyLine3D, std::allocator<TPolyLine3D> > >, TPolyLine3D const&)]+0xa7): undefined reference to `TPolyLine3D::operator=(TPolyLine3D const&)'
ViewDrift.cc:(.text._ZNSt6vectorI11TPolyLine3DSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_[std::vector<TPolyLine3D, std::allocator<TPolyLine3D> >::_M_insert_aux(__gnu_cxx::__normal_iterator<TPolyLine3D*, std::vector<TPolyLine3D, std::allocator<TPolyLine3D> > >, TPolyLine3D const&)]+0xbc): undefined reference to `TPolyLine3D::operator=(TPolyLine3D const&)'
ViewDrift.cc:(.text._ZNSt6vectorI11TPolyLine3DSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_[std::vector<TPolyLine3D, std::allocator<TPolyLine3D> >::_M_insert_aux(__gnu_cxx::__normal_iterator<TPolyLine3D*, std::vector<TPolyLine3D, std::allocator<TPolyLine3D> > >, TPolyLine3D const&)]+0xc8): undefined reference to `TPolyLine3D::~TPolyLine3D()'
ViewDrift.cc:(.text._ZNSt6vectorI11TPolyLine3DSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_[std::vector<TPolyLine3D, std::allocator<TPolyLine3D> >::_M_insert_aux(__gnu_cxx::__normal_iterator<TPolyLine3D*, std::vector<TPolyLine3D, std::allocator<TPolyLine3D> > >, TPolyLine3D const&)]+0x182): undefined reference to `TPolyLine3D::TPolyLine3D(TPolyLine3D const&)'
ViewDrift.cc:(.text._ZNSt6vectorI11TPolyLine3DSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_[std::vector<TPolyLine3D, std::allocator<TPolyLine3D> >::_M_insert_aux(__gnu_cxx::__normal_iterator<TPolyLine3D*, std::vector<TPolyLine3D, std::allocator<TPolyLine3D> > >, TPolyLine3D const&)]+0x1ac): undefined reference to `TPolyLine3D::TPolyLine3D(TPolyLine3D const&)'
ViewDrift.cc:(



...

 std::allocator<TF1> > >, TF1 const&)]+0xd3): undefined reference to `TF1::~TF1()'
ViewMedium.cc:(.text._ZNSt6vectorI3TF1SaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_[std::vector<TF1, std::allocator<TF1> >::_M_insert_aux(__gnu_cxx::__normal_iterator<TF1*, std::vector<TF1, std::allocator<TF1> > >, TF1 const&)]+0x186): undefined reference to `TF1::TF1(TF1 const&)'
ViewMedium.cc:(.text._ZNSt6vectorI3TF1SaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_[std::vector<TF1, std::allocator<TF1> >::_M_insert_aux(__gnu_cxx::__normal_iterator<TF1*, std::vector<TF1, std::allocator<TF1> > >, TF1 const&)]+0x1ac): undefined reference to `TF1::TF1(TF1 const&)'
ViewMedium.cc:(.text._ZNSt6vectorI3TF1SaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_[std::vector<TF1, std::allocator<TF1> >::_M_insert_aux(__gnu_cxx::__normal_iterator<TF1*, std::vector<TF1, std::allocator<TF1> > >, TF1 const&)]+0x1ec): undefined reference to `TF1::TF1(TF1 const&)'
ViewMedium.cc:(.text._ZNSt6vectorI3TF1SaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_[std::vector<TF1, std::allocator<TF1> >::_M_insert_aux(__gnu_cxx::__normal_iterator<TF1*, std::vector<TF1, std::allocator<TF1> > >, TF1 const&)]+0x2d2): undefined reference to `TF1::~TF1()'
/home/molina/Programs/garfield/Library/libGarfield.a(ViewMedium.o): In function `std::vector<TGraph, std::allocator<TGraph> >::_M_insert_aux(__gnu_cxx::__normal_iterator<TGraph*, std::vector<TGraph, std::allocator<TGraph> > >, TGraph const&)':
ViewMedium.cc:(.text._ZNSt6vectorI6TGraphSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_[std::vector<TGraph, std::allocator<TGraph> >::_M_insert_aux(__gnu_cxx::__normal_iterator<TGraph*, std::vector<TGraph, std::allocator<TGraph> > >, TGraph const&)]+0x4d): undefined reference to `TGraph::TGraph(TGraph const&)'
ViewMedium.cc:(.text._ZNSt6vectorI6TGraphSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_[std::vector<TGraph, std::allocator<TGraph> >::_M_insert_aux(__gnu_cxx::__normal_iterator<TGraph*, std::vector<TGraph, std::allocator<TGraph> > >, TGraph const&)]+0x6a): undefined reference to `TGraph::TGraph(TGraph const&)'
ViewMedium.cc:(.text._ZNSt6vectorI6TGraphSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_[std::vector<TGraph, std::allocator<TGraph> >::_M_insert_aux(__gnu_cxx::__normal_iterator<TGraph*, std::vector<TGraph, std::allocator<TGraph> > >, TGraph const&)]+0xb2): undefined reference to `TGraph::operator=(TGraph const&)'
ViewMedium.cc:(.text._ZNSt6vectorI6TGraphSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_[std::vector<TGraph, std::allocator<TGraph> >::_M_insert_aux(__gnu_cxx::__normal_iterator<TGraph*, std::vector<TGraph, std::allocator<TGraph> > >, TGraph const&)]+0xc7): undefined reference to `TGraph::operator=(TGraph const&)'
ViewMedium.cc:(.text._ZNSt6vectorI6TGraphSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_[std::vector<TGraph, std::allocator<TGraph> >::_M_insert_aux(__gnu_cxx::__normal_iterator<TGraph*, std::vector<TGraph, std::allocator<TGraph> > >, TGraph const&)]+0xd3): undefined reference to `TGraph::~TGraph()'
ViewMedium.cc:(.text._ZNSt6vectorI6TGraphSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_[std::vector<TGraph, std::allocator<TGraph> >::_M_insert_aux(__gnu_cxx::__normal_iterator<TGraph*, std::vector<TGraph, std::allocator<TGraph> > >, TGraph const&)]+0x18d): undefined reference to `TGraph::TGraph(TGraph const&)'
ViewMedium.cc:(.text._ZNSt6vectorI6TGraphSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_[std::vector<TGraph, std::allocator<TGraph> >::_M_insert_aux(__gnu_cxx::__normal_iterator<TGraph*, std::vector<TGraph, std::allocator<TGraph> > >, TGraph const&)]+0x1b4): undefined reference to `TGraph::TGraph(TGraph const&)'
ViewMedium.cc:(.text._ZNSt6vectorI6TGraphSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_[std::vector<TGraph, std::allocator<TGraph> >::_M_insert_aux(__gnu_cxx::__normal_iterator<TGraph*, std::vector<TGraph, std::allocator<TGraph> > >, TGraph const&)]+0x1f4): undefined reference to `TGraph::TGraph(TGraph const&)'
ViewMedium.cc:(.text._ZNSt6vectorI6TGraphSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_[std::vector<TGraph, std::allocator<TGraph> >::_M_insert_aux(__gnu_cxx::__normal_iterator<TGraph*, std::vector<TGraph, std::allocator<TGraph> > >, TGraph const&)]+0x2ea): undefined reference to `TGraph::~TGraph()'
/home/molina/Programs/garfield/Library/libGarfield.a(ViewSignal.o): In function `Garfield::ViewSignal::PlotSignal(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
ViewSignal.cc:(.text+0x354): undefined reference to `TH1D::TH1D(char const*, char const*, int, double, double)'
ViewSignal.cc:(.text+0x38c): undefined reference to `TH1::GetXaxis() const'
ViewSignal.cc:(.text+0x3a9): undefined reference to `TH1::GetYaxis() const'
ViewSignal.cc:(.text+0x467): undefined reference to `TGraph::TGraph(int)'
ViewSignal.cc:(.text+0x591): undefined reference to `TCanvas::TCanvas(bool)'
/home/molina/Programs/garfield/Library/libGarfield.a(GarfieldDict.o): In function `G__GarfieldDict_168_0_1(G__value*, char const*, G__param*, int)':
GarfieldDict.C:(.text+0x68300): undefined reference to `TRandom3::Rndm(int)'
/home/molina/Programs/garfield/Library/libGarfield.a(GarfieldDict.o): In function `G__GarfieldDict_168_0_5(G__value*, char const*, G__param*, int)':
GarfieldDict.C:(.text+0x683f5): undefined reference to `TRandom3::Rndm(int)'
/home/molina/Programs/garfield/Library/libGarfield.a(GarfieldDict.o): In function `G__GarfieldDict_168_0_2(G__value*, char const*, G__param*, int)':
GarfieldDict.C:(.text+0x6b532): undefined reference to `TRandom3::Rndm(int)'
GarfieldDict.C:(.text+0x6b546): undefined reference to `TRandom3::Rndm(int)'
/home/molina/Programs/garfield/Library/libGarfield.a(GarfieldDict.o): In function `G__GarfieldDict_168_0_4(G__value*, char const*, G__param*, int)':
GarfieldDict.C:(.text+0x6b646): undefined reference to `TRandom3::Rndm(int)'
/home/molina/Programs/garfield/Library/libGarfield.a(GarfieldDict.o):GarfieldDict.C:(.text+0x6b66b): more undefined references to `TRandom3::Rndm(int)' follow
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `master.0.rm48_':
magboltz-8.97.f:(.text+0x290): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x2a6): undefined reference to `_gfortran_transfer_character_write'
...
...


magboltz-8.97.f:(.text+0x9df): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x9e9): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0xa64): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0xa88): undefined reference to `_gfortran_transfer_character_write'
magboltz-8.97.f:(.text+0xa92): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0xb08): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0xb2c): undefined reference to `_gfortran_transfer_character_write'
magboltz-8.97.f:(.text+0xb43): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xb5a): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xb64): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0xc5e): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0xc68): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0xcb0): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0xcba): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0xdc0): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0xdd7): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xdf2): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xdfc): undefined reference to `_gfortran_st_write_done'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `tofh_':
magboltz-8.97.f:(.text+0x1483): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x14a0): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0x14ad): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x159d): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x15b7): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0x15e1): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x15f7): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x160d): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x1624): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x1641): undefined reference to `_gfortran_transfer_real_write'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o):magboltz-8.97.f:(.text+0x1657): more undefined references to `_gfortran_transfer_real_write' follow
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `tofh_':
magboltz-8.97.f:(.text+0x16b5): undefined reference to `_gfortran_st_write_done'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `pth_':
magboltz-8.97.f:(.text+0x2290): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x22a3): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0x22ad): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x2314): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x232b): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0x2347): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x235b): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x236f): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x2386): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x239d): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x23b4): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0x23be): undefined reference to `_gfortran_st_write_done'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `friedland_':
magboltz-8.97.f:(.text+0x2503): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x2518): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x252d): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x2542): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x254a): undefined reference to `_gfortran_st_write_done'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `montefth_':
magboltz-8.97.f:(.text+0x40be): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x40d3): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0x40e8): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x40fd): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x4112): undefined reference to `_gfortran_transfer_real_write'

....
....
..

/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o):magboltz-8.97.f:(.text+0x14702): more undefined references to `_gfortran_transfer_real_write' follow
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `output_':
magboltz-8.97.f:(.text+0x1470c): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x147d8): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x147ea): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x147fc): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x14813): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x1482a): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x14841): undefined reference to `_gfortran_transfer_real_write'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o):magboltz-8.97.f:(.text+0x14858): more undefined references to `_gfortran_transfer_real_write' follow
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `output_':
magboltz-8.97.f:(.text+0x14862): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x148a4): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x148bd): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x148d6): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x148e9): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x148fc): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x14906): undefined reference to `_gfortran_st_write_done'
...
...
magboltz-8.97.f:(.text+0xb797a): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0xb7984): undefined reference to `_gfortran_st_write_done'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `magboltz2_':
magboltz-8.97.f:(.text+0xb7d25): undefined reference to `_gfortran_stop_string'
collect2: ld returned 1 exit status
make: *** [garfroot] Error 1



Try:

$(CXX) `root-config --cflags` -o garfroot garfroot.o $(LDFLAGS)

It’s getting better. Most of the ROOT related errors were solved, but still gives me some errors with Fortran (see errorlog2.txt), thanks Wile E. Coyote!

##############################error2.log###############################

g++ `root-config --cflags` -o garfroot garfroot.o `root-config --glibs` -lGeom -lRint -lgfortran -lm -lz  -L/home/molina/Programs/garfield/Library -Wl,--whole-archive -lGarfield -Wl,--no-whole-archive -lCint `root-config --glibs` -g
/home/molina/Programs/garfield/Library/libGarfield.a(GeometryRoot.o): In function `Garfield::GeometryRoot::GetMedium(double, double, double, Garfield::Medium*&)':
GeometryRoot.cc:(.text+0x19a): undefined reference to `TGeoManager::GetCurrentNavigator() const'
GeometryRoot.cc:(.text+0x1c5): undefined reference to `TGeoManager::GetCurrentNavigator() const'
GeometryRoot.cc:(.text+0x1f6): undefined reference to `TGeoManager::GetCurrentNavigator() const'
/home/molina/Programs/garfield/Library/libGarfield.a(GeometryRoot.o): In function `Garfield::GeometryRoot::SetMedium(int, Garfield::Medium*)':
GeometryRoot.cc:(.text+0x717): undefined reference to `TGeoManager::GetMaterial(int) const'
/home/molina/Programs/garfield/Library/libGarfield.a(GeometryRoot.o): In function `Garfield::GeometryRoot::SetMedium(char const*, Garfield::Medium*)':
GeometryRoot.cc:(.text+0xcaa): undefined reference to `TGeoManager::GetMaterialIndex(char const*) const'
/home/molina/Programs/garfield/Library/libGarfield.a(GeometryRoot.o): In function `Garfield::GeometryRoot::GetMaterial(int)':
GeometryRoot.cc:(.text+0x5ff): undefined reference to `TGeoManager::GetMaterial(int) const'
/home/molina/Programs/garfield/Library/libGarfield.a(GeometryRoot.o): In function `Garfield::GeometryRoot::GetMaterial(char const*)':
GeometryRoot.cc:(.text+0x67f): undefined reference to `TGeoManager::GetMaterial(char const*) const'
/home/molina/Programs/garfield/Library/libGarfield.a(GeometryRoot.o): In function `Garfield::GeometryRoot::IsInside(double, double, double)':
GeometryRoot.cc:(.text._ZN8Garfield12GeometryRoot8IsInsideEddd[Garfield::GeometryRoot::IsInside(double, double, double)]+0x2d): undefined reference to `TGeoManager::GetCurrentNavigator() const'
GeometryRoot.cc:(.text._ZN8Garfield12GeometryRoot8IsInsideEddd[Garfield::GeometryRoot::IsInside(double, double, double)]+0x57): undefined reference to `TGeoManager::GetCurrentNavigator() const'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `master.0.rm48_':
magboltz-8.97.f:(.text+0x290): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x2a6): undefined reference to `_gfortran_transfer_character_write'
magboltz-8.97.f:(.text+0x2bc): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0x2d2): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0x2e8): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0x2f2): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x4f4): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x50a): undefined reference to `_gfortran_transfer_character_write'
magboltz-8.97.f:(.text+0x521): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0x52b): undefined reference to `_gfortran_st_write_done'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `output2_':
magboltz-8.97.f:(.text+0x6b5): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x6bf): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x707): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x711): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x759): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x776): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x780): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x8f6): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x90d): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x924): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x93b): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x945): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x98d): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x997): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x9df): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x9e9): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0xa64): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0xa88): undefined reference to `_gfortran_transfer_character_write'
magboltz-8.97.f:(.text+0xa92): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0xb08): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0xb2c): undefined reference to `_gfortran_transfer_character_write'
magboltz-8.97.f:(.text+0xb43): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xb5a): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xb64): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0xc5e): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0xc68): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0xcb0): undefined reference to `_gfortran_st_write'

....
..

magboltz-8.97.f:(.text+0x92d8): undefined reference to `_gfortran_transfer_real_write'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o):magboltz-8.97.f:(.text+0x92eb): more undefined references to `_gfortran_transfer_real_write' follow
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `alpclcb_':
magboltz-8.97.f:(.text+0x931b): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x935d): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x9367): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x93a9): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x93bf): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x93d5): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x93eb): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x9401): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x940b): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x94ca): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x94dc): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x94f5): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x9508): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x951b): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x9525): undefined reference to `_gfortran_st_write_done'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `tof_':
magboltz-8.97.f:(.text+0x9865): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x987f): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0x9889): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x9929): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x9940): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0x9963): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x9977): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x998a): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x999e): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x99a8): undefined reference to `_gfortran_st_write_done'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `pt_':
magboltz-8.97.f:(.text+0xa1c9): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0xa1dc): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0xa1e6): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0xa249): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0xa260): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0xa27c): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xa290): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xa2a4): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xa2bb): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0xa2c5): undefined reference to `_gfortran_st_write_done'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `montefta_':
magboltz-8.97.f:(.text+0xbacc): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0xbae1): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0xbaf6): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xbb0b): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xbb20): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xbb35): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xbb4a): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xbb52): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0xc4ca): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0xc4df): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0xc4f4): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0xc4fc): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0xc505): undefined reference to `_gfortran_stop_string'
magboltz-8.97.f:(.text+0xc7c9): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0xc7db): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0xc7e3): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0xc911): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0xc926): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0xc93b): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0xc94d): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0xc955): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0xca45): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0xca5a): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xca6f): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xca77): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0xcb50): undefined reference to `_gfortran_st_write'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `alpclca_':
magboltz-8.97.f:(.text+0xcc92): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0xcc9c): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0xccde): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0xccf1): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xccfb): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0xcd59): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0xcd72): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xcd85): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xcd98): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xcdab): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xcdb5): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0xcdf7): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0xce01): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0xce43): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0xce56): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xce69): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xce7c): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xce8f): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xce99): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0xcedb): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0xcee5): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0xcf27): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0xcf3a): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xcf4d): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xcf57): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0xd010): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0xd022): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xd03b): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xd04e): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xd061): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xd06b): undefined reference to `_gfortran_st_write_done'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `monteft_':
magboltz-8.97.f:(.text+0xe59a): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0xe5af): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0xe5c4): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xe5d9): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xe5ee): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xe603): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xe618): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xe620): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0xef26): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0xef3b): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0xef50): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0xef58): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0xef61): undefined reference to `_gfortran_stop_string'
magboltz-8.97.f:(.text+0xf0d6): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0xf0e8): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0xf0f0): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0xf21e): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0xf233): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0xf248): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0xf25a): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0xf262): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0xf352): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0xf367): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xf37c): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xf384): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0xf447): undefined reference to `_gfortran_st_write'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `sst_':
magboltz-8.97.f:(.text+0xfec3): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0xfedd): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0xfeea): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0xffa9): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0xffc3): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0xffdd): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0xfff3): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x10010): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x1002d): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x1004a): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x10067): undefined reference to `_gfortran_transfer_real_write'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o):magboltz-8.97.f:(.text+0x10084): more undefined references to `_gfortran_transfer_real_write' follow
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `sst_':
magboltz-8.97.f:(.text+0x100cb): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x107c1): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x107db): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0x107e8): undefined reference to `_gfortran_st_write_done'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `montefd_':
magboltz-8.97.f:(.text+0x12877): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x12891): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x128bb): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x128d8): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x128ed): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x1290a): undefined reference to `_gfortran_transfer_real_write'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o):magboltz-8.97.f:(.text+0x12934): more undefined references to `_gfortran_transfer_real_write' follow
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `montefd_':
magboltz-8.97.f:(.text+0x1294e): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0x1295b): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x132ee): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x13303): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0x13318): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0x13335): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0x13342): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x13438): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x13452): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x1346c): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x13479): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x1353a): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x13554): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0x1356e): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0x13583): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0x13598): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0x135a5): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x13669): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x13686): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0x13693): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x1369c): undefined reference to `_gfortran_stop_string'
magboltz-8.97.f:(.text+0x136f3): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x1370d): undefined reference to `_gfortran_transfer_integer_write'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `alpcalc_':
magboltz-8.97.f:(.text+0x13b44): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x13b4e): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x13ba6): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x13bbd): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x13bc7): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x13c48): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x13c52): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x13c94): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x13ca6): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x13cba): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x13cce): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x13ce2): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x13cec): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x13d2e): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x13d38): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x13d7a): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x13d8e): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x13da2): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x13db6): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x13dca): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x13dd4): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x13e16): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x13e20): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x13e62): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x13e76): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x13e8a): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x13e9e): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x13eb2): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x13ebc): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x13efe): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x13f08): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x13f4a): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x13f5d): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x13f67): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x13fc5): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x13fde): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x13ff1): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x14004): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x14017): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x14021): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x14063): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x1406d): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x140af): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x140c2): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x140d5): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x140e8): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x140fb): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x14105): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x14147): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x14151): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x14193): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x141a6): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x141b9): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x141c3): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x1425a): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x14271): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x1427b): undefined reference to `_gfortran_st_write_done'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `output_':
magboltz-8.97.f:(.text+0x142ff): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x14309): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x1434b): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x14355): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x143ad): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x143cb): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x143e2): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0x143f9): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0x14403): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x14486): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x1449d): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x144b7): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x144ce): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x144e1): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x144f8): undefined reference to `_gfortran_transfer_real_write'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o):magboltz-8.97.f:(.text+0x1450a): more undefined references to `_gfortran_transfer_real_write' follow
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `output_':
magboltz-8.97.f:(.text+0x14514): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x14634): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x1463e): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x14680): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x14693): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x146a6): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x146bd): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x146d4): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x146eb): undefined reference to `_gfortran_transfer_real_write'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o):magboltz-8.97.f:(.text+0x14702): more undefined references to `_gfortran_transfer_real_write' follow
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `output_':
magboltz-8.97.f:(.text+0x1470c): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x147d8): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x147ea): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x147fc): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x14813): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x1482a): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x14841): undefined reference to `_gfortran_transfer_real_write'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o):magboltz-8.97.f:(.text+0x14858): more undefined references to `_gfortran_transfer_real_write' follow
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `output_':
magboltz-8.97.f:(.text+0x14862): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x148a4): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x148bd): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x148d6): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x148e9): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x148fc): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x14906): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x14948): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x1495f): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x14976): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x14980): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x149de): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x149e8): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x14a2a): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x14a43): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x14a56): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x14a69): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x14a7c): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x14a8f): undefined reference to `_gfortran_transfer_real_write'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o):magboltz-8.97.f:(.text+0x14aa2): more undefined references to `_gfortran_transfer_real_write' follow
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `output_':
magboltz-8.97.f:(.text+0x14aac): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x14aee): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x14b07): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x14b1a): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x14b2d): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x14b40): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x14b53): undefined reference to `_gfortran_transfer_real_write'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o):magboltz-8.97.f:(.text+0x14b66): more undefined references to `_gfortran_transfer_real_write' follow
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `output_':
magboltz-8.97.f:(.text+0x14b70): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x14bcc): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x14be5): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x14bfe): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x14c11): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x14c24): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x14c36): undefined reference to `_gfortran_transfer_real_write'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o):magboltz-8.97.f:(.text+0x14c48): more undefined references to `_gfortran_transfer_real_write' follow
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `output_':
magboltz-8.97.f:(.text+0x14c52): undefined reference to `_gfortran_st_write_done'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `montec_':
magboltz-8.97.f:(.text+0x16784): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x1679e): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x167b8): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x167d2): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x167eb): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x16805): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0x1681f): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x16839): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x16853): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x1686d): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x16887): undefined reference to `_gfortran_transfer_real_write'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o):magboltz-8.97.f:(.text+0x168a1): more undefined references to `_gfortran_transfer_real_write' follow
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `montec_':
magboltz-8.97.f:(.text+0x168ae): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x16a18): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x16a25): undefined reference to `_gfortran_st_write_done'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `monteb_':
magboltz-8.97.f:(.text+0x18e05): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x18e22): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x18e3f): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x18e58): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x18e72): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0x18e8b): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x18ea8): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x18ec5): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x18ee2): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x18efb): undefined reference to `_gfortran_transfer_real_write'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o):magboltz-8.97.f:(.text+0x18f18): more undefined references to `_gfortran_transfer_real_write' follow
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `monteb_':
magboltz-8.97.f:(.text+0x18f25): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x190fb): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x19108): undefined reference to `_gfortran_st_write_done'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `montea_':
magboltz-8.97.f:(.text+0x1b0e0): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x1b0fd): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x1b116): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x1b12f): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x1b148): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x1b162): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0x1b17b): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x1b198): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x1b1b5): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x1b1c2): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x1b3b8): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x1b3c5): undefined reference to `_gfortran_st_write_done'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `monte_':
magboltz-8.97.f:(.text+0x1d224): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x1d241): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x1d25a): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x1d273): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x1d28c): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x1d2a6): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0x1d2bf): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x1d2dc): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x1d2f9): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x1d306): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x1d53b): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x1d548): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x1d5d5): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x1d5e2): undefined reference to `_gfortran_st_write_done'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `prnter_':
magboltz-8.97.f:(.text+0x1ddaa): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x1ddb2): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x1ddf1): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x1de08): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0x1de10): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x1de4f): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x1de86): undefined reference to `_gfortran_transfer_character_write'
magboltz-8.97.f:(.text+0x1de98): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x1deaf): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x1deee): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x1deff): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x1df10): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x1df18): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x1df57): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x1df68): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x1df79): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0x1df81): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x1e002): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x1e01a): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x1e032): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x1e043): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x1e056): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x1e05e): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x1e09d): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x1e0ae): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x1e0b6): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x1e0f5): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x1e109): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0x1e111): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x1e150): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x1e166): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x1e183): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x1e1c2): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x1e1e1): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x1e1ff): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x1e253): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x1e25b): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x1e2a8): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x1e2b0): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x1e303): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x1e30b): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x1e358): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x1e360): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x1e3b3): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x1e3bb): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x1e3f7): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x1e3ff): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0x1e408): undefined reference to `_gfortran_stop_string'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `gas21_':
magboltz-8.97.f:(.text+0x54fe1): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x54ffb): undefined reference to `_gfortran_transfer_character_write'
magboltz-8.97.f:(.text+0x55011): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x55027): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x5503e): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x55059): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x55066): undefined reference to `_gfortran_st_write_done'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `gas16_':
magboltz-8.97.f:(.text+0x66a57): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x66a71): undefined reference to `_gfortran_transfer_character_write'
magboltz-8.97.f:(.text+0x66a8f): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x66aa6): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x66abd): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x66ad4): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x66ae1): undefined reference to `_gfortran_st_write_done'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `gas12_':
magboltz-8.97.f:(.text+0x75868): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x7587d): undefined reference to `_gfortran_transfer_character_write'
magboltz-8.97.f:(.text+0x75898): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x758af): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x758c6): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x758e1): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x758ee): undefined reference to `_gfortran_st_write_done'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `gas8_':
magboltz-8.97.f:(.text+0x7f2de): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x7f2f3): undefined reference to `_gfortran_transfer_character_write'
magboltz-8.97.f:(.text+0x7f316): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x7f32c): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x7f343): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x7f35e): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x7f36b): undefined reference to `_gfortran_st_write_done'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `gas7_':
magboltz-8.97.f:(.text+0x8268e): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x826a3): undefined reference to `_gfortran_transfer_character_write'
magboltz-8.97.f:(.text+0x826ba): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x826d0): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x826e7): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x82702): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x8270f): undefined reference to `_gfortran_st_write_done'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `gas6_':
magboltz-8.97.f:(.text+0x87b10): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x87b25): undefined reference to `_gfortran_transfer_character_write'
magboltz-8.97.f:(.text+0x87b3b): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x87b51): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x87b68): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x87b83): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x87b90): undefined reference to `_gfortran_st_write_done'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `gas5_':
magboltz-8.97.f:(.text+0x8f6d6): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x8f6eb): undefined reference to `_gfortran_transfer_character_write'
magboltz-8.97.f:(.text+0x8f702): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x8f718): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x8f72f): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x8f74a): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x8f757): undefined reference to `_gfortran_st_write_done'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `gas4_':
magboltz-8.97.f:(.text+0x952e0): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x952f5): undefined reference to `_gfortran_transfer_character_write'
magboltz-8.97.f:(.text+0x9530c): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x95322): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x95339): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x95354): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x95361): undefined reference to `_gfortran_st_write_done'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `gas3_':
magboltz-8.97.f:(.text+0x9d430): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0x9d445): undefined reference to `_gfortran_transfer_character_write'
magboltz-8.97.f:(.text+0x9d45c): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x9d472): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x9d489): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x9d4a4): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0x9d4b1): undefined reference to `_gfortran_st_write_done'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `gas2_':
magboltz-8.97.f:(.text+0xa5520): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0xa5535): undefined reference to `_gfortran_transfer_character_write'
magboltz-8.97.f:(.text+0xa554c): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xa5562): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xa5579): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xa5594): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xa55a1): undefined reference to `_gfortran_st_write_done'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `mixer_':
magboltz-8.97.f:(.text+0xb3c16): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0xb3c23): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0xb3d28): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0xb3d46): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xb3d60): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0xb3d7a): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0xb3d94): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0xb3dae): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xb3dbb): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0xb674a): undefined reference to `_gfortran_stop_string'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `setup_':
magboltz-8.97.f:(.text+0xb70dc): undefined reference to `_gfortran_st_read'
magboltz-8.97.f:(.text+0xb70ee): undefined reference to `_gfortran_transfer_integer'
magboltz-8.97.f:(.text+0xb7105): undefined reference to `_gfortran_transfer_integer'
magboltz-8.97.f:(.text+0xb7118): undefined reference to `_gfortran_transfer_integer'
magboltz-8.97.f:(.text+0xb712b): undefined reference to `_gfortran_transfer_real'
magboltz-8.97.f:(.text+0xb7135): undefined reference to `_gfortran_st_read_done'
magboltz-8.97.f:(.text+0xb71a6): undefined reference to `_gfortran_st_read'
magboltz-8.97.f:(.text+0xb71bf): undefined reference to `_gfortran_transfer_integer'
magboltz-8.97.f:(.text+0xb71d2): undefined reference to `_gfortran_transfer_integer'
magboltz-8.97.f:(.text+0xb71e5): undefined reference to `_gfortran_transfer_integer'
magboltz-8.97.f:(.text+0xb71f8): undefined reference to `_gfortran_transfer_integer'
magboltz-8.97.f:(.text+0xb720b): undefined reference to `_gfortran_transfer_integer'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o):magboltz-8.97.f:(.text+0xb721e): more undefined references to `_gfortran_transfer_integer' follow
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `setup_':
magboltz-8.97.f:(.text+0xb7228): undefined reference to `_gfortran_st_read_done'
magboltz-8.97.f:(.text+0xb726a): undefined reference to `_gfortran_st_read'
magboltz-8.97.f:(.text+0xb7284): undefined reference to `_gfortran_transfer_real'
magboltz-8.97.f:(.text+0xb7297): undefined reference to `_gfortran_transfer_real'
magboltz-8.97.f:(.text+0xb72aa): undefined reference to `_gfortran_transfer_real'
magboltz-8.97.f:(.text+0xb72bd): undefined reference to `_gfortran_transfer_real'
magboltz-8.97.f:(.text+0xb72d0): undefined reference to `_gfortran_transfer_real'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o):magboltz-8.97.f:(.text+0xb72e3): more undefined references to `_gfortran_transfer_real' follow
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `setup_':
magboltz-8.97.f:(.text+0xb7313): undefined reference to `_gfortran_st_read_done'
magboltz-8.97.f:(.text+0xb7355): undefined reference to `_gfortran_st_read'
magboltz-8.97.f:(.text+0xb7369): undefined reference to `_gfortran_transfer_real'
magboltz-8.97.f:(.text+0xb7383): undefined reference to `_gfortran_transfer_real'
magboltz-8.97.f:(.text+0xb739d): undefined reference to `_gfortran_transfer_real'
magboltz-8.97.f:(.text+0xb73a7): undefined reference to `_gfortran_st_read_done'
magboltz-8.97.f:(.text+0xb78ae): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0xb78c2): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0xb78e5): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0xb78f8): undefined reference to `_gfortran_transfer_integer_write'
magboltz-8.97.f:(.text+0xb790c): undefined reference to `_gfortran_transfer_real_write'
magboltz-8.97.f:(.text+0xb7933): undefined reference to `_gfortran_st_write_done'
magboltz-8.97.f:(.text+0xb797a): undefined reference to `_gfortran_st_write'
magboltz-8.97.f:(.text+0xb7984): undefined reference to `_gfortran_st_write_done'
/home/molina/Programs/garfield/Library/libGarfield.a(magboltz.o): In function `magboltz2_':
magboltz-8.97.f:(.text+0xb7d25): undefined reference to `_gfortran_stop_string'
collect2: ld returned 1 exit status
make: *** [garfroot] Error 1

Try:

LDFLAGS=-L$(LIBDIR) -Wl,--whole-archive -lGarfield -Wl,--no-whole-archive
LDFLAGS+=`root-config --evelibs` -lgfortran -lm -lz

Thanks again Wile E. Coyote!.. Now compiles!!.. Just in case I will leave here the proper makefile.
###################makefile##############################33

OBJDIR = $(GARFIELD_HOME)/Object
SRCDIR = $(GARFIELD_HOME)/Source
INCDIR = $(GARFIELD_HOME)/Include
HEEDDIR = $(GARFIELD_HOME)/Heed
LIBDIR = $(GARFIELD_HOME)/Library

CXX = g++
CXXFLAGS = -g -Wall -fPIC -m64
LD = g++
SOFLAGS = shared


# Compiler flags
CFLAGS = -Wall -Wextra -Wno-long-long \
	`root-config --cflags` \
	-O3 -fno-common -c \
	-I$(INCDIR) -I$(HEEDDIR)

# Debug flags
CFLAGS += -g

LDFLAGS=-L$(LIBDIR) -Wl,--whole-archive -lGarfield -Wl,--no-whole-archive
LDFLAGS+=`root-config --evelibs` -lgfortran -lm -lz


garfroot:	garfroot.C 
	$(CXX) $(CFLAGS) garfroot.C
	$(CXX) `root-config --cflags`  -o garfroot garfroot.o $(LDFLAGS)
# 	$(CXX) -o garfroot garfroot.o $(LDFLAGS)
	rm garfroot.o

Try:

OBJDIR  = $(GARFIELD_HOME)/Object
SRCDIR  = $(GARFIELD_HOME)/Source
INCDIR  = $(GARFIELD_HOME)/Include
HEEDDIR = $(GARFIELD_HOME)/Heed
LIBDIR  = $(GARFIELD_HOME)/Library

# Compiler (and Linker)
CXX = `root-config --cxx`

# Compiler (and Linker) flags
CXXFLAGS  = `root-config --cflags`
CXXFLAGS += -I$(INCDIR) -I$(HEEDDIR)
# Code Generation and Optimization flags
CXXFLAGS += -fno-common -fPIC -O3
# Warning flags
CXXFLAGS += -W -Wall -Wextra -Wno-long-long
# Debug flags
CXXFLAGS += -g

# Libraries (note: the order matters)
LDLIBS  = -L$(LIBDIR) -Wl,--whole-archive -lGarfield -Wl,--no-whole-archive
# Fortran libraries
LDLIBS += -lgfortran
# ROOT libraries
LDLIBS += `root-config --evelibs`

garfroot: garfroot.C
	$(CXX) $(CXXFLAGS) -o $@ $^ $(LDLIBS)

Hello fellas,

I’m currently having the same issue, but whenever I try the new makefile that was created on this thread, I get this error:

g++ -Wall -Wextra -Wno-long-long `root-config --cflags` -O3 -fno-common -c -I/home/jmed87/garfield/Include -I/home/jmed87/garfield/Heed -g garfroot.C g++ `root-config --cflags` -o garfroot garfroot.o -L/home/jmed87/garfield/Library -Wl,--whole-archive -lGarfield -Wl,--no-whole-archive `root-config --evelibs` -lgfortran -lm -lz /home/jmed87/garfield/Library/libGarfield.a(ViewCell.o): In function `Garfield::ViewCell::IsA() const': ViewCell.cc:(.text._ZNK8Garfield8ViewCell3IsAEv[_ZNK8Garfield8ViewCell3IsAEv]+0xc): undefined reference to `Garfield::ViewCell::Class()' /home/jmed87/garfield/Library/libGarfield.a(ViewCell.o):(.data.rel.ro._ZTVN8Garfield8ViewCellE[_ZTVN8Garfield8ViewCellE]+0x1d0): undefined reference to `Garfield::ViewCell::ShowMembers(TMemberInspector&)' /home/jmed87/garfield/Library/libGarfield.a(ViewCell.o):(.data.rel.ro._ZTVN8Garfield8ViewCellE[_ZTVN8Garfield8ViewCellE]+0x1d8): undefined reference to `Garfield::ViewCell::Streamer(TBuffer&)' /home/jmed87/garfield/Library/libGarfield.a(ViewGeometry.o): In function `Garfield::ViewGeometry::IsA() const': ViewGeometry.cc:(.text._ZNK8Garfield12ViewGeometry3IsAEv[_ZNK8Garfield12ViewGeometry3IsAEv]+0xc): undefined reference to `Garfield::ViewGeometry::Class()' /home/jmed87/garfield/Library/libGarfield.a(ViewGeometry.o):(.data.rel.ro._ZTVN8Garfield12ViewGeometryE[_ZTVN8Garfield12ViewGeometryE]+0x1d0): undefined reference to `Garfield::ViewGeometry::ShowMembers(TMemberInspector&)' /home/jmed87/garfield/Library/libGarfield.a(ViewGeometry.o):(.data.rel.ro._ZTVN8Garfield12ViewGeometryE[_ZTVN8Garfield12ViewGeometryE]+0x1d8): undefined reference to `Garfield::ViewGeometry::Streamer(TBuffer&)' collect2: error: ld returned 1 exit status make: *** [garfroot] Error 1

I’m currently using Ubuntu 14.04.

Any help would mean a lot!

Regards,
Josh

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.