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

[GEMPAK #AUG-370260]: GEMPAK



Sinhh,

The error you have is that $NAWIPS/os/aix/include/jasper/jasper.h isn't being 
found later 
in the compilation of the cgemlib/g2 routines, which implies that an error 
occured in building 
under $NAWIPS/extlibs/JasPer. When you build the jasper library, the headers 
get installed
under $NAWIPS/os/aix/include and are found from the coimpiler include flag:
-I/nfsuser/g01.1/weather/wx23rs/XX/GEMPAK5.9.3/os/aix/include

You seem to have some other paths which wouldn't be correct. Did you edit the
Makeinc.aix file?

Try going back to $NAWIPS/extlins/JasPer and doing:
make clean
make all

See if you get compilation errors there, and then verify that the headers are 
getting correctly
installed under $NAWIPS/os/aix/include/jasper.

Steve Chiswell
Unidata User Support



> I have made the changes what u suggested in the Makefile and compiled
> again, then i was having problem in the
> /nfsuser/g01.1/weather/wx23rs/XX/GEMPAK5.9.3/extlibs/rsl/rsl-v1.30/interp.c
> /nfsuser/g01.1/weather/wx23rs/XX/GEMPAK5.9.3/extlibs/rsl/rsl-v1.34/interp.c
> 
> in the both program, there is M_PI defined, which is also  defined in
> /usr/include/math.h
> 
> So, definitions were conflicting.
> Then i commented  the M_PI defi in the interp.c and compiled it again
> and now i am getting following  message.
> 
> *********************************************************************************************
> pluscmt -DUSE_JPEG2000 -DUSE_PNG
> -I/nfsuser/g01.1/weather/wx23rs/XX/GEMPAK5.9.3/jasper/aix/include
> -I/nfsuser/g01.1/weather/wx23rs/XX/GEMPAK5.9.3/gempak/source/libpng
> pngpack.c
> /usr/vac/bin/xlc: 1501-245 Warning: Hard ulimit has been reduced to less
> than RLIM_INFINITY.  There may not be enough space to complete the
> compilation.
> /usr/vac/bin/xlc -c -DAIX
> -I/nfsuser/g01.1/weather/wx23rs/XX/GEMPAK5.9.3/gempak/include
> -I/nfsuser/g01.1/weather/wx23rs/XX/GEMPAK5.9.3/os/aix/include -qnolm
> -qcpluscmt -DUSE_JPEG2000 -DUSE_PNG
> -I/nfsuser/g01.1/weather/wx23rs/XX/GEMPAK5.9.3/jasper/aix/include
> -I/nfsuser/g01.1/weather/wx23rs/XX/GEMPAK5.9.3/gempak/source/libpng
> pngunpack.c
> /usr/vac/bin/xlc: 1501-245 Warning: Hard ulimit has been reduced to less
> than RLIM_INFINITY.  There may not be enough space to complete the
> compilation.
> /usr/vac/bin/xlc -c -DAIX
> -I/nfsuser/g01.1/weather/wx23rs/XX/GEMPAK5.9.3/gempak/include
> -I/nfsuser/g01.1/weather/wx23rs/XX/GEMPAK5.9.3/os/aix/include -qnolm
> -qcpluscmt -DUSE_JPEG2000 -DUSE_PNG
> -I/nfsuser/g01.1/weather/wx23rs/XX/GEMPAK5.9.3/jasper/aix/include
> -I/nfsuser/g01.1/weather/wx23rs/XX/GEMPAK5.9.3/gempak/source/libpng
> dec_jpeg2000.c
> /usr/vac/bin/xlc: 1501-245 Warning: Hard ulimit has been reduced to less
> than RLIM_INFINITY.  There may not be enough space to complete the
> compilation.
> "dec_jpeg2000.c", line 7.10: 1506-296 (S) #include file
> "jasper/jasper.h" not found.
> "dec_jpeg2000.c", line 54.5: 1506-045 (S) Undeclared identifier jas_image_t.
> "dec_jpeg2000.c", line 54.18: 1506-045 (S) Undeclared identifier image.
> "dec_jpeg2000.c", line 54.23: 1506-277 (S) Syntax error: possible
> missing ';' or ','?
> "dec_jpeg2000.c", line 55.5: 1506-045 (S) Undeclared identifier
> jas_stream_t.
> "dec_jpeg2000.c", line 55.19: 1506-045 (S) Undeclared identifier jpcstream.
> "dec_jpeg2000.c", line 56.5: 1506-045 (S) Undeclared identifier
> jas_image_cmpt_t.
> "dec_jpeg2000.c", line 56.23: 1506-045 (S) Undeclared identifier pcmpt.
> "dec_jpeg2000.c", line 57.5: 1506-275 (S) Unexpected text 'char'
> encountered.
> "dec_jpeg2000.c", line 58.5: 1506-045 (S) Undeclared identifier
> jas_matrix_t.
> "dec_jpeg2000.c", line 58.19: 1506-045 (S) Undeclared identifier data.
> make: 1254-004 The error code from the last command is 1.
> Stop.
> make: 1254-004 The error code from the last command is 2.
> Stop.
> make: 1254-004 The error code from the last command is 2.
> Stop.
> make: 1254-004 The error code from the last command is 2.
> Stop.
> make: 1254-004 The error code from the last command is 2.
> Stop.
> 
> 


Ticket Details
===================
Ticket ID: AUG-370260
Department: Support GEMPAK
Priority: Normal
Status: Closed