Hi My dear friends,<br><br>as iam new for linux, I hv download ncl_ncarg-5.1.0.Linux_i686_gcc346.tar.gz bin file<br><br>and i hv kept in /opt/<br>while iam compiling ncl its working fine. but while compailing ncargf90 and ncargf77 its getting error like this<br>
<br>[root@localhost ~]# ncargf90<br>g77 -fPIC -fno-second-underscore -O -L/opt/ncl/lib -L/usr/X11R6/lib -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lpng -lz<br>/usr/lib/gcc/i386-redhat-linux/3.4.6/libfrtbegin.a(frtbegin.o): In function `main':<br>
(.text+0x35): undefined reference to `MAIN__'<br>collect2: ld returned 1 exit status<br>[root@localhost ~]# ncargf77<br>g77 -fPIC -fno-second-underscore -O -L/opt/ncl/lib -L/usr/X11R6/lib -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lpng -lz<br>
/usr/lib/gcc/i386-redhat-linux/3.4.6/libfrtbegin.a(frtbegin.o): In function `main':<br>(.text+0x35): undefined reference to `MAIN__'<br>collect2: ld returned 1 exit status<br><br><br>Thanks in advance<br>