Обсуждение: Error message
Hi there, I was told by an error message during the installation process to report a bug to this email address. > In file included from ../../../../src/include/storage/spin.h:50: > ../../../../src/include/storage/s_lock.h:543:2: error: PostgreSQL does > not have native spinlock support on this platform. To continue > the compilation, rerun configure using --disable-spinlocks. > However, performance will be poor. Please report this to > pgsql-bugs@postgresql.org. > #error PostgreSQL does not have native spinlock support on thi... > ^ > ../../../../src/include/storage/s_lock.h:551:25: error: typedef > redefinition with different types ('PGSemaphoreData' > (aka 'int *') vs 'unsigned char') > typedef PGSemaphoreData slock_t; > ^ > ../../../../src/include/pg_config_os.h:11:23: note: previous > definition is here > typedef unsigned char slock_t; > ^ > 2 errors generated. > make[4]: *** [xlog.o] Error 1 > make[3]: *** [transam-recursive] Error 2 > make[2]: *** [access-recursive] Error 2 > make[1]: *** [all] Error 2 > make: *** [all] Error 2 Hope that helps somehow! Let me know if you need anything else. Thanks for your work. -- Danny Gibson Loyola Marymount '15 Computer Science and Varsity Track
Hi, On 2014-09-22 21:36:34 -0700, Danny Gibson wrote: > I was told by an error message during the installation process to report a > bug to this email address. > >In file included from ../../../../src/include/storage/spin.h:50: > >../../../../src/include/storage/s_lock.h:543:2: error: PostgreSQL does > > not have native spinlock support on this platform. To continue > > the compilation, rerun configure using --disable-spinlocks. > > However, performance will be poor. Please report this to > > pgsql-bugs@postgresql.org. > >#error PostgreSQL does not have native spinlock support on thi... Which OS/architecture/compiler is this with? Compiling which version of postgres? > >../../../../src/include/storage/s_lock.h:551:25: error: typedef > > redefinition with different types ('PGSemaphoreData' > > (aka 'int *') vs 'unsigned char') > >typedef PGSemaphoreData slock_t; > > ^ > >../../../../src/include/pg_config_os.h:11:23: note: previous > > definition is here > >typedef unsigned char slock_t; Either way, these shouldn't be visible in that case. Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services