pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Meskes <meskes@usa.net>
To: hackers@postgreSQL.org
Subject: Re: [HACKERS] Problem with interfaces/ecpg/lib/Makefile.in in PostgreSQL 6.4.
Date: Sat, 17 Oct 1998 21:22:56 +0200
Message-ID: <19981017212256.B1931@usa.net> (raw)
In-Reply-To: <199810171829.OAA24376@bgalli.mug.org>
References: <199810171829.OAA24376@bgalli.mug.org>

On Sat, Oct 17, 1998 at 02:29:06PM -0400, Billy G. Allie wrote:
> The make file for interfaces/ecpg/lib cuased the following problem:
> 
> gmake[3]: *** No rule to make target `ecpglib.sho.o', needed by `libecpg.so.1'.

Is this still in there? I had a fix for this in m ylast patch. 

> The following patch will fix the problem.  It works by removing the need for 
> the *.sho files, which seems to be only used to create the shared libraries.  

The *.sho are needed. It seems much easier to just remove the .o after the
.sho.

> These files are not needed since the ecpglib.o and typename.o files will be 
> built correctly for inclusion to the shared libraries because CFLAGS_SL are 
> added to CFLAGS if the systems is one of the systems supporting shared 
> libraries.

I'm afraid that's not true. The .o files are for the static library. The .sho
files are compiled with -fpic instead so they are better suited for the
shared library.

Michael

-- 
Dr. Michael Meskes      | Th.-Heuss-Str. 61, D-41812 Erkelenz | Go SF49ers!
Senior-Consultant       | business: Michael.Meskes@mummert.de | Go Rhein Fire!
Mummert+Partner         |  private: Michael.Meskes@usa.net    | Use Debian
Unternehmensberatung AG |           Michael.Meskes@gmx.net    | GNU/Linux!



view thread (2+ messages)

Message-ID: <19981017212256.B1931@usa.net>
Permalink:  ../19981017212256.B1931@usa.net/
Also on:    postgresql.org/message-id/19981017212256.B1931@usa.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: meskes@usa.net, hackers@postgreSQL.org
  Subject: Re: [HACKERS] Problem with interfaces/ecpg/lib/Makefile.in in PostgreSQL 6.4.
  In-Reply-To: <19981017212256.B1931@usa.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox