FAQ
G'day

I'm having problems with the compliing complaining about conflicting
types for strerror.c.
Any pointers on how to resolve it?

Extract of compile.

make[2]: Entering directory `/c/usr/src/postgresql-8.1.4/src/port'
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
-I../../src/port -DFRONTEND -I../../src/include
-I./src/include/port/win32 -DEXEC_BACKEND
"-I../../src/include/port/win32" -c -o strerror.o strerror.c
strerror.c:15: error: conflicting types for '_sys_errlist'
c:/msys/1.0/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/stdlib.h:197:
error: previous declaration of '_sys_errlist' was here

[snipped]

Thanks in advance

Search Discussions

  • Keith Hutchison at Aug 31, 2006 at 4:04 am
    Was able to compile Postgresql-8.1.3 with msys and mingw.
    On 8/31/06, Keith Hutchison wrote:
    G'day

    I'm having problems with the compliing complaining about conflicting
    types for strerror.c.
    Any pointers on how to resolve it?

    Extract of compile.

    make[2]: Entering directory `/c/usr/src/postgresql-8.1.4/src/port'
    gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
    -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
    -I../../src/port -DFRONTEND -I../../src/include
    -I./src/include/port/win32 -DEXEC_BACKEND
    "-I../../src/include/port/win32" -c -o strerror.o strerror.c
    strerror.c:15: error: conflicting types for '_sys_errlist'
    c:/msys/1.0/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/stdlib.h:197:
    error: previous declaration of '_sys_errlist' was here

    [snipped]

    Thanks in advance

    --
    Keith Hutchison
    http://balance-infosystems.com http://realopen.org

    --
    Keith Hutchison
    http://balance-infosystems.com http://realopen.org
    http://www.kasamba.com/Keith-Hutchison

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppgsql-ports @
categoriespostgresql
postedAug 31, '06 at 3:11a
activeAug 31, '06 at 4:04a
posts2
users1
websitepostgresql.org
irc#postgresql

1 user in discussion

Keith Hutchison: 2 posts

People

Translate

site design / logo © 2022 Grokbase