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

20050210: Building udunits on Altix IA64


> To: address@hidden
> From: Cliff Liu <address@hidden>
> Subject: Help Building udunits on Altix IA64
> Organization: UCAR/Unidata
> Keywords: 200502101951.j1AJpLv2029440

The above message contained the following:

> A. 
> Linux thunder 2.4.21-sgi303r2 #1 SMP Mon Nov 29 15:29:38 PST 2004 ia64 
> ia64 ia64 GNU/Linux
> B. udunits-1.12.2


> making `all' in directory /usr/local/src/udunits-1.12.2/src/lib
> make[1]: Entering directory `/usr/local/src/udunits-1.12.2/src/lib'
> ln -s ../port/misc/udalloc.c .
> ln -s ../port/misc/udalloc.h .
> icc -c -O -I../port/misc -I../port/cfortran 
> -DUT_DEFAULT_PATH='"/usr/local/src/udunits-1.12.2/etc/udunits.dat"'  
> utlib.c
> ///opt/intel_cc_80/include/limits.h(22): catastrophic error: could not 
> open source file "limits.h" (no directories in search list)
>    #include_next <limits.h>
>                            ^
> compilation aborted for utlib.c (code 4)
> make[1]: *** [utlib.o] Error 4
> make[1]: Leaving directory `/usr/local/src/udunits-1.12.2/src/lib'
> make: *** [lib/all] Error 1

This seems to indicates that there's a problem with your C compilation
environment: the C compiler has problems with the header-file

Please send me the output from the following commands:

    $ echo '#include <limits.h>' >conftest.c
    $ echo 'int int_max = INT_MAX' >>conftest.c
    $ icc -c conftest.c

Also, please send me the file "port/misc/limits.h".

> Thanks,
> Cliff Liu

Steve Emmerson

> NOTE: All email exchanges with Unidata User Support are recorded in the
> Unidata inquiry tracking system and then made publicly available
> through the web.  If you do not want to have your interactions made
> available in this way, you must let us know in each email you send to us.