[PROJ] Q about proj.5.2.0 sources
Witold Interewicz
Witold.Interewicz at imgw.pl
Tue Sep 1 00:43:15 PDT 2020
Dear PROJ Code Keepers/Admins,
Dear All,
I'm trying to build proj.5.2.0 as a minimalistic prerequisite for CDO 1.9.8.
Build is at the linux platform with Intel 2017.
I downloaded proj-5.2.0.tar.gz via PROJ website ( https://proj.org/download.html ).
Next I had to modify the sources so that Intel compiler doesn't throw errors (missing casts, invalid casts, mixing of enums with ints, enum definitions within structures invisible in a wider scope - at least for Intel compiler).
Unfortunately, at the library link stage, build ends up with a bunch of undefined references as cited below.
Case-insensitive grepping of sources suggests, that some modules are missing in the proj-5.2.0.tar.gz pack I downloaded (and it is rather not the question of compiler names mangling scheme (?)).
Can you please tell me were and how may I get a correct, complete source code package for PROJ 5.2.0?
Build commands I used are following:
./configure \
--without-jni \
--prefix=<some path>
make
(As you see, Java interface was excluded.)
Final result I got is (paths removed):
...
libtool: link: ( cd ".libs" && rm -f "libproj.la" && ln -s "../libproj.la" "libproj.la" )
/bin/sh ../libtool --tag=CC --mode=link icpc -Wall -Wdeclaration-after-statement -diag-disable 188,1684,2259,2304,3280,11074,11076 -Wextra -Winit-self -Wunused-parameter -Wmissing-prototypes -Wmissing-declarations -Wformat -Wshorten-64-to-32 -Wshadow -Werror=vla -Wdeclaration-after-statement -std=gnu89 -g -O2 -fp-model precise -DHAVE_C99_MATH=1 -o proj proj.o gen_cheb.o p_series.o libproj.la -lpthread -lm
libtool: link: icpc -Wall -Wdeclaration-after-statement -diag-disable 188,1684,2259,2304,3280,11074,11076 -Wextra -Winit-self -Wunused-parameter -Wmissing-prototypes -Wmissing-declarations -Wformat -Wshorten-64-to-32 -Wshadow -Werror=vla -Wdeclaration-after-statement -std=gnu89 -g -O2 -fp-model precise -DHAVE_C99_MATH=1 -o .libs/proj proj.o gen_cheb.o p_series.o ./.libs/libproj.so -lpthread -lm -Wl,-rpath -Wl,<some path>/lib
./.libs/libproj.so: undefined reference to `pj_urmfps(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_bonne(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_wink2(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_rouss(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_tissot(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_wag6(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_collg(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_ortho(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_nzmg(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_lcc(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_merc(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_putp4p(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_geocent(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_somerc(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_crast(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_mbtfpq(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_wag4(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_omerc(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_putp2(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_helmert(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_august(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_gs48(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_wink1(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_pconic(PJconsts*)'
./.libs/libproj.so: undefined reference to `proj_errno_reset(PJconsts const*)'
./.libs/libproj.so: undefined reference to `pj_natearth(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_tpeqd(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_sinu(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_unitconvert(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_imw_p(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_gall(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_putp5p(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_fouc_s(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_bacon(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_alsk(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_ocea(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_tmerc(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_robin(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_hgridshift(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_nell(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_oea(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_eqc(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_qsc(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_axisswap(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_comill(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_latlong(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_misrsom(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_fahey(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_mbtfpp(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_loxim(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_boggs(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_etmerc(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_apian(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_wag1(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_wag2(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_cc(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_putp1(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_eck5(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_vandg2(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_tcc(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_geos(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_tcea(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_lee_os(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_ob_tran(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_eck2(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_aea(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_qua_aut(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_weren(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_gins8(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_vandg3(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_eck4(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_nicol(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_igh(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_lsat(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_calcofi(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_cart(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_molodensky(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_mil_os(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_stere(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_tpers(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_wag5(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_leac(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_krovak(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_euler(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_vandg(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_nsper(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_chamb(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_putp6p(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_laea(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_pipeline(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_denoy(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_sch(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_mbt_s(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_vitk1(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_healpix(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_list'
./.libs/libproj.so: undefined reference to `pj_hatano(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_poly(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_longlat(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_aitoff(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_eck1(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_gstmerc(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_labrd(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_mbtfps(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_eck3(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_nell_h(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_moll(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_cea(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_cass(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_wag3(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_kav5(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_vandg4(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_eqearth(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_rpoly(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_putp6(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_murd2(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_putp5(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_fouc(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_eck6(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_lcca(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_murd1(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_isea(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_hammer(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_aeqd(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_ccon(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_lask(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_putp3p(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_ups(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_lagrng(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_kav7(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_ortel(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_airy(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_latlon(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_gn_sinu(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_larr(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_mbt_fps(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_times(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_bipc(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_vgridshift(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_gnom(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_urm5(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_mill(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_sterea(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_murd3(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_utm(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_goode(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_wag7(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_webmerc(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_gs50(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_natearth2(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_geoc(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_horner(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_putp3(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_wintri(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_patterson(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_eqdc(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_lonlat(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_deformation(PJconsts*)'
./.libs/libproj.so: undefined reference to `pj_rhealpix(PJconsts*)'
make[2]: *** [proj] Error 1
And the names mentioned above are missing in sources (case-insensitive search).
Thanks in advance for the answer(s).
Witold Interewicz
Starszy Specjalista
Laboratorium Zaawansowanych Metod Modelowania Meteorologicznego / Zakład Prognoz Numerycznych COSMO
T. (+48) 22 569 41 32
IMGW-PIB | 01-673 Warszawa, Podleśna 61
meteo.imgw.pl - nowy serwis pogodowy dla Polski IMGW-PIB
IMGW-PIB | 01-673 Warszawa, Podleśna 61 | www.imgw.pl
Media Office 24/7/365: Twitter @IMGWMeteo
Social Media: Facebook, Instagram, Linkedin.
Należymy do Światowej Organizacji Meteorologicznej (WMO) oraz EUMETSAT
Niniejsza wiadomość jest przeznaczona wyłącznie dla wskazanego w niej odbiorcy i może zawierać informacje poufne. Jeśli nie są Państwo adresatem tej informacji prosimy o niezwłoczne poinformowanie o tym fakcie nadawcy pocztą elektroniczną oraz niekopiowanie i nieprzekazywanie tej wiadomości osobom nieupoważnionym. Dziękujemy | Zanim wydrukujesz, pomyśl o środowisku!
More information about the PROJ
mailing list