You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NCO defines some one-liner functions that access global variables, like nco_prg_nm_get(), in a part of the nco.h header only visible to source files that include main(), e.g., ncks.c. Thus the library contains only the function prototype, not the function definition. We would need a PR to refactor the nco.h header, and probably all the source files that contain main(), in order for --no-undefined -Wl to succeed. I was never sure of the best way to handle access to global variables by the library. Hopefully a volunteer will figure out a solution that is still moderately elegant and avoids redundant code.
Hi,
On Mageia Linux we compile with "--no-undefined -Wl" as ld flags per default but nco fails to build with the following underlinking issue:
Attached full build log:
log.nco.txt
The text was updated successfully, but these errors were encountered: