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

20010201: Compile problems with udunits: PUNIT_cfSTR macro



Larrabee,

The "errors" seem more like warnings.  I'm surprised that the "make"
aborted.

Go ahead and try the "make test".  Please let me know if it works.

If it does work, then I'd install the package.

Regards,
Steve Emmerson   <http://www.unidata.ucar.edu>

>Date: Thu, 1 Feb 2001 11:34:48 -0500
>From: Larrabee Strow <address@hidden>
>Organization: University of Maryland Baltimore County
>To: Steve Emmerson <address@hidden>
>Subject: Re: 20010201: Compile problems with udunits: PUNIT_cfSTR macro
>Keywords: 200101302248.f0UMmVX27711
>
> Seemed to help a lot.  I got some errors near the end of make, but
> maybe they are just some perl issues for testing, and not important??
>
> Here is the output of make
> 
> 
> chard> make
> 
> making `all' in directory /s1/udunits-1.11.7/src/port
> 
> make[1]: Entering directory `/chard/s1/strow/udunits-1.11.7/src/port'
> 
> making `all' in directory /s1/udunits-1.11.7/src/port/misc
> 
> make[2]: Entering directory `/chard/s1/strow/udunits-1.11.7/src/port/misc'
> cc -c -O -I.  -D_REENTRANT  uddummy.c
> ar rcuv libudport.a uddummy.o
> a - uddummy.o
> case "" in \
> '') ;; \
> *)  ar rucv libudport.a ;; \
> esac
> ranlib libudport.a
> make[2]: Leaving directory `/chard/s1/strow/udunits-1.11.7/src/port/misc'
> 
> returning to directory /s1/udunits-1.11.7/src/port
> 
> 
> making `all' in directory /s1/udunits-1.11.7/src/port/cfortran
> 
> make[2]: Entering directory `/chard/s1/strow/udunits-1.11.7/src/port/cfortran'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/chard/s1/strow/udunits-1.11.7/src/port/cfortran'
> 
> returning to directory /s1/udunits-1.11.7/src/port
> 
> make[1]: Leaving directory `/chard/s1/strow/udunits-1.11.7/src/port'
> 
> returning to directory /s1/udunits-1.11.7/src
> 
> 
> making `all' in directory /s1/udunits-1.11.7/src/lib
> 
> make[1]: Entering directory `/chard/s1/strow/udunits-1.11.7/src/lib'
> cc -c -O -I../port/misc -I../port/cfortran 
> -DUT_DEFAULT_PATH='"/s1/udunits-1.11.
> 7/etc/udunits.dat"'  utlib.c
> utlib.c: In function `FindUnit':
> utlib.c:1594: warning: passing arg 2 of `tfind' from incompatible pointer type
> utlib.c:1613: warning: passing arg 2 of `tfind' from incompatible pointer type
> cc -c -O -I../port/misc -I../port/cfortran 
> -DUT_DEFAULT_PATH='"/s1/udunits-1.11.
> 7/etc/udunits.dat"'  utparse.c
> cc -c -O -I../port/misc -I../port/cfortran 
> -DUT_DEFAULT_PATH='"/s1/udunits-1.11.
> 7/etc/udunits.dat"'  utscan.c
> In file included from ../port/misc/stddef.h:9,
>                  from utscan.l:15:
> ///usr/lib/gcc-lib/i486-linux/2.7.2.3/include/stddef.h:304: warning: 
> `offsetof'redefined
> ../port/misc/stddef.h:24: warning: this is the location of the previous 
> definiti
> on
> cc -c -O -I../port/misc -I../port/cfortran 
> -DUT_DEFAULT_PATH='"/s1/udunits-1.11.
> 7/etc/udunits.dat"'  udalloc.c
> ar rcuv libudunits.a utlib.o utparse.o utscan.o udalloc.o
> a - utlib.o
> a - utparse.o
> a - utscan.o
> a - udalloc.o
> case "" in \
> '') ;; \
> *)  ar rucv libudunits.a ;; \
> esac
> ranlib libudunits.a
> make[1]: Leaving directory `/chard/s1/strow/udunits-1.11.7/src/lib'
> 
> make[1]: Entering directory `/chard/s1/strow/udunits-1.11.7/src/udunits'
> make[2]: Entering directory `/chard/s1/strow/udunits-1.11.7/src/udunits'
> cc -c -O -I../lib -I../port/misc  udunits.c
> cc -o udunits -O udunits.o -L/s1/udunits-1.11.7/src/lib -ludunits 
> -L/s1/udunits-1.11.7/src/port/misc -ludport -lm
> make[2]: Leaving directory `/chard/s1/strow/udunits-1.11.7/src/udunits'
> make[1]: Leaving directory `/chard/s1/strow/udunits-1.11.7/src/udunits'
>  
> returning to directory /s1/udunits-1.11.7/src
>  
> cd perl && perl Makefile.PL
> Checking if your kit is complete...
> Looks good
> Warning: -L../lib changed to -L/chard/s1/strow/udunits-1.11.7/src/perl/../lib
> Writing Makefile for UDUNITS
>  
> making `dynamic' in directory /s1/udunits-1.11.7/src/perl
>  
> make[1]: Entering directory `/chard/s1/strow/udunits-1.11.7/src/perl'
> /usr/bin/perl -I/usr/lib/perl5/5.00503/i586-linux -I/usr/lib/perl5/5.00503 
> /usr/lib/perl5/5.00503/ExtUtils/xsubpp  -typemap 
> /usr/lib/perl5/5.00503/ExtUtils/typemap -typemap typemap UDUNITS.xs >xstmp.c 
> && mv xstmp.c UDUNITS.c
> Please specify prototyping behavior for UDUNITS.xs (see perlxs manual)
> cc -c -I../lib -I../port/misc -Dbool=char -DHAS_BOOL -I/usr/local/include -O2 
> -pipe    -DVERSION=\"1.11.7\" -DXS_VERSION=\"1.11.7\" -fpic 
> -I/usr/lib/perl5/5.00503/i586-linux/CORE  UDUNITS.c
> In file included from ../port/misc/stddef.h:9,
>                  from /usr/lib/perl5/5.00503/i586-linux/CORE/perl.h:426,
>                  from UDUNITS.xs:4:
> ///usr/lib/gcc-lib/i486-linux/2.7.2.3/include/stddef.h:304: warning: 
> `offsetof'
> redefined
> ../port/misc/stddef.h:24: warning: this is the location of the previous 
> definition
> In file included from UDUNITS.xs:4:
> /usr/lib/perl5/5.00503/i586-linux/CORE/perl.h:2546: redefinition of `union 
> semun'
> make[1]: *** [UDUNITS.o] Error 1
> make[1]: Leaving directory `/chard/s1/strow/udunits-1.11.7/src/perl'
> make: *** [perl/dynamic] Error 1
> chard>
> -- 
> L. Larrabee Strow                            E-mail: address@hidden
> Department of Physics                        FAX   : (410) 455-1072
> University of Maryland Baltimore County      Phone : (410) 455-2528 
> 1000 Hilltop Circle                          Office: Physics 429
> Baltimore, MD 21250                  


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.