Return-Path: owner-postman Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.9/8.6.3) with SMTP id FAA17777 for postgres-redist; Wed, 1 Feb 1995 05:04:36 -0800 Resent-From: POSTGRES mailing list Resent-Message-Id: <199502011304.FAA17777@nobozo.CS.Berkeley.EDU> X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host localhost.Berkeley.EDU didn't use HELO protocol Sender: owner-postman@postgres.Berkeley.EDU X-Return-Path: owner-postman Received: from wins.uia.ac.be (wins.uia.ac.be [143.169.1.20]) by nobozo.CS.Berkeley.EDU (8.6.9/8.6.3) with SMTP id FAA17767 for ; Wed, 1 Feb 1995 05:04:28 -0800 Received: by wins.uia.ac.be (5.0/SMI-SVR4) id AA01705; Wed, 1 Feb 1995 13:31:30 +0100 Date: Wed, 1 Feb 1995 13:31:30 +0100 (MET) From: "Dieter.Pfoser" X-Sender: "Dieter.Pfoser" Reply-To: "Dieter.Pfoser" Subject: ad. Type Circle doesn't work To: Postgres Mailing List Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII content-length: 0 Resent-To: postgres-redist@postgres.Berkeley.EDU Resent-Date: Wed, 01 Feb 95 05:04:36 -0800 Resent-XMts: smtp A few days ago I placed I mail that I can't get the example type circle to work. I found a solution for this problem. You have to compile the circle.c file with the option -munaligned-doubles!!! I used the following statement: INCLUDE=/usr/local/postgres/src/backend CC= /usr/local/postgres/bin/gcc fpdist.so: fpdist.o ld -G -Bdynamic -o fpdist.so fpdist.o fpdist.o: fpdist.c $(CC) -g -fPIC -I$(INCLUDE) -munaligned-doubles -c fpdist.c The compiler in this case is the modified gcc 2.5.8. I also checked it out with gcc 2.6.1 and it works too. Dieter Pfoser University of Antwerp, Belgium ============================================================================== To add/remove yourself to/from the POSTGRES mailing list: send mail with the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU". If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and a human will deal with it. DO NOT post to the "postgres" mailing list. ============================================================================== URL: http://s2k-ftp.CS.Berkeley.EDU:8000/postgres/