pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Billy G. Allie <Bill.Allie@mug.org>
To: hackers@postgresql.org
Cc: patches@postgresql.org
Cc: pgsql-interfaces@postgresql.org
Subject: Problem with interfaces/ecpg/lib/Makefile.in in PostgreSQL 6.4.
Date: Sat, 17 Oct 1998 14:29:06 -0400
Message-ID: <199810171829.OAA24376@bgalli.mug.org> (raw)

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'.

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.  
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.
____       | Billy G. Allie    | Domain....: Bill.Allie@mug.org
|  /|      | 7436 Hartwell     | Compuserve: 76337,2061
|-/-|----- | Dearborn, MI 48126| MSN.......: B_G_Allie@email.msn.com
|/  |LLIE  | (313) 582-1540    | 

Attachments:

uw7-2.patch (application/x-patch, 1.4K) download *** ./src/interfaces/ecpg/lib/Makefile.in.orig Sat Oct 17 14:26:41 1998 --- ./src/interfaces/ecpg/lib/Makefile.in Sat Oct 17 14:23:47 1998 *************** *** 74,84 **** all: lib$(NAME).a $(shlib) ! $(shlib): ecpglib.sho.o typename.sho.o ! $(LD) $(LDFLAGS_SL) -o $@ ecpglib.sho.o typename.sho.o clean: ! rm -f *.o *.sho *.a core a.out *~ $(shlib) lib$(NAME)$(DLSUFFIX) dep depend: --- 74,84 ---- all: lib$(NAME).a $(shlib) ! $(shlib): ecpglib.o typename.o ! $(LD) $(LDFLAGS_SL) -o $@ ecpglib.o typename.o clean: ! rm -f *.o *.a core a.out *~ $(shlib) lib$(NAME)$(DLSUFFIX) dep depend: *************** *** 101,110 **** ecpglib.o : ecpglib.c ../include/ecpglib.h ../include/ecpgtype.h $(CC) $(CFLAGS) -I../include $(PQ_INCLUDE) -c $< -o $@ typename.o : typename.c ../include/ecpgtype.h $(CC) $(CFLAGS) -I../include $(PQ_INCLUDE) -c $< -o $@ - ecpglib.sho : ecpglib.c ../include/ecpglib.h ../include/ecpgtype.h - $(CC) $(CFLAGS) $(CFLAGS_SL) -I../include $(PQ_INCLUDE) -c $< -o $@ - typename.sho : typename.c ../include/ecpgtype.h - $(CC) $(CFLAGS) $(CFLAGS_SL) -I../include $(PQ_INCLUDE) -c $< -o $@ --- 101,107 ---- ecpglib.o : ecpglib.c ../include/ecpglib.h ../include/ecpgtype.h $(CC) $(CFLAGS) -I../include $(PQ_INCLUDE) -c $< -o $@ + typename.o : typename.c ../include/ecpgtype.h $(CC) $(CFLAGS) -I../include $(PQ_INCLUDE) -c $< -o $@

view thread (2+ messages)  latest in thread

Message-ID: <199810171829.OAA24376@bgalli.mug.org>
Permalink:  ../199810171829.OAA24376@bgalli.mug.org/
Also on:    postgresql.org/message-id/199810171829.OAA24376@bgalli.mug.org

 ·  · 

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: Bill.Allie@mug.org, hackers@postgresql.org, patches@postgresql.org
  Subject: Re: Problem with interfaces/ecpg/lib/Makefile.in in PostgreSQL 6.4.
  In-Reply-To: <199810171829.OAA24376@bgalli.mug.org>

* 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