gEDA-dev: [Filtered!] Strange results running gsch2pcb on the attached file.....

Dan McMahill dan at mcmahill.net
Tue Sep 12 22:08:25 EDT 2006


Peter Clifton wrote:
> On Fri, 2006-09-08 at 09:18 -0400, John Luciani wrote:
>> On 9/8/06, Peter Clifton <pcjc2 at cam.ac.uk> wrote:
>>> Hi,
>>>
>>> This attached schematic file is giving me really strange results:
>>>
>>> I'm using:
>>>
>>> gsch2pcb -o untitled-1 test-1.sch
>>>
>>> Consistently... the component "R2" gets output in PCB with name "5511".
>> Does R3 also get named "5511" or is it just R2?
>>
>> I do not have the footprints for "ACY300" so I changed the R2 and R3 footprints
>> for "0805" and R2 and R3 were named "unknown". If ACY300 is generated using
>> m4 you may want to check the macro code.
> 
> Executing the attached trouble.m4 reproduces the problem with this
> command:
> 
> m4 -I /usr/local/share/pcb/m4 /usr/local/share/pcb/m4/common.m4
> trouble.m4
> 
> BUT: If I remove the first line, the "PKG_0805(`0805',`R4',`unknown')",
> it goes away... how odd!

Just one of the reasons I want to move the invocation of m4 to build 
time.  As you've surely noticed by now, R4 is probably used in the 
internal macro for something and gets expanded.  There are certainly 
some quoting issues in the library that show up when called on more than 
1 footprint at a time.

-Dan



More information about the geda-dev mailing list