ld error

Kevin Kofler kevin.kofler at chello.at
Sun Mar 20 03:03:48 UTC 2011

Przemek Klosowski wrote:

> On 03/11/2011 10:58 AM, Alain Portal wrote:
>> Le vendredi 11 mars 2011 14:58:03, Stephen Gallagher a écrit :
>>> On 03/11/2011 08:12 AM, Alain Portal wrote:
>>>> Hi,
>>>> I trying to update kicad but the built fails with a ld error:
>>>> http://koji.fedoraproject.org/koji/taskinfo?taskID=2903979
>>>> and I don't succeed to fix it.
>>>> Can somebody help me?
>>> Looks like you're not linking in BOARD::GetLayerColor(int) and
>>> BOARD::GetLayerName(int) const correctly. You should figure out what
>>> library or object file provides those and make sure they're listed in
>>> the linking step.
>> These functions are provided by pcbnew/class_board.cpp and I don't know
>> how to act on the linking step.
> class_board.cpp.o is placed in libpcbcommon.o but the failing link step,
> creating eeschema, only links to libcommon.o

Regression caused by this upstream commit:

This moves class_layerchoicebox.cpp from pcbnew to common without realizing
that it depends on stuff from pcbnew.

        Kevin Kofler

More information about the devel mailing list