x11-wm/piewm: "ld: error: duplicate symbol: yylineno"

Kurt Jaeger pi at freebsd.org
Sun Aug 23 20:14:36 UTC 2020


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 at opsec.eu            +49 171 3101372                    Now what ?


More information about the freebsd-ports mailing list