pg.ddx.io pgsql-interfaces@postgresql.org mailing list archivehelp / color / mirror / Atom feed
Problem with interfaces/ecpg/lib/Makefile.in in PostgreSQL 6.4. 2+ messages / 2 participants [nested] [flat]
* Problem with interfaces/ecpg/lib/Makefile.in in PostgreSQL 6.4. @ 1998-10-17 18:29 Billy G. Allie <Bill.Allie@mug.org> 1998-10-17 19:22 ` Re: [HACKERS] Problem with interfaces/ecpg/lib/Makefile.in in PostgreSQL 6.4. Michael Meskes <meskes@usa.net> 0 siblings, 1 reply; 2+ messages in thread From: Billy G. Allie @ 1998-10-17 18:29 UTC (permalink / raw) To: hackers@postgresql.org; +Cc: patches@postgresql.org; pgsql-interfaces 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:^ permalink raw reply [nested|flat] 2+ messages in threaduw7-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 $@
* Re: [HACKERS] Problem with interfaces/ecpg/lib/Makefile.in in PostgreSQL 6.4. 1998-10-17 18:29 Problem with interfaces/ecpg/lib/Makefile.in in PostgreSQL 6.4. Billy G. Allie <Bill.Allie@mug.org> @ 1998-10-17 19:22 ` Michael Meskes <meskes@usa.net> 0 siblings, 0 replies; 2+ messages in thread From: Michael Meskes @ 1998-10-17 19:22 UTC (permalink / raw) To: hackers@postgreSQL.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! ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~1998-10-17 19:22 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 1998-10-17 18:29 Problem with interfaces/ecpg/lib/Makefile.in in PostgreSQL 6.4. Billy G. Allie <Bill.Allie@mug.org> 1998-10-17 19:22 ` Michael Meskes <meskes@usa.net>
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