c++ - GCC Compiles fine but Solaris Compiler doesn't? -


source: svn checkout svn://dev.exiv2.org/svn/trunk (rev: 3019)

my platform: fedora 17 64-bit

the following command works:

./configure cxx=/opt/oracle/solarisstudio12.3/bin/cc \      cc=/opt/oracle/solarisstudio12.3/bin/cc cxxflags="-v -library=stlport4" 

but when make, error:

libtool: compile:  /opt/oracle/solarisstudio12.3/bin/cc -v -library=stlport4 -     xldscope=hidden -i. -dexv_localedir=\"/usr/local/share/locale\" -i../include -funsigned- char -dndebug=1 -dexv_have_stdint_h=1 -c xml_node.cpp >/dev/null 2>&1 cc: warning: option -funsigned-char passed ld, if ld invoked, ignored otherwise /opt/oracle/solarisstudio12.3/prod/lib/amd64/crt1x.o: in function `_start': fsr.s:(.text+0x3b): undefined reference `main' make[1]: *** [xml_node.o] error 2 make[1]: leaving directory `/home/wani/gsoc/exiv2-trunk/trunk/xmpsdk/src' make: *** [xmpsdk] error 2 [wani@linux trunk]$  

can tell exact problem here?

the same source when compiled gcc gives no error , compiles successfully.


Comments

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -