[cairo] Fwd: compiling cairo with intel compiler
ya afshar
ya.afshar at gmail.com
Mon Mar 14 23:56:40 PDT 2011
---------- Forwarded message ----------
From: ya afshar <ya.afshar at gmail.com>
Date: Sun, Mar 13, 2011 at 4:19 PM
Subject: compiling cairo with intel compiler
To: cairo at cairographics.org
To whom it may concern,
Dear all,
Has any one succeeded to compile cairo using intel compiler???
I have compiled all the prerequisite with no problem at all, but when I
wanted to compile cairo itself , I stuck with the strange error.
As far as I searched I could not find any solution, I could not find
anything.
Please help me I am really miserable and in urgent need to compile cairo.
My compiler is intel compiler version 11.1 on Rocks cluster version 5.4
based on Centos 5.5
My configuration is :
export CC=icc
export CXX=icpc
export FC=ifort
export F77=ifort
export F90=ifort
export FFLAGS='-fPIC -L/usr/lib64'
export F90FLAGS='-fPIC -L/usr/lib64'
export CFLAGS='-O -ansi -fPIC -L/usr/lib64'
export CXXFLAGS='-O -ansi -fPIC -L/usr/lib64'
export CPPFLAGS='-DNDEBUG -L/usr/lib64'
export PKG_CONFIG_PATH=/opt/NCL/lib/pkgconfig
export PATH=/opt/NCL/bin:$PATH
./configure --prefix=/opt/NCL
make
make check
The make part will proceed with no problem at all but the error will occur
at make check.
That is:
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/crt1.o: In function
`_start':
(.text+0x20): undefined reference to `main'
CHECK cairo-svg-surface-private.h
./cairo-wideint-type-private.h(125): remark #193: zero used for undefined
preprocessing identifier "HAVE___UINT128_T"
#if HAVE___UINT128_T && !HAVE_UINT128_T
^
./cairo-wideint-type-private.h(131): remark #193: zero used for undefined
preprocessing identifier "HAVE_UINT128_T"
#if !HAVE_UINT128_T
^
./cairo-atomic-private.h(104): remark #193: zero used for undefined
preprocessing identifier "HAVE_LIB_ATOMIC_OPS"
#if HAVE_LIB_ATOMIC_OPS
^
./cairo-atomic-private.h(133): remark #193: zero used for undefined
preprocessing identifier "HAVE_OS_ATOMIC_OPS"
#if HAVE_OS_ATOMIC_OPS
^
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/crt1.o: In function
`_start':
(.text+0x20): undefined reference to `main'
make[2]: *** [headers-standalone] Error 1
make[2]: Leaving directory `/state/partition1/Files/NCL/cairo-1.10.2/src'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/state/partition1/Files/NCL/cairo-1.10.2'
make: *** [check] Error 2
I hope some one could give me a hint or something.
Thank you very much.
Regards,
yas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20110315/63aca3de/attachment.htm>
More information about the cairo
mailing list