Skip to content

'make SYSTEM=gfortran' fails (undefined reference to 'giza_axis') #74

@wolfram-schmidt

Description

@wolfram-schmidt

Hi,

after installing giza commit 72d3703 in /usr/local, I attempted to compile splash commit 7cd8892 from source. However,

make SYSTEM=gfortran

throws the following errors when linking:

/usr/bin/ld: giza-fortran.o: in function '__giza_MOD_giza_intern_tick_f2c':
giza-fortran.F90:(.text+0x3fed): undefined reference to 'giza_tick'
/usr/bin/ld: giza-fortran.o: in function '__giza_MOD_giza_intern_axis_f2c':
giza-fortran.F90:(.text+0x4194): undefined reference to 'giza_axis'

The linker runs with option -L/usr/local/lib -lgiza, which is the correct path:

ls /usr/local/lib/libgiza*
/usr/local/lib/libgiza.a /usr/local/lib/libgiza.la /usr/local/lib/libgiza.so /usr/local/lib/libgiza.so.0 /usr/local/lib/libgiza.so.0.1.1

Any suggestions how to fix this?

Thanks,
Wolfram

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions