Date: Sun, 23 Aug 2020 22:14:25 +0200 From: Kurt Jaeger <pi@freebsd.org> To: freebsd-ports@freebsd.org Subject: Re: x11-wm/piewm: "ld: error: duplicate symbol: yylineno" Message-ID: <20200823201425.GL3539@home.opsec.eu> In-Reply-To: <20200823193504.GB5141@albert.catwhisker.org> References: <20200823193504.GB5141@albert.catwhisker.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi! > | A quick fix is to add CFLAGS+=-fcommon to your make.conf, but that is > | rather a big hammer. It is better to add it to just the ports that show > | problems due to duplicated symbols. And ideally, those duplicated > | symbols should be patched out of the ports. > > So: apparently *a* way around this is to change the Makefile (to > include 'CFLAGS+=-fcommon') -- but I don't know if a "better" approach > is feasible: we are dealing with some rather old (or, perhaps, > "well-established") code, here. > > Advice/suggestions? It's just as it says: Commit the fix with -fcommon, and then fix the code, if you can 8-} -- pi@opsec.eu +49 171 3101372 Now what ?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200823201425.GL3539>