Am 09:47 21.05.01 +0200 schrieb Kamil Parkanyi:
Hello,
I hope this e-mail will find you...
Yes, I' here :-;
----------
I sent e-mail to kardos@repas-aeg.de but it
returned as undeliverable
---- Recipients of this delivery ----
Anreas has left and is no longer involved with postgres on QNX4.
(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
make
Hello,
I hope this e-mail will find you...
Yes, I' here :-;
----------
I sent e-mail to kardos@repas-aeg.de but it
returned as undeliverable
---- Recipients of this delivery ----
Anreas has left and is no longer involved with postgres on QNX4.
(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
make
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
`/home/Parkanyi/Skusobne/postgresql-7.1/src/backend/access/heap'
*****
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
*****
make
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 <snip>
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
`/home/Parkanyi/Skusobne/postgresql-7.1/src/backend/bootstrap'
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-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
`/home/Parkanyi/Skusobne/postgresql-7.1/src/backend/access/heap'
*****
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
*****
make
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 <snip>
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
`/home/Parkanyi/Skusobne/postgresql-7.1/src/backend/bootstrap'
Untill bootstrap.c the compilation was with no error.
Where I made mistake?
Why there is not definition of symbols above?
been generated by src/backend/utils/Gen_fmgrtab.sh. I don't know why
it did not work.
PS: you can find a plain vanilla binary at http://pweb.uunet.de/tegge.h/