0

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

我的平台:Fedora 17 64 位

以下命令有效:

./configure CXX=/opt/oracle/solarisstudio12.3/bin/CC \
     CC=/opt/oracle/solarisstudio12.3/bin/cc CXXFLAGS="-v -library=stlport4"

但是当我做时,我得到了错误:

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 to ld, if ld is invoked, ignored otherwise
/opt/oracle/solarisstudio12.3/prod/lib/amd64/crt1x.o: In function `_start':
fsr.s:(.text+0x3b): undefined reference to `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]$ 

谁能告诉这里的确切问题是什么?

使用 GCC 编译时相同的源代码没有错误并且编译成功。

4

0 回答 0