Index | Thread | Search

From:
Marco van Hulten <marco@hulten.org>
Subject:
[wip new] geo/ncview
To:
ports@openbsd.org
Cc:
Martin Reindl <martin@catai.org>
Date:
Tue, 16 Sep 2025 16:44:01 +0200

Download raw body.

Thread
Hello 

I've added a port for ncview, something to view netCDF files.

Building and installing works.  I can open some netCDF files, but not
all of them.  I'll have a deeper look into that.

Clang fails on undefined symbols, even as header files are included, so
I needed to set COMPILER to port-gcc only.  Without that override,
including weird patches like the one attached brings the compilation
further.  In the end it still fails on symbol 'main' not found.

I tried to reproduce this issue in a very simple header, file with
function and file calling function combination, but of course that's
too simple to reproduce the problem.

I don't know if the problem is worth tackling of it works with gcc.

Thanks for insights.

 Marco