I created a fortran program containing 1 main and 1 subroutine. When compiling i get the following error message:
/usr/bin/ld: /tmp/ccdh3pFz.o: in function `main':
002Priem.f08:(.text+0x82b) : multiple definition of `main'; /tmp/ccmU322l.o:main.f95:(.text+0x76): first defined here
collect2: error: ld returned 1 exit status
Can somebody help me to solve this error?