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

Re: [MiNT] Error in SDL-1.2.13-1.m68kmint.rpm



Am Montag, den 21.06.2010, 11:47 +0200 schrieb Vincent Rivière
<vincent.riviere@freesbee.fr>:
> m0n0 wrote:

> Once again, you don't tell us which function it is about...
> 
> Normally, adding a library multiple times on the command line should not

> cause any problem, because the library contents are used only if they 
> are required.
> If removing the last -lgem solved a multiple definition issue, there is 
> a problem somewhere, we should understand what happens now or we will 
> have trouble one day.

I can't say for sure that it solved the problem - maybe it was
coincidence.

The method ld was complaining about was "vq_calibrate". 
The function was printed to the screen for 2 times. Sorry, can't rember
the string correctly.

Error was like this: 
/usr/lib//libgem.a: multiple definition of `vq_calibrate'
some_object_file_in_libgem.a:(.text+0x00):
first defined here
(.text+0x00): /usr/lib//libgem.a: multiple definition of `vq_calibrate'
some_object_file_in_libgem_maybe_or_maybe_not_the_same_as_above.a:(.text+0x00):
first defined here

Greets,
Ole