[cairo] Fwd: compiling cairo with intel compiler
Andrea Canciani
ranma42 at gmail.com
Tue Mar 15 00:19:47 PDT 2011
On Tue, Mar 15, 2011 at 7:56 AM, ya afshar <ya.afshar at gmail.com> wrote:
>
>
> ---------- 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'
I'm not sure about this, but I believe that this problem might be related to:
http://cgit.freedesktop.org/cairo/commit/?id=90e1ef2d80b252cdc528d8d8d57cace109034e0b
Could you try and compile from the git repository?
Andrea
More information about the cairo
mailing list