[ncl-install] Problem with Building NCL-6.2.0 from Source Code
Mary Haley
haley at ucar.edu
Mon Apr 14 08:53:14 MDT 2014
Dear Jack-Hsu,
The "-ll" is for linking in the lex library, which should be called "libl.a" on your system.
On some systems, this library might be a link to libfl.a, which is the flex library. For example:
lrwxrwxrwx. 1 root root 7 Jun 19 2013 /usr/lib64/libl.a -> libfl.a
My guess is that you need to install lex/flex and/or create a link between libfl.a and libl.a
--Mary
On Apr 7, 2014, at 7:36 PM, Shi-Pei Hsu <hsushipei1 at gmail.com> wrote:
> Dear all,
>
> I'd like to build NCL-6.2.0 with ESMF support.
>
> However, the native gcc(4.1.2) in my system(SUSE Linux 10 SP2) is too old for ESMF.
>
> So I built a newer gcc(4.4.7) and built NCL-6.2.0 with it.
>
> Unfortunately, it failed, and I checked the "make-output file". I got the following "Error" message
>
> gcc -ansi -fPIC -fopenmp -O -o wrapit77 y.tab.o lex.yy.o Symbol.o wrapit_main.o -L/data1/hsushipei/software/ncl-6.2.0-testing/lib -L/data1/hsushipei/software/ncl-6.2.0-testing/lib -L/usr/X11R6/lib64 -ll
> /usr/bin/ld: cannot find -ll
> collect2: ld return 1
> make[4]: *** [wrapit77] Error 1
> make[4]: Leaving directory `/data1/hsushipei/software/ncl-6.2.0-testing/src/ncl_ncarg-6.2.0/ni/src/mkwrap'
>
> Thanks for your help!
>
> Sincerely Yours,
> Jack-Hsu
>
> National Taiwan University
>
> <make-output.tar.bz2>_______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install
More information about the ncl-install
mailing list