Unable to compile in RedHat 6.0

From: Claudio R Zamana <zamana(at)that(dot)com(dot)br>
To: pgsql-ports(at)postgresql(dot)org
Subject: Unable to compile in RedHat 6.0
Date: 1999-07-12 21:43:47
Message-ID: Pine.LNX.4.10.9907121815480.5313-101000@zamana.nibble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
stdlib.h.tgz application/octet-stream 7.1 KB

Browse pgsql-ports by date

  From Date Subject
Next Message Claudio R Zamana 1999-07-12 21:49:53 subscribe pgsql-ports
Previous Message Uncle George 1999-07-10 22:01:44 Alpha Port/RH60/PG6.5