--- In [email protected], "ppfromero" <[EMAIL PROTECTED]> wrote: > > --- In [email protected], "Frank Bennett" <bennett78@> > wrote: > > > > --- In [email protected], "ppfromero" <ppfromero@> wrote: > > > > > > --- In [email protected], "Frank Bennett" <bennett78@> > > > wrote: > > > > > > > > --- In [email protected], "ppfromero" <ppfromero@> > wrote: > > > > > > > > > > Hello, > > > > > > > > > > I'm new kicad user, and I work with windows xp system. I need > to > > > > > translate some files that I make with orcad, and I see in > your > > > group > > > > > messages that exist a solution: edif2kicad. Then I download > the > > > > > version: edifedif2kicad-20071101.tgz, and with msys and mingw > > > tools(I > > > > > change in makefile c by gcc), I try to compile (do make). But > I > > > have > > > > > the message: > > > > > undefined reference to `strndup' > > > > > collect2: ld returned 1 exit status > > > > > make: *** [e2net] Error 1 > > > > > Maybe someone heve an idea or solution > > > > > > > > > > Thanks > > > > > > > > > It appears that msys/mingw dont support strndup. I just > > > > updated the the code to remove this function call and also > > > > added a *.pro output file which mentions the required libs > > > > found in the EDIF file to help with EEschema startup. > > > > Get the update via svn or wait a couple hours for a new > > > > download. > > > > -Frank Bennett > > > > > > > > > > Thanks frank for your response, I wait for new version because I > > > don't know svn. > > > > > > José Romero > > > > > Go download edif2kicad-2007-11-18.tgz > > Let me know how the translation goes. > > o e2sch now produces a starting *.pro project file > > o Have to tell EEschema to ignore the design as a library > > at the first invocation, but just edit/save the config. > > o You will have to edit some symbol pin directions > > > > enjoy, > > -Frank > > Hello Frank, thanks for the new version!!! > > I don't have any problem to compile with mingw/msys. But I have some > problems for the export. > In orcad capture software, I make export, I choose the FILE NAME and > the configure file CAP2EDF.cfg . I obtain the file JTAG.EDF. After > that I make in msys: > > $ e2sch JTAG.EDF > *** C:\msys\1.0\home\Jos Romero\edif2kicad\e2sch.exe Version 0.9 *** > Parsing JTAG.EDF > EdifFileName: JTAG > EdifVersion: 2 0 0 > JTAG.EDF, Line 54: syntax error > Writting Libs > writing DEFAULT.lib 0 parts > BonJour > > I compare BCD.EDF file and JTAG.EDF file and I can't see the > difference. Maybe you have an idea? > > Thanks > It would be best to send me your JTAG.EDF file so I can debug it. If that not acceptable and you want to debug:
o ppedif < JTAG.EDF > JTAG to make the EDIF more readable o e2sch JTAG o now what line doesn't the parser like. o edit JTAG and look around the line reported, verify no spaces in what should be a single string or syntax enclosed by nearest ) or )) o review edif.y for the syntax it doesn't recognize o either fix edif.y or comment out the unrecognizable syntax might have to remove a complete part or instance but this might not be the only problem All pretty confusing if you are not familiar with EDIF or Yacc. -Frank
