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

undefined reference to `MAIN_' for flang #5

Open
Sameeranjoshi opened this issue Aug 2, 2019 · 0 comments
Open

undefined reference to `MAIN_' for flang #5

Sameeranjoshi opened this issue Aug 2, 2019 · 0 comments

Comments

@Sameeranjoshi
Copy link

Sameeranjoshi commented Aug 2, 2019

running with flang
FC=flang cmake ../
make :
/usr/bin/ld: /usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/libflangmain.a(flangmain.c.o): in function main': (.text.startup.main+0x42): undefined reference to MAIN_'
flang-7: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [CMakeFiles/flang-20170924b.dir/build.make:84: flang-20170924b] Error 1
make[1]: *** [CMakeFiles/Makefile2:201: CMakeFiles/flang-20170924b.dir/all] Error 2
make: *** [Makefile:95: all] Error 2

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

1 participant