Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [lfi202217@head ~]$ mpicc feb18-hello.c
- /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o: In function `_start':
- (.text+0x20): undefined reference to `main'
- collect2: error: ld returned 1 exit status
- [lfi202217@head ~]$
- [lfi202217@head ~]$ mpicc feb18-hello.c -o feb18-hello.out
- /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o: In function `_start':
- (.text+0x20): undefined reference to `main'
- collect2: error: ld returned 1 exit status
- [lfi202217@head ~]$
- [lfi202217@head ~]$ gcc feb18-hello.c
- /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o: In function `_start':
- (.text+0x20): undefined reference to `main'
- collect2: error: ld returned 1 exit status
- [lfi202217@head ~]$
- [lfi202217@head ~]$ gcc feb18-hello.c -o feb18-hello.out
- /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o: In function `_start':
- (.text+0x20): undefined reference to `main'
- collect2: error: ld returned 1 exit status
Advertisement
Add Comment
Please, Sign In to add comment