httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@engelschall.com (Ralf S. Engelschall)
Subject Re: Naming conflicts
Date Fri, 27 Feb 1998 17:34:13 GMT

In article <9802271532.AA09293@gensym1.gensym.com> you wrote:

> Can somebody slip this in?

>> Could we add a line in conf.h.
>> 
>>     #include <hide.h>
>> 
>> Then add that file:
>> ---
>> /* File: hide.h */
>> 
>> /* This file solves one problem.  You want to link
>>  * Apache with libcool.a which you got from Cool Inc.
>>  * but sadly when you did that you get a link time
>>  * error like:
>>  *  "http_request.o Definition of symbol 'process_request' (multiply defined)"
>>  *
>>  * At that point you revise this file to hide that symbol
>>  *   #define process_request apache_process_request  /* libcool conflicts */
>>  *
>>  * This makes debugging more tedious, but leaves the
>>  * sources kind of readable.
>>  * 
>>  * If you think your libcool is sufficently popular
>>  * then send a patch back to the Apache Group.
>>  */
>> 
>> #define make_array apache_make_array /* libgsi conflicts */
>
> I believe this is a fair summary of the previous (see nh9802) discussion...
> From: rse@engelschall.com (Ralf S. Engelschall)
>> +1 for the idea, because the same approach Perl already uses with its...
> From: Jim Jagielski <jim@jaguNET.com>
>> I like. +1
> From: Rodent of Unusual Size <Ken.Coar@Golux.Com>
>> +1 for this, then, at least for 1.3.  Maybe even 2.0 - but let...
> From: Manoj Kasichainula <manojk@io.com>
>> It's kind of confusing if you're not expecting it, but it seems pretty
>> useful.

Yeah, I still think its a good idea, so I'll do it in the next days.  But I
really want this hide.h automatically or at least semi-automatically generated
out of some `nm'-output, etc. Or at least it should contain a complete list of
redefinitions of exported symbols. I'll give it a try...

Greetings,
                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com

Mime
View raw message