glib fails to compile with sun studio 12



Pals:

I'm trying to compile glib-2.20.1 with sun studio 12 and throws me this error while i'm executing configure

checking for dlsym... yes
Undefined                       first referenced
 symbol                             in file
main                                /opt/SUNWspro/prod/lib/crt1.o
ld: fatal: Symbol referencing errors. No output written to .libs/plugin.o

this is my configure call

CC="cc" \
CFLAGS="-I/usr/local/include -errtags -erroff=E_NONPORTABLE_USE_OF_DEFINE,E_INITIALIZATION_TYPE_MISMATCH,E_NO_IMPLICIT_DECL_ALLOWED,E_EMPTY_DECLARATION,E_OPERANDS_INCOMPAT_PTR_TYPES,E_ASSIGNMENT_TYPE_MISMATCH,E_ARG_INCOMPATIBLE_WITH_ARG -features=extensions -fns -fround=nearest -fsimple=2 -m64 -mt -xalias_level=basic -xarch=sparcvis2 -xautopar -xbuiltin=%all -xcache=64/32/4:1024/64/4 -xchip=ultra3i -xcode=pic32 -xdepend -xipo=2 -xjobs=3 -xlinkopt=2 -xopenmp -xprefetch=auto,explicit -xvector -xO5 -Wa,-m64,-xarch=v9b" \
LDFLAGS="-L/usr/local/lib -Wl,-64" \
CXX="CC" \
CXXFLAGS="-features=extensions -fns -fround=nearest -fsimple=2 -m64 -mt -xalias_level=compatible -xarch=sparcvis2 -xautopar -xbuiltin=%all -xcache=64/32/4:1024/64/4 -xchip=ultra3i -xcode=pic32 -xdepend -xipo=2 -xjobs=3 -xlinkopt=2 -xopenmp -xprefetch=auto,explicit -xvector -xO5" \
F77="f90" \
FFLAGS="-aligncommon=16 -f77 -fns -fround=nearest -fsimple=2 -m64 -mp=sun -mt -pad=local -stackvar -xarch=sparcvis2 -xautopar -xcache=64/32/4:1024/64/4 -xchip=ultra3i -xcode=pic32 -xdepend -xipo=2 -xjobs=3 -xlinkopt=2 -xopenmp -xprefetch=auto,explicit -xvector -O5" \
./configure --build=sparcv9-sun-solaris2.10 --prefix=/usr/local

Thanks in advance.

--
Eliezer E Chávez
+58-416-6125676
eliezer chavez gmail com
>>http://www.bumeran.com.ve/cv/eliezer-chavez


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