Ungrib build fails when jasper version > 3.
bakamotokatas opened this issue · 8 comments
/usr/bin/ld: ./ngl/libg2_4.a(dec_jpeg2000.o): in function dec_jpeg2000_': dec_jpeg2000.c:(.text+0x61): undefined reference to
jpc_decode'
collect2: error: ld returned 1 exit status
make[1]: [Makefile:19: ungrib.exe] Error 1 (ignored)
/usr/bin/ld: ./ngl/libg2_4.a(dec_jpeg2000.o): in function dec_jpeg2000_': dec_jpeg2000.c:(.text+0x61): undefined reference to
jpc_decode'
collect2: error: ld returned 1 exit status
make[1]: [Makefile:41: g2print.exe] Error 1 (ignored)
Also there is similar problem with NCEPLIBS;
NOAA-EMC/NCEPLIBS-g2#236
Which compiler was used ?
hello @andrewsoong, I used GCC and gfortran version 12.1.1
@bakamotokatas I am using Intel Compilers(V2018.1.48), It can compiled WPS v4.4 succussfully, but the geogrid.exe could not run.
The WPS v4.3.1 is OK.
@andrewsoong We're talking about other issues, I'm talking about a WPS compilation issue with the new jasper version. I can compile WPS with old jasper versions, jasper 1.900.1 or version 2 variants. There is a problem with compiling with the newly released jasper version 3. I just wrote to report a problem.