[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Multiple definition of Symbol x (from mathlib) when compiling for 68020-60
Am Samstag, den 19.06.2010, 15:59 +0200 schrieb Vincent Rivière
<vincent.riviere@freesbee.fr>:
> IMHO, while tan() is provided by the math lib, it should not be defined
> inside NetSurf...
The problem appeared, vanished strangely and I don't really know why.
Probably it has something to do with the combination of -m68020-60, fdlibm
and this patch:
#ifdef __MINT__
#undef min
#define min(a,b) ((a)<(b)?(a):(b))
#undef max
#define max(a,b) ((a)>(b)?(a):(b))
#ifndef ceilf
#define ceilf(x) (float)ceil((double)x)
#endif
#endif
It links now without error, using pmlib, -m68020-60 and the above
mentioned patch.