Re: [HACKERS] Problem with interfaces/ecpg/lib/Makefile.in in PostgreSQL 6.4.

From: Michael Meskes <meskes(at)usa(dot)net>
To: hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Problem with interfaces/ecpg/lib/Makefile.in in PostgreSQL 6.4.
Date: 1998-10-17 19:22:56
Message-ID: 19981017212256.B1931@usa.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-interfaces

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(dot)Meskes(at)mummert(dot)de | Go Rhein Fire!
Mummert+Partner | private: Michael(dot)Meskes(at)usa(dot)net | Use Debian
Unternehmensberatung AG | Michael(dot)Meskes(at)gmx(dot)net | GNU/Linux!

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Billy G. Allie 1998-10-17 23:18:22 Re: [HACKERS] Problem with interfaces/ecpg/lib/Makefile.in in PostgreSQL 6.4.
Previous Message Billy G. Allie 1998-10-17 18:49:04 TCL/TK configuration fixes for PostgreSQL 6.4

Browse pgsql-interfaces by date

  From Date Subject
Next Message Herouth Maoz 1998-10-18 09:49:19 Re: [INTERFACES] LiveWire Javascript and PGSQL
Previous Message Billy G. Allie 1998-10-17 18:29:06 Problem with interfaces/ecpg/lib/Makefile.in in PostgreSQL 6.4.