Re: Re: pgsql + qnx - Mailing list pgsql-ports
From | Bruce Momjian |
---|---|
Subject | Re: Re: pgsql + qnx |
Date | |
Msg-id | 200105220433.f4M4XXi00421@candle.pha.pa.us Whole thread Raw |
In response to | Re: pgsql + qnx ("Tegge, Bernd" <tegge@repas-aeg.de>) |
Responses |
Re: Re: pgsql + qnx
|
List | pgsql-ports |
Your patch has been added to the PostgreSQL unapplied patches list at: http://candle.pha.pa.us/cgi-bin/pgpatches I will try to apply it withing the next 48 hours. > 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 <mailto:kardos@repas-aeg.de>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. > > ><<mailto:kardos@dragon.dr.repas.de>kardos@dragon.dr.repas.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 > >make > > 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 > >`/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 > 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/ [ Attachment, skipping... ] [ Attachment, skipping... ] > > ---------------------------(end of broadcast)--------------------------- > TIP 6: Have you searched our list archives? > > http://www.postgresql.org/search.mpl -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
pgsql-ports by date: