Compiling errors on RedHat 5.1

Поиск
Список
Период
Сортировка
От Constantin Teodorescu
Тема Compiling errors on RedHat 5.1
Дата
Msg-id 362367EB.E76C6B84@flex.ro
обсуждение исходный текст
Список pgsql-hackers
I am using a i386 machine with RedHat 5.1 installed.

Trying to recompile the 6.3.2 version of PostgreSQL I found the
following errors :

gcc -I../../../include -I../../../backend     -Wall -Wmissing-prototypes
-I../..   -c ipc.c -o ipc.o
In file included from /usr/include/sys/sem.h:31,
                 from ipc.c:38:
/usr/include/sys/sem_buf.h:57: redefinition of `union semun'
make[3]: *** [ipc.o] Error 1


and also

gcc -I../../../include -I../../../backend     -Wall -Wmissing-prototypes
-I../..   -c proc.c -o proc.o
In file included from /usr/include/sys/sem.h:31,
                 from proc.c:71:
/usr/include/sys/sem_buf.h:57: redefinition of `union semun'
make[3]: *** [proc.o] Error 1


From that point, the compilation was aborted.


Any clues ?

Please cc: me directly to teo@flex.ro

--
Constantin Teodorescu
FLEX Consulting Braila, ROMANIA

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Constantin Teodorescu
Дата:
Сообщение: pgtclCmds.c has bugs that have been removed once !!!!!!
Следующее
От: "Matthew N. Dodd"
Дата:
Сообщение: Re: [HACKERS] dynamic libraries