help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: multiple definition of funcion


From: Paul Pluzhnikov
Subject: Re: multiple definition of funcion
Date: Wed, 07 Sep 2005 08:04:52 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux)

"chris" <chrisj@thecyberpunk.com> writes:

> I can't figure out what to do to solve this conflict.

You have to rename one of the functions: as is, the two libraries
are not link-compatible.

One way to perform this rename is to recompile one of the libraries
from source, and rename all instances of list_delete in that source.

Alternatively, 'objcopy --redefine-sym' should solve your problem.
>From 'man objcopy':

   --redefine-sym old=new
       Change the name of a symbol old, to new.  This can be useful  when
       one  is  trying  link  two  things  together for which you have no
       source, and there are name collisions.

Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]