Skip site navigation (1) Skip section navigation (2)

Re: pgsql + qnx

From: "Tegge, Bernd" <tegge(at)repas-aeg(dot)de>
To: "Kamil Parkanyi" <parkanyi(at)procaut(dot)sk>
Cc: pgsql-ports(at)postgresql(dot)org
Subject: Re: pgsql + qnx
Date: 2001-05-21 09:56:28
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-ports
Am 09:47 21.05.01 +0200 schrieb Kamil Parkanyi:
>I hope this e-mail will find you...

Yes, I' here :-;

>I sent e-mail to <mailto:kardos(at)repas-aeg(dot)de>kardos(at)repas-aeg(dot)de  but it 
>returned as undeliverable
>---- Recipients of this delivery ----

Anreas has left and is no longer involved with postgres on QNX4.

><<mailto:kardos(at)dragon(dot)dr(dot)repas(dot)de>kardos(at)dragon(dot)dr(dot)repas(dot)de> (bounced)
>I've tried to port postgresql-7.1 to my QNX 4.25 system.
>I read FAQ_QNX.
>I have Watcom 10.6, Bison 1.28, Flex 2.5.4, Perl 5.6.0, TCP/IP 4.25 for QNX
>/usr/local/ld is link to wlink
>so I run
>./configure --enable-odbc

I haven't tried building postgres with the Watcom compiler for 7.1 because
it does not support 64bit integers. AFAIK that's the default data type for
OIDs, so I am not surprised that this does not work. Use gcc instead.
BTW., 7.1 does not compile as is with gcc either, I believed the
required patches made it into the 7.1.1 release but obviously I missed
the deadline.
Since the ports mailing list does not seem to be archived I have attached
a copy of the patch (for 7.1 and 7.1.1).

Are you trying to use odbc on qnx ? If so, I'd be interested in the
results. I am not aware of anyone having done this before.

>/usr/watcom/10.6/bin/wcc386 -zq -i=../../../../src/include -ms -4r 
>-i=/usr/watcom/10.6/usr/include -i=/usr/include tuptoaster.c
>tuptoaster.c(892): Error! E1011: Symbol 'F_OIDEQ' has not been declared
>tuptoaster.c(983): Error! E1011: Symbol 'F_OIDEQ' has not been declared
>cc: /usr/watcom/10.6/bin/wcc386 exited 2
>make[4]: *** [tuptoaster.o] Error 2
>make[4]: Leaving directory 
>I found on the Internet that this is often compilation error and that in 
>fmgr.h should be
>#define F_OIDEQ 184
>I have only one fmgr.h file in src/include directory so I've added it there
>cc  -I../../../src/include   -c bootstrap.c
>/usr/watcom/10.6/bin/wcc386 -zq -i=../../../src/include -ms -4r 
>-i=/usr/watcom/10.6/usr/include -i=/usr/include bootstrap.c
>bootstrap.c(103): Error! E1011: Symbol 'F_BOOLIN' has not been declared


>bootstrap.c(107): Error! E1011: Symbol 'F_INT2OUT' has not been declared
>bootstrap.c(107): Error! E1054: Expression must be constant
>bootstrap.c(108): Error! E1147: Too many errors: compilation aborted
>cc: /usr/watcom/10.6/bin/wcc386 exited 1
>make[3]: *** [bootstrap.o] Error 1
>make[3]: Leaving directory 
>Untill bootstrap.c the compilation was with no error.
>Where I made mistake?
>Why there is not definition of symbols above?

These constants should be defined in fmgroids.h which should have
been generated by src/backend/utils/ I don't know why
it did not work.

PS: you can find a plain vanilla binary at

Attachment: pgsql-7.1.0-qnx4.diff.gz
Description: application/octet-stream (5.9 KB)
Attachment: pgsql-7.1.1-qnx4.diff.gz
Description: application/octet-stream (5.9 KB)


pgsql-ports by date

Next:From: Peter EisentrautDate: 2001-05-21 14:59:14
Subject: Re: Re: pgsql + qnx
Previous:From: Jukka HonkelaDate: 2001-05-21 09:36:34
Subject: Re: Problems with 7.1.1 rpm with Mandrake 8

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group