Return-Path: owner-postman Received: from localhost (localhost [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id EAA09049 for postgres-redist; Fri, 24 Jun 1994 04:44:36 -0700 Resent-From: POSTGRES mailing list Resent-Message-Id: <199406241144.EAA09049@nobozo.CS.Berkeley.EDU> X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host localhost didn't use HELO protocol Sender: owner-postman@postgres.Berkeley.EDU X-Return-Path: owner-postman Received: from mailgzrz.TU-Berlin.DE (mailgzrz.TU-Berlin.DE [130.149.4.10]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id EAA09036 for ; Fri, 24 Jun 1994 04:40:20 -0700 Received: from marie.physik.TU-Berlin.DE by mailgzrz.TU-Berlin.DE (5.65c/ZRZ-MX) for id AA21628; Fri, 24 Jun 1994 13:35:38 +0200 Received: by marie.physik.tu-berlin.de (5.0/SMI-SVR4) id AA22297; Fri, 24 Jun 1994 13:31:39 --100 From: wpp@marie.physik.tu-berlin.de (Kai Petzke) Message-Id: <9406241131.AA22297@marie.physik.tu-berlin.de> Subject: Re: Binding libs... To: joerg.plewe@mpi-dortmund.mpg.de (J.Plewe) Date: Thu, 23 Jun 1994 12:55:11 +0200 (MET DST) Cc: postgres@postgres.Berkeley.EDU In-Reply-To: <9406220900.AA03601@dl.mpi-dortmund.mpg.de> from "J.Plewe" at Jun 22, 94 11:00:10 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 802 Resent-To: postgres-redist@postgres.Berkeley.EDU Resent-Date: Fri, 24 Jun 94 04:44:36 -0700 Resent-XMts: smtp > Using the load-command postgres either complains too few symbols, > when I have not linked circle.o with my lib; > or it complains about multiple defined symbols. > > The problem I think is that some libs use symbols already used > with postgres; in my case e.g. 'circf' and others. [...] There is no easy answer to your question. A few possibilities: - If only a few symbols are in your way, write sed scripts, which replace them with something different. Eg.: s/\(^|[^a-zA-Z_0-9]\)circf\($|[^a-zA-Z_0-9]\)/PG_&/g and apply them to all affected files of the source tree. - Get the "binutils" source code (from the GCC/src directory of almost any linux ftp server) and hack the "strip" command so it allows to specify a set of symbol names, which should not be stripped. Kai ============================================================================== 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. ==============================================================================