Subject: | compile error: include/unix/../apricot.h:455: error: expected identifier or ‘(’ before numeric constant |
I have error then try compile Prima
x86_64-pc-linux-gnu-gcc -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -Wall -march=athlon64 -msse3 -O2 -pipe
-fPIC -c -Iinclude -Iinclude/generic
-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE
-I/usr/X11R6/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
-DHAVE_CONFIG_H=1 -o unix/apc_clipboard.o unix/apc_clipboard.c
In file included from include/unix/../guts.h:33,
from include/unix/guts.h:94,
from unix/apc_clipboard.c:30:
include/unix/../apricot.h:455: error: expected identifier or ‘(’ before
numeric constant
include/unix/../apricot.h:459: error: expected specifier-qualifier-list
before numeric constant
make: *** [unix/apc_clipboard.o] Error 1
# gcc -v
Using built-in specs.
Target: x86_64-pc-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-4.3.2/work/gcc-4.3.2/configure
--prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.2
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.2
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.2/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.2/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/include/g++-v4
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec
--enable-nls --without-included-gettext --with-system-zlib
--disable-checking --disable-werror --enable-secureplt --enable-multilib
--enable-libmudflap --disable-libssp --enable-libgomp --enable-cld
--disable-libgcj --enable-languages=c,c++,treelang --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.3.2 p1.0'
Thread model: posix
gcc version 4.3.2 (Gentoo 4.3.2 p1.0)
--
Sergiy Borodych