[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

19990330: McIDAS 7.5 Build Attempt (lack of license for compilers))



>From: jannis <address@hidden>
>Organization: UCSD
>Keywords: 199903260203.TAA10824 McIDAS-X 7.50

Jeff,

>I went ahead with "make mcx" and the make failed (see attached makelog).
>
>** Note the first build attempt contained some compiler licensing warnings,
>so look at the Build dated Mar 30th.  
>
>Last entry of the makelog:
>
>  ld: INFO 152: Output file removed because of error.
>  link ncdfadir:               FAILED
>
>Any suggestions ....

Please see my comments at the end of this email.

>Thx, Jeff
>
>
>##########################################
>Tue Mar 30 16:49:17 PST 1999: BUILD BEGIN
>##########################################
>
 ...
>./mccomp -vendor -I. -I../netcdf/libsrc -c ncdfadir.cp
>cc -c -O -32 -fullwarn -I. -I../netcdf/libsrc ncdfadir.c
>cfe: Warning 835: ncdfadir.c, line 400: No prototype for the call to an anonym
> ous function
>         while (!isdigit(chArr[i])) { 
> -----------------------^
To achieve better type-checking, there should be a full prototype for
>the function being called.
>compile        ncdfadir.cp:            done
>./mccomp -vendor -s -o ncdfadir ncdfadir.o -L. -lsdi -lmcidas -L../netcdf/libs
> rc -lnetcdf
>cc -s -o ncdfadir ncdfadir.o -L. -L../netcdf/libsrc -lsdi -lmcidas -lnetcdf -3
> 2 -lftn -lm
>ld: WARNING 85: definition of main in ncdfadir.o preempts that definition in /
> usr/lib/libftn.so.
>ld: WARNING 85: definition of abort_ in ./libmcidas.a(abort.o) preempts that d
> efinition in /usr/lib/libftn.so.
>ld: ERROR 33: Unresolved text symbol "NC_fill_int" -- 1st referenced by ../net
> cdf/libsrc/libnetcdf.a(putget.o).
>       Use linker option -v to see when and which objects, archives and dsos a
> re loaded.  
>ld: ERROR 33: Unresolved text symbol "get_ix_float" -- 1st referenced by ../ne
> tcdf/libsrc/libnetcdf.a(ncx.o).
>       Use linker option -v to see when and which objects, archives and dsos a
> re loaded.  
>ld: ERROR 33: Unresolved text symbol "put_ix_float" -- 1st referenced by ../ne
> tcdf/libsrc/libnetcdf.a(ncx.o).
>       Use linker option -v to see when and which objects, archives and dsos a
> re loaded.  
>ld: ERROR 33: Unresolved text symbol "get_ix_double" -- 1st referenced by ../n
> etcdf/libsrc/libnetcdf.a(ncx.o).
>       Use linker option -v to see when and which objects, archives and dsos a
> re loaded.  
>ld: ERROR 33: Unresolved text symbol "put_ix_double" -- 1st referenced by ../n
> etcdf/libsrc/libnetcdf.a(ncx.o).
>       Use linker option -v to see when and which objects, archives and dsos a
> re loaded.  
>ld: INFO 152: Output file removed because of error.
>link   ncdfadir:               FAILED
>
>--Exaltation_of_Larks_032_000--

The failure is one of unresolved text symbols during linking.  The
unresolved references should be fulfilled by the netcdf library that
should have been created during the build.  The configure and compile
messages for the netCDF are not logged in makelog, so I have no way of
knowing what happened.  It is pretty obvious, however, that the netCDF
library either did not get created or was not created correctly.

Did you follow the instructions for defining needed environment
variables for the netCDF build?  The relevant documentation can be
found in a link referenced in:

http://www.unidata.ucar.edu/packages/mcidas/mcx/mcxacct.html 

The documentation itself is found in:

Notes and Warnings
http://www.unidata.ucar.edu/packages/mcidas/mcx/warnings_mcx.html

Tom