Обсуждение: problem with compilation on fedora core 10 64 bit
Hello compilation pg8.4 finished with error make[4]: Leaving directory `/home/pavel/src/pgsql/src/backend/utils/adt' make -C cache all make[4]: Entering directory `/home/pavel/src/pgsql/src/backend/utils/cache' gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -g -I../../../../src/include -D_GNU_SOURCE -I/usr/include/libxml2 -c -o catcache.o catcache.c -MMD -MP -MF .deps/catcache.Po In file included from ../../../../src/include/access/xlog.h:20, from ../../../../src/include/access/hash.h:24, from catcache.c:19: ../../../../src/include/utils/timestamp.h:312: error: expected ')' before 'fcinfo' make[4]: *** [catcache.o] Error 1 make[4]: Leaving directory `/home/pavel/src/pgsql/src/backend/utils/cache' make[3]: *** [cache-recursive] Error 2 make[3]: Leaving directory `/home/pavel/src/pgsql/src/backend/utils' make[2]: *** [utils-recursive] Error 2 make[2]: Leaving directory `/home/pavel/src/pgsql/src/backend' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/pavel/src/pgsql/src' make: *** [all] Error 2 regards Pavel Stehule
Hi, Pavel Stehule wrote: > compilation pg8.4 finished with error Have you tried 'make distclean'? What gcc version is shipped with fc10? I'm building CVS HEAD just fine on debian lenny with gcc 4.3.1. The buildfarm doesn't show any such failure either with various other gcc versions. Regards Markus Wanner
I am sorry - It was noise, probably some fedora update issue, after restart all compilation is done. Regards Pavel Stehule 2008/10/8 Markus Wanner <markus@bluegap.ch>: > Hi, > > Pavel Stehule wrote: >> compilation pg8.4 finished with error > > Have you tried 'make distclean'? > > What gcc version is shipped with fc10? I'm building CVS HEAD just fine > on debian lenny with gcc 4.3.1. The buildfarm doesn't show any such > failure either with various other gcc versions. > > Regards > > Markus Wanner > >
"Pavel Stehule" <pavel.stehule@gmail.com> writes: > compilation pg8.4 finished with error > In file included from ../../../../src/include/access/xlog.h:20, > from ../../../../src/include/access/hash.h:24, > from catcache.c:19: > ../../../../src/include/utils/timestamp.h:312: error: expected ')' > before 'fcinfo' > make[4]: *** [catcache.o] Error 1 That's just bizarre --- how could it possibly fail on that line, if it got through all the earlier declarations successfully? Is this reproducible? Maybe you've got bad cached data somewhere. I see none of the buildfarm machines are unhappy, so a clean CVS checkout presumably will work. regards, tom lane