[Proj] error compiling proj 4.4.9 on Solaris 9

Markus Neteler neteler at itc.it
Tue Apr 4 09:49:57 PDT 2006


On Tue, Apr 04, 2006 at 05:35:42PM +0400, Sergey Karin wrote:
> Hi, List!
> 
> A try to compile proj 4.4.9 on my Solaris 9:
> 
> SunOS 5.9 (Solaris 9.0)
> CPU: 2 x UltraSparc IIIi
> make: 3.80
> gcc: 3.1.1
> ld: 5.9-1.390
> 
> 
> and I get an error:
> 
> Making all in src
> make[1]: Entering directory `/opt/BGD/proj-4.4.9/src'
> make  all-am
> make[2]: Entering directory `/opt/BGD/proj-4.4.9/src'
> /bin/bash ../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 `/opt/BGD/proj-4.4.9/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/opt/BGD/proj-4.4.9/src'
> make: *** [all-recursive] Error 1
> 
> 
> Can anybody help me?
> 
> Thanks in advance!
> 
> Sergey Karin

I darkly remember that optimization can cause problems.
Do you use any flags like that?

Markus



More information about the Proj mailing list