Anthony, The problem is that if empty strings exists at the end of file it cause segmentation fault. When I delete all empty strings, I've got:
$ ./spnet ~/geda/if.sch spNet v0.9.1.2 gEDA/gschem Netlister Copyright 2009 Anthony Shanks -I- Starting Build of Cell: if -I- Adding Library: "sym" -I- Adding Library: "4000" -I- Adding Library: "altera" -I- Adding Library: "apex" -I- Adding Library: "bus" -I- Adding Library: "dec" -I- Adding Library: "font" -I- Adding Library: "IEC417" -I- Adding Library: "lattice" -I- Adding Library: "maxim" -I- Adding Library: "minicircuits" -I- Adding Library: "opto" -I- Adding Library: "power" -I- Adding Library: "rf" -I- Adding Library: "supervisor" -I- Adding Library: "titleblock" -I- Adding Library: "verilog" -I- Adding Library: "74" -I- Adding Library: "amphenol" -I- Adding Library: "asic" -I- Adding Library: "cascade" -I- Adding Library: "diod" -I- Adding Library: "gnetman" -I- Adding Library: "io" -I- Adding Library: "linear" -I- Adding Library: "memory" -I- Adding Library: "misc" -I- Adding Library: "philips" -I- Adding Library: "radio" -I- Adding Library: "spice" -I- Adding Library: "switcap" -I- Adding Library: "transistor" -I- Adding Library: "vhdl" -I- Adding Library: "allegro" -I- Adding Library: "analog" -I- Adding Library: "asicpads" -I- Adding Library: "connector" -I- Adding Library: "ecl" -I- Adding Library: "idt" -I- Adding Library: "irf" -I- Adding Library: "local" -I- Adding Library: "micro" -I- Adding Library: "national" -I- Adding Library: "pla" -I- Adding Library: "relay" -I- Adding Library: "st" -I- Adding Library: "switch" -I- Adding Library: "tube" -I- Adding Library: "xilinx" -I- Combining Cells -E- Fatal Error: Invalid Component. Thanks, Alex. On 06/23/2009 01:10 AM, Anthony Shanks wrote: > Thats really odd, I copied your line directly in my spnetlibs file and > it worked fine. Maybe it's a gcc 4.4 issue? I really need to switch to > gcc4.4 since is is catching stuff that gcc4.3 isn't (if this infact is > the case). > > I updated spNet with some different code to retrieve the libs which is > a little cleaner (I worte this function a long time ago and haven't > looked at it since) and uploaded it to the site (same version). Please > re-download it and recompile it and let me know if it still give you > this error. > > -Anthony > > On Mon, Jun 22, 2009 at 9:05 PM, A.Burinskiy<alexb...@gmail.com> wrote: > >> Hi Anthony, >> >> Thanks a lot, now spNet compiles well. >> When I run it I have following error: >> >> $ spnet if.sch >> >> spNet v0.9.1 >> gEDA/gschem Netlister >> Copyright 2009 Anthony Shanks >> >> -E- Invalid lib file. Syntax: library: PATH "LibName" >> >> [al...@bazilik buck1]$ more ~/.spnetlibs >> library: /home/username/tsmc "sym" >> >> >> >> >> >> _______________________________________________ >> geda-user mailing list >> geda-user@moria.seul.org >> http://www.seul.org/cgi-bin/mailman/listinfo/geda-user >> >> > > > _______________________________________________ > geda-user mailing list > geda-user@moria.seul.org > http://www.seul.org/cgi-bin/mailman/listinfo/geda-user > > -- Alexander Burinskiy IC design San Jose, CA, 95129 (408)230-3458 (cell) _______________________________________________ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user