[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-user: compile of plugins fails



Hi.
If I try to recompile plugins like teardrops by DJ, I run into trouble.

With gcc command like recommended in http://www.delorie.com/pcb/teardrops/ :
/----------------------------
$ gcc -I /usr/local/pcb-src/pcb/ -I /usr/local/bin -O2 -shared teardrops.c -o teardrops.so
teardrops.c:13:20: error: global.h: No such file or directory
teardrops.c:14:18: error: data.h: No such file or directory
teardrops.c:15:17: error: hid.h: No such file or directory
teardrops.c:16:18: error: misc.h: No such file or directory
<snip>
teardrops.c:210: error: expected â{â at end of input
\-----------------------

Ok, hid.h, global.h etc are in pcb/src. So I add this dir to the gcc command.
Still no luck:

/------------------------
$ gcc -I /usr/local/pcb-src/pcb/  -I /usr/local/pcb-src/pcb/src/ -I /usr/local/bin -O2 -shared teardrops.c -o teardrops.so
teardrops.c: In function âcheck_pinâ:
teardrops.c:165: error: âmax_layerâ undeclared (first use in this function)
teardrops.c:165: error: (Each undeclared identifier is reported only once
teardrops.c:165: error: for each function it appears in.)
\-----------------------


The plugin compiled fine with the original gcc command about a year ago.
Anything happened to the *.h files and the max_layer variable since then? 

---<)kaimartin(>---
-- 
Kai-Martin Knaak
Email: kmk@xxxxxxxxxxxxxxx
Ãffentlicher PGP-SchlÃssel:
http://pool.sks-keyservers.net:11371/pks/lookup?search=0x6C0B9F53



_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user