[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-dev: PCB: compliling the boardflip plug-in
Hi DJ and all,
When compiling the boardflip.c plug-in I get the following output:
[bert@steiger src]$ ./compile.sh boardflip
boardflip.c: In function ‘boardflip’:
boardflip.c:141: error: ‘arc’ undeclared (first use in this function)
boardflip.c:141: error: (Each undeclared identifier is reported only
once
boardflip.c:141: error: for each function it appears in.)
boardflip.c:162: error: expected ‘while’ before ‘}’ token
boardflip.c: At top level:
boardflip.c:162: error: expected identifier or ‘(’ before ‘while’
boardflip.c:164: error: expected identifier or ‘(’ before ‘do’
boardflip.c:169: error: expected identifier or ‘(’ before ‘while’
boardflip.c:171: error: expected identifier or ‘(’ before ‘return’
boardflip.c:172: error: expected identifier or ‘(’ before ‘}’ token
[bert@steiger src]$
./compile.sh contains:
#!/bin/sh
gcc -I../../../0_pcb/src -I../../../0_pcb -O2 -shared $1.c -o $1.so
and this script seems to work for other plug-ins (running the script
produces .so files).
gcc --version gives:
gcc (GCC) 4.1.1 20070105 (Red Hat 4.1.1-51)
on a FC-5 updated version.
And I (re)downloaded the plug-in from
http://www.delorie.com/pcb/boardflip.c three hours ago.
Any ideas before I start digging into macro.h and other code ?
Kind regards,
Bert Timmerman.
BTW: my interest in plug-ins comes from a recent post about changing arc
angles, and at first glimpse this looked like an interesting (not too
difficult) challenge and I thought to give this one a try.
_______________________________________________
geda-dev mailing list
geda-dev@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev