1. Download OdePack. Only three files are needed, for double precision, the files we need are: opkdmain.f, opkda1.f and opkda2.f.
  2. Compile the source codes with
    $ gfortran -c opkdmain.f opkda1.f opkda2.f
    

    three object files will be created, namely: opkdmain.o, opkda1.o and opkda2.o.

  3. Build the static library libodepack.a with
    $ ar rcs libodepack.a opkdmain.o opkda1.o opkda2.o