Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSV-Fortran Undefined Symbols #45

Open
blueforceconsulting opened this issue Dec 28, 2024 · 4 comments
Open

CSV-Fortran Undefined Symbols #45

blueforceconsulting opened this issue Dec 28, 2024 · 4 comments

Comments

@blueforceconsulting
Copy link

Hello. I just installed CSV-Fortran on my MAC arm64, Sequoia 15.2, gcc14

The code compiles with undefined symbol errors. Here is a snippet from my Terminal.

"csv_module_MOD___vtab_CHARACTER_1", referenced from:
MAIN
in ccX5S0ug.o
"csv_module_MOD___vtab_LOGICAL_4", referenced from:
MAIN
in ccX5S0ug.o
MAIN
in ccX5S0ug.o
"csv_module_MOD___vtab_REAL_8", referenced from:
MAIN
in ccX5S0ug.o
MAIN
in ccX5S0ug.o
"csv_module_MOD___vtab_csv_module_Csv_file", referenced from:
MAIN
in ccX5S0ug.o
MAIN
in ccX5S0ug.o
MAIN
in ccX5S0ug.o
MAIN
in ccX5S0ug.o
MAIN_ in ccX5S0ug.o
MAIN_ in ccX5S0ug.o
MAIN_ in ccX5S0ug.o
MAIN_ in ccX5S0ug.o
MAIN_ in ccX5S0ug.o
MAIN_ in ccX5S0ug.o
MAIN_ in ccX5S0ug.o
...
"_csv_module_MOD_add_cell", referenced from:
MAIN
in ccX5S0ug.o
MAIN
in ccX5S0ug.o
"csv_module_MOD_add_vector", referenced from:
MAIN
in ccX5S0ug.o
MAIN
in ccX5S0ug.o
MAIN
in ccX5S0ug.o
"__csv_module_MOD_close_csv_file", referenced from:
MAIN
in ccX5S0ug.o
"__csv_module_MOD_initialize_csv_file", referenced from:
MAIN
in ccX5S0ug.o
"csv_module_MOD_next_row", referenced from:
MAIN
in ccX5S0ug.o
MAIN
in ccX5S0ug.o
MAIN
in ccX5S0ug.o
"__csv_module_MOD_open_csv_file", referenced from:
MAIN
in ccX5S0ug.o
ld: symbol(s) not found for architecture arm64
collect2: error: ld returned 1 exit status

Any insight?

Many thanks in advance.

@jacobwilliams
Copy link
Owner

How exactly are you compiling it? Are you using FPM? Do the tests run if you run fpm test?

@blueforceconsulting
Copy link
Author

Yes. I used fpm and the tests ran successfully

@blueforceconsulting
Copy link
Author

To be clear, I ran the tests that were generated by the CSV-Fortran install.

@blueforceconsulting
Copy link
Author

Hello. Just checking in to see if you can shed any light on the problem.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants