Unable to compile in RedHat 6.0 - Mailing list pgsql-ports

From Claudio R Zamana
Subject Unable to compile in RedHat 6.0
Date
Msg-id Pine.LNX.4.10.9907121815480.5313-101000@zamana.nibble.com
Whole thread Raw
List pgsql-ports
    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.

Attachment

pgsql-ports by date:

Previous
From: Uncle George
Date:
Subject: Alpha Port/RH60/PG6.5
Next
From: Claudio R Zamana
Date:
Subject: subscribe pgsql-ports