[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: My uEDA-designed open source hardware board works!
Michael Sokolov:
...
> But I guess the gEDA community is quite different, and I've noticed that
> quite a few people here (perhaps even the majority) are *not* doing Open
> Source Hardware, instead they are using FOSS EDA to create closed
> proprietary hw designs. Argh! I'll spare my obligatory Marxist-Leninist
> comment on what I think should be done to such people.
Not really, I have just set up an new project reachable with:
$ git-clone git://aspodata.se/openhw.git
It consists for the moment of a README. You are more than welcome to
discuss it.
...
> cvs -d :pserver:anoncvs@xxxxxxxxxxxxxxxxxxx:/fs1/IFCTF-cvs co ueda ifctf-part-lib OSDCU
The ueda don't compile out of the box here, there are a lot of forward
references to static functions, exit(3) and strlen(3) no declared, and
conflicting declaration of malloc. Attached diff fixes thoose for me.
? diff
Index: libueda/readmcl.c
===================================================================
RCS file: /fs1/IFCTF-cvs/ueda/libueda/readmcl.c,v
retrieving revision 1.1
diff -r1.1 readmcl.c
7a8
> #include <stdlib.h>
32a34,40
>
> static finish_component();
> static setup_partdef(register char *np);
> static parse_refdes_list();
> static clone_component();
> static handle_part_ref(char *partname);
> static getline();
Index: libuschem/graphsym_load.c
===================================================================
RCS file: /fs1/IFCTF-cvs/ueda/libuschem/graphsym_load.c,v
retrieving revision 1.7
diff -r1.7 graphsym_load.c
7a8,9
> #include <string.h>
> #include <stdlib.h>
10c12
< extern char *malloc();
---
> //extern char *malloc();
18a21,30
>
> static mymain();
> static handle_pin(char *objline, int objlineno);
> static read_pin_attrs(struct graphsym_pindef *pin, int objlineno);
> static handle_attr(register struct graphsym_pindef *pin, register char *line);
> static handle_T_obj(char *objline, int objlineno);
> static parse_numline(char *line, int lineno, int *numarray, int nfields);
> static getline(char *linebuf);
> static skip_ps_block();
> static skip_over_ps_string();
Index: libuschem/rdschem_lex.c
===================================================================
RCS file: /fs1/IFCTF-cvs/ueda/libuschem/rdschem_lex.c,v
retrieving revision 1.2
diff -r1.2 rdschem_lex.c
8a9,10
> #include <string.h>
> #include <stdlib.h>
12c14
< extern char *malloc();
---
> //extern char *malloc();
14a17,18
> static yylex_qstr();
> static skip_over_ps_string();
Index: libuschem/rdschem_parse.c
===================================================================
RCS file: /fs1/IFCTF-cvs/ueda/libuschem/rdschem_parse.c,v
retrieving revision 1.11
diff -r1.11 rdschem_parse.c
7a8
> #include <stdlib.h>
19a21,23
>
> static skip_over_ps_string();
> static int parse_number();
Index: uschem-netlist/pinconn.c
===================================================================
RCS file: /fs1/IFCTF-cvs/ueda/uschem-netlist/pinconn.c,v
retrieving revision 1.3
diff -r1.3 pinconn.c
6a7
> #include <stdlib.h>
10c11
< extern char *malloc();
---
> //extern char *malloc();
15a17,19
>
> static record_pin_connection_tab(register struct pinconn *pc);
> static record_pin_connection_chain(register struct pinconn *pc);
Index: uschem-print/gschemcode.c
===================================================================
RCS file: /fs1/IFCTF-cvs/ueda/uschem-print/gschemcode.c,v
retrieving revision 1.7
diff -r1.7 gschemcode.c
8a9,10
> #include <string.h>
> #include <stdlib.h>
33a36,51
>
> static mymain();
> static do_line(char *objline);
> static do_box(char *objline);
> static do_circle(char *objline);
> static do_arc(char *objline);
> static setlinewidth(int newval);
> static setdash(int dashstyle, int dashlength, int dashspace);
> static emit_coordpair(int x, int y);
> static handle_pin(char *objline);
> static handle_T_obj(char *objline, int objlineno);
> static parse_numline(char *line, int lineno, int *numarray, int nfields);
> static getline(char *linebuf);
> static do_ps_block();
> static skip_over_ps_string();
>
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user