pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libffi won't build on SunOS (Openindiana/Illumos)



I'm trying to build libffi on SunOS (Openindiana/Illumos), but I get this
error:

                 from ./include/ffi.h:73,
                 from src/java_raw_api.c:38:
/opt/ipp/pkgsrc/devel/libffi/work/.buildlink/gcc34/lib/gcc/i386-pc-solaris2.11/3.4.6/include/syslimits.h:43:
warning: ignoring #pragma ident
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -Iinclude -I./src
-I/opt/ipp/pkgsrc/devel/libffi/work/.buildlink/gcc34/include
-I/opt/ipp/pkgsrc/devel/libffi/work/.buildlink/gcc34/lib/gcc/i386-pc-solaris2.11/3.4.6/include
-I/opt/ipp/pkgsrc/devel/libffi/work/.buildlink/include -Wall -g -fexceptions
-O -MT src/java_raw_api.lo -MD -MP -MF src/.deps/java_raw_api.Tpo -c
src/java_raw_api.c -o src/java_raw_api.o >/dev/null 2>&1
depbase=`echo src/closures.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;
/opt/ipp/pkg/bin/pdksh ./libtool --tag=CC    --mode=compile gcc
-DHAVE_CONFIG_H -I.   -I. -I./include -Iinclude -I./src
-I/opt/ipp/pkg/gcc34/include
-I/opt/ipp/pkg/gcc34/lib/gcc/i386-pc-solaris2.11/3.4.6/include
-I/usr/include -I/opt/ipp/pkg/include -Wall -g -fexceptions -O
-I/opt/ipp/pkg/gcc34/include
-I/opt/ipp/pkg/gcc34/lib/gcc/i386-pc-solaris2.11/3.4.6/include
-I/usr/include -I/opt/ipp/pkg/include -MT src/closures.lo -MD -MP -MF
$depbase.Tpo -c -o src/closures.lo src/closures.c && mv -f $depbase.Tpo
$depbase.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -Iinclude -I./src
-I/opt/ipp/pkgsrc/devel/libffi/work/.buildlink/gcc34/include
-I/opt/ipp/pkgsrc/devel/libffi/work/.buildlink/gcc34/lib/gcc/i386-pc-solaris2.11/3.4.6/include
-I/opt/ipp/pkgsrc/devel/libffi/work/.buildlink/include -Wall -g -fexceptions
-O -MT src/closures.lo -MD -MP -MF src/.deps/closures.Tpo -c src/closures.c
-fPIC -DPIC -o src/.libs/closures.o
In file included from
/opt/ipp/pkgsrc/devel/libffi/work/.buildlink/gcc34/lib/gcc/i386-pc-solaris2.11/3.4.6/include/limits.h:11,
                 from ./include/ffi.h:73,
                 from src/closures.c:32:
/opt/ipp/pkgsrc/devel/libffi/work/.buildlink/gcc34/lib/gcc/i386-pc-solaris2.11/3.4.6/include/syslimits.h:43:
warning: ignoring #pragma ident
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -Iinclude -I./src
-I/opt/ipp/pkgsrc/devel/libffi/work/.buildlink/gcc34/include
-I/opt/ipp/pkgsrc/devel/libffi/work/.buildlink/gcc34/lib/gcc/i386-pc-solaris2.11/3.4.6/include
-I/opt/ipp/pkgsrc/devel/libffi/work/.buildlink/include -Wall -g -fexceptions
-O -MT src/closures.lo -MD -MP -MF src/.deps/closures.Tpo -c src/closures.c
-o src/closures.o >/dev/null 2>&1
depbase=`echo src/x86/ffi.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;
/opt/ipp/pkg/bin/pdksh ./libtool --tag=CC    --mode=compile gcc
-DHAVE_CONFIG_H -I.   -I. -I./include -Iinclude -I./src
-I/opt/ipp/pkg/gcc34/include
-I/opt/ipp/pkg/gcc34/lib/gcc/i386-pc-solaris2.11/3.4.6/include
-I/usr/include -I/opt/ipp/pkg/include -Wall -g -fexceptions -O
-I/opt/ipp/pkg/gcc34/include
-I/opt/ipp/pkg/gcc34/lib/gcc/i386-pc-solaris2.11/3.4.6/include
-I/usr/include -I/opt/ipp/pkg/include -MT src/x86/ffi.lo -MD -MP -MF
$depbase.Tpo -c -o src/x86/ffi.lo src/x86/ffi.c && mv -f $depbase.Tpo
$depbase.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -Iinclude -I./src
-I/opt/ipp/pkgsrc/devel/libffi/work/.buildlink/gcc34/include
-I/opt/ipp/pkgsrc/devel/libffi/work/.buildlink/gcc34/lib/gcc/i386-pc-solaris2.11/3.4.6/include
-I/opt/ipp/pkgsrc/devel/libffi/work/.buildlink/include -Wall -g -fexceptions
-O -MT src/x86/ffi.lo -MD -MP -MF src/x86/.deps/ffi.Tpo -c src/x86/ffi.c
-fPIC -DPIC -o src/x86/.libs/ffi.o
In file included from
/opt/ipp/pkgsrc/devel/libffi/work/.buildlink/gcc34/lib/gcc/i386-pc-solaris2.11/3.4.6/include/limits.h:11,
                 from ./include/ffi.h:73,
                 from src/x86/ffi.c:37:
/opt/ipp/pkgsrc/devel/libffi/work/.buildlink/gcc34/lib/gcc/i386-pc-solaris2.11/3.4.6/include/syslimits.h:43:
warning: ignoring #pragma ident
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -Iinclude -I./src
-I/opt/ipp/pkgsrc/devel/libffi/work/.buildlink/gcc34/include
-I/opt/ipp/pkgsrc/devel/libffi/work/.buildlink/gcc34/lib/gcc/i386-pc-solaris2.11/3.4.6/include
-I/opt/ipp/pkgsrc/devel/libffi/work/.buildlink/include -Wall -g -fexceptions
-O -MT src/x86/ffi.lo -MD -MP -MF src/x86/.deps/ffi.Tpo -c src/x86/ffi.c -o
src/x86/ffi.o >/dev/null 2>&1
depbase=`echo src/x86/sysv.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;
/opt/ipp/pkg/bin/pdksh ./libtool    --mode=compile gcc -DHAVE_CONFIG_H -I


Home | Main Index | Thread Index | Old Index