[Proj] Compile-error on Solaris2.6 (SPARC)

Stephan Holl holl at gdf-hannover.de
Fri Feb 3 03:10:22 EST 2006


Dear proj-gurus,

I could not succeed in compiling PROJ on a Solaris2.6. The error is
given below:

<error>
.libs/vector1.o .libs/pj_release.o .libs/pj_gauss.o .libs/nad_cvt.o .libs/nad_init.o .libs/nad_intr.o .libs/emess.o .libs/pj_apply_gridshift.o .libs/pj_datums.o .libs/pj_datum_set.o .libs/pj_transform.o .libs/geocent.o .libs/pj_utils.o .libs/pj_gridinfo.o .libs/pj_gridlist.o .libs/jniproj.o
-lm -lc ld: warning: relocation error: R_SPARC_32:
file .libs/PJ_krovak.o: symbol .LLC8: external symbolic relocation
against non-allocatable section .stab; cannot be processed at runtime:
relocation ignored ld: warning: relocation error: R_SPARC_32:
file .libs/PJ_krovak.o: symbol .LLC4: external symbolic relocation
against non-allocatable section .stab; cannot be processed at runtime:
relocation ignored ld: warning: relocation error: R_SPARC_32:
file .libs/PJ_krovak.o: symbol .LLC8: external symbolic relocation
against non-allocatable section .stab; cannot be processed at runtime:
relocation ignored ld: warning: relocation error: R_SPARC_32:
file .libs/PJ_krovak.o: symbol .LLC4: external symbolic relocation
against non-allocatable section .stab; cannot be processed at runtime:
relocation ignored ld: warning: relocation error: R_SPARC_32:
file .libs/PJ_krovak.o: symbol .LLC8: external symbolic relocation
against non-allocatable section .stab; cannot be processed at runtime:
relocation ignored ld: warning: relocation error: R_SPARC_32:
file .libs/PJ_krovak.o: symbol .LLC4: external symbolic relocation
against non-allocatable section .stab; cannot be processed at runtime:
relocation ignored (cd .libs && rm -f libproj.so.0 && ln -s
libproj.so.0.5.0 libproj.so.0) (cd .libs && rm -f libproj.so && ln -s
libproj.so.0.5.0 libproj.so) ar cru .libs/libproj.a  PJ_aeqd.o
PJ_gnom.o PJ_laea.o PJ_mod_ster.o PJ_nsper.o PJ_nzmg.o PJ_ortho.o
PJ_stere.o PJ_sterea.o PJ_aea.o PJ_bipc.o PJ_bonne.o PJ_eqdc.o
PJ_imw_p.o PJ_krovak.o PJ_lcc.o PJ_mpoly.o PJ_poly.o PJ_rpoly.o
PJ_sconics.o PJ_cass.o PJ_cc.o PJ_cea.o PJ_eqc.o PJ_gall.o PJ_labrd.o
PJ_lsat.o PJ_merc.o PJ_mill.o PJ_ocea.o PJ_omerc.o PJ_somerc.o PJ_tcc.o
PJ_tcea.o PJ_tmerc.o PJ_airy.o PJ_aitoff.o PJ_august.o PJ_bacon.o
PJ_chamb.o PJ_hammer.o PJ_lagrng.o PJ_larr.o PJ_lask.o PJ_nocol.o
PJ_ob_tran.o PJ_oea.o PJ_tpeqd.o PJ_vandg.o PJ_vandg2.o PJ_vandg4.o
PJ_wag7.o PJ_lcca.o PJ_geos.o PJ_boggs.o PJ_collg.o PJ_crast.o
PJ_denoy.o PJ_eck1.o PJ_eck2.o PJ_eck3.o PJ_eck4.o PJ_eck5.o PJ_fahey.o
PJ_fouc_s.o PJ_gins8.o PJ_gn_sinu.o PJ_goode.o PJ_hatano.o PJ_loxim.o
PJ_mbt_fps.o PJ_mbtfpp.o PJ_mbtfpq.o PJ_moll.o PJ_nell.o PJ_nell_h.o
PJ_putp2.o PJ_putp3.o PJ_putp4p.o PJ_putp5.o PJ_putp6.o PJ_robin.o
PJ_sts.o PJ_urm5.o PJ_urmfps.o PJ_wag2.o PJ_wag3.o PJ_wink1.o
PJ_wink2.o pj_latlong.o pj_geocent.o aasincos.o adjlon.o bch2bps.o
bchgen.o biveval.o dmstor.o mk_cheby.o pj_auth.o pj_deriv.o
pj_ell_set.o pj_ellps.o pj_errno.o pj_factors.o pj_fwd.o pj_init.o
pj_inv.o pj_list.o pj_malloc.o pj_mlfn.o pj_msfn.o pj_open_lib.o
pj_param.o pj_phi2.o pj_pr_list.o pj_qsfn.o pj_strerrno.o pj_tsfn.o
pj_units.o pj_zpoly1.o rtodms.o vector1.o pj_release.o pj_gauss.o
nad_cvt.o nad_init.o nad_intr.o emess.o pj_apply_gridshift.o
pj_datums.o pj_datum_set.o pj_transform.o geocent.o pj_utils.o
pj_gridinfo.o pj_gridlist.o jniproj.o ranlib .libs/libproj.a creating
libproj.la (cd .libs && rm -f libproj.la && ln -s ../libproj.la
libproj.la) if gcc -DHAVE_CONFIG_H -I. -I. -I.
-DPROJ_LIB=\"/usr/local/share/proj\"    -g -O2 -MT proj.o -MD -MP -MF
".deps/proj.Tpo" -c -o proj.o proj.c; \ then mv -f ".deps/proj.Tpo"
".deps/proj.Po"; else rm -f ".deps/proj.Tpo"; exit 1; fi if gcc
-DHAVE_CONFIG_H -I. -I. -I. -DPROJ_LIB=\"/usr/local/share/proj\"    -g
-O2 -MT gen_cheb.o -MD -MP -MF ".deps/gen_cheb.Tpo" -c -o gen_cheb.o
gen_cheb.c; \ then mv -f ".deps/gen_cheb.Tpo" ".deps/gen_cheb.Po"; else
rm -f ".deps/gen_cheb.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I.
-I. -DPROJ_LIB=\"/usr/local/share/proj\"    -g -O2 -MT p_series.o -MD
-MP -MF ".deps/p_series.Tpo" -c -o p_series.o p_series.c; \ then mv -f
".deps/p_series.Tpo" ".deps/p_series.Po"; else rm -f
".deps/p_series.Tpo"; exit 1; fi /bin/ksh ../libtool --mode=link gcc
-g -O2   -o proj  proj.o gen_cheb.o p_series.o libproj.la -lm gcc -g
-O2 -o .libs/proj proj.o gen_cheb.o p_series.o  ./.libs/libproj.so -lm
-R/usr/local/lib Undefined			first referenced
symbol  			    in
file .LLC4                               ./.libs/libproj.so 
.LLC8                               ./.libs/libproj.so
ld: fatal: Symbol referencing errors. No output written to .libs/proj
collect2: ld returned 1 exit status make[2]: *** [proj] Error 1
make[2]: Leaving directory
`/export/home1/sourcen/proj-4.4.9/src' make[1]: ***
[all] Error 2 make[1]: Leaving directory
`/export/home1/sourcen/proj-4.4.9/src' make: ***
[all-recursive] Error 1
</error>

The posted Solaris2.8-binaries from Paul install clean and do a decent job, but I am just wondering what might have missing on the box to compile from source.

Actually I do not have any physical access to the box.

Does anybody have any clues?

Thanks in advance

	Stephan


-- 
GDF Hannover - Solutions for spatial data analysis and remote sensing
Hannover Office      -     Mengendamm 16d      -     D-30177 Hannover
Internet: www.gdf-hannover.de      -      Email: holl at gdf-hannover.de
Phone : ++49-(0)511.39088507       -        Fax: ++49-(0)511.39088508


More information about the Proj mailing list