Re: Problem with Building NCL-6.2.0 from Source Code

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Mon Apr 14 2014 - 08:53:14 MDT

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@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

_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Mon Apr 14 08:53:20 2014

This archive was generated by hypermail 2.1.8 : Wed Apr 16 2014 - 09:15:26 MDT