cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [OFF-TOPIC] need to redeclare a function

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 12 Jul 2007 10:31:10 -0700

On Thu, Jul 12, 2007 at 06:39:55PM +0200, Patrick Monnerat wrote:
> If the netware.h inclusion generates code using its own definition, then
> you will have a link error on symbol RunningProcessDummy... In this
> case, I do not have any other clever idea for your problem !

You will probably still have a problem while linking, because both OpenSSL
and Netware will be exporting a RunningProcess and the linker can link your
code to only one of them. You might still be able to make it work by
introducing load-order dependencies, or statically linking to one of the
libraries and hiding unneeded global exports, or linking the two libraries
with the -Bsymbolic flag in conjunction with one of these other methods,
or doing an incremental link of your app with one of the libraries before
a full link. In the worst-case scenario you can always edit the OpenSSL
source to rename that definition :^)

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2007-07-12