help-gnu-utils
[Top][All Lists]
Advanced

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

Re: ar and library


From: Andrei Voropaev
Subject: Re: ar and library
Date: 20 May 2005 08:13:27 GMT
User-agent: slrn/0.9.8.1 (Linux)

On 2005-05-20, marcodepe@tiscali.it <marcodepe@tiscali.it> wrote:
> Trying to make a library by some obj file under GNU environment
> and using Ar i found the following error:
>
>
> duplicate symbol _CardStatusCode_parsedump in modules
>
>
> I know this function has been defined twice but I cannot modify
> the cpp files.
>
>
> I need, if exists, an ar option wich allows me to ignore the
> problem. Does it exist? 

You need to decide which of the functions shall actually be used when
your archive is linked against. Then take the object file that defines
the function that you don't want and use objcopy with -L option. This
will make conflicting option local to that object file.

-- 
Minds, like parachutes, function best when open


reply via email to

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