Обсуждение: Unable to compile in RedHat 6.0

Поиск
Список
Период
Сортировка

Unable to compile in RedHat 6.0

От
Claudio R Zamana
Дата:
    Hi !

    I'm unable to compile Postgresql 6.5 on my system
due the following error in make:

(...)
make -C port all
make[2]: Entering directory `/usr/src/pgsql/src/backend/port'
gcc -I../../include -I../../backend   -O2 -Wall -Wmissing-prototypes -I..   -c strtol.c -o strtol.o
strtol.c: In function `strtol':
strtol.c:57: argument `nptr' doesn't match prototype
/usr/include/stdlib.h:250: prototype declaration
strtol.c:121: warning: suggest parentheses around && within ||
make[2]: *** [strtol.o] Error 1
make[2]: Leaving directory `/usr/src/pgsql/src/backend/port'
make[1]: *** [port.dir] Error 2
make[1]: Leaving directory `/usr/src/pgsql/src/backend'
make: *** [all] Error 2

    My system:

    RedHat 6.0
    Kernel 2.2.5-15
    i586-MMX - 166Mhz - 48M RAM
    glibc-2.1.1-6
    make-3.77-6
    flex-2.5.4a-6
    egcs-1.1.2-12
    gcc --version -> 2.91.66

    I'm sending, attached to this message, my stdlib.h. Sorry
for any inconvenience.

    Thank you for your attention.


Вложения