bert / pcb-plugins

A collection of plugins for pcb, the interactive layout editor.
http://www.xs4all.nl/~ljh4timm
Other
14 stars 4 forks source link

ratsel shows signs of bitrot #2

Open bert opened 9 years ago

bert commented 9 years ago

[bert@workstation pcb-plugins]$ make make all-recursive make[1]: Entering directory /home/bert/workspace/git/pcb-plugins' Making all in src/plugins/ which: no sw_vers in (/usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/libexec/sdcc:/home/bert/bin:/usr/libexec/sdcc) make[2]: Entering directory/home/bert/workspace/git/pcb-plugins/src/plugins' make[2]: Nothing to be done for all'. make[2]: Leaving directory/home/bert/workspace/git/pcb-plugins/src/plugins' Making all in src/plugins/ratsel/ make[2]: Entering directory /home/bert/workspace/git/pcb-plugins/src/plugins/ratsel' gcc -c -O2 -Wall -I../../../../pcb/ -I../../../../pcb//src -I. -sharedpkg-config --cflags glib-2.0cIFace.c -o cIFace.o cIFace.c: In function ‘getRats’: cIFace.c:149: error: ‘COMPONENT_LAYER’ undeclared (first use in this function) cIFace.c:149: error: (Each undeclared identifier is reported only once cIFace.c:149: error: for each function it appears in.) cIFace.c: In function ‘selectRat’: cIFace.c:172: warning: initialization from incompatible pointer type cIFace.c: At top level: cIFace.c:186: warning: initialization from incompatible pointer type make[2]: *** [cIFace.o] Error 1 make[2]: Leaving directory/home/bert/workspace/git/pcb-plugins/src/plugins/ratsel' make[1]: * [all-recursive] Error 1 make[1]: Leaving directory `/home/bert/workspace/git/pcb-plugins' make: * [all] Error 2

bert commented 9 years ago

Bitrot seems to have been solved.

Ratsel is not extensively tested, I just made the compiler errors go away.

Still some compiler warnings left.

bert commented 9 years ago

Making all in src/plugins/ratsel/ make[2]: Entering directory /home/bert/workspace/git/pcb-plugins/src/plugins/ratsel' gcj -Isrc -C src/ratsel/JIFace.java gcjh -classpath /usr/share/java/libgcj.jar:src/:src/ratsel/:./ src/ratsel/JIFace.class -o src/ratsel/JIFace.h gcjh -classpath /usr/share/java/libgcj.jar:src/:src/ratsel/:./ src/ratsel/Location.class -o src/ratsel/Location.h gcjh -classpath /usr/share/java/libgcj.jar:src/:src/ratsel/:./ src/ratsel/Pin.class -o src/ratsel/Pin.h gcjh -classpath /usr/share/java/libgcj.jar:src/:src/ratsel/:./ src/ratsel/Rat.class -o src/ratsel/Rat.h gcc -c -O2 -Wall -I../../../../pcb/ -I../../../../pcb//src -I. -sharedpkg-config --cflags glib-2.0cIFace.c -o cIFace.o cIFace.c: In function ‘selectRat’: cIFace.c:177: warning: initialization from incompatible pointer type cIFace.c: At top level: cIFace.c:191: warning: initialization from incompatible pointer type g++ -c -O2 -Wall -I. -Isrc cppIFace.cpp -o cppIFace.o gcj -Isrc -c src/ratsel/Side.java -o src/ratsel/Side.o gcj -Isrc -c src/ratsel/Connection.java -o src/ratsel/Connection.o gcj -Isrc -c src/ratsel/NetList.java -o src/ratsel/NetList.o gcj -Isrc -c src/ratsel/PCB.java -o src/ratsel/PCB.o gcj -Isrc -c src/ratsel/Net.java -o src/ratsel/Net.o gcj -Isrc -c src/ratsel/Rat.java -o src/ratsel/Rat.o gcj -Isrc -c src/ratsel/Location.java -o src/ratsel/Location.o gcj -Isrc -c src/ratsel/JIFace.java -o src/ratsel/JIFace.o gcj -Isrc -c src/ratsel/Parser.java -o src/ratsel/Parser.o gcj -Isrc -c src/ratsel/Pin.java -o src/ratsel/Pin.o g++ -lstdc++ -lgcj ./cIFace.o ./cppIFace.o src/ratsel/Side.o src/ratsel/Connection.o src/ratsel/NetList.o src/ratsel/PCB.o src/ratsel/Net.o src/ratsel/Rat.o src/ratsel/Location.o src/ratsel/JIFace.o src/ratsel/Parser.o src/ratsel/Pin.o -shared -o RatSel.so rm src/ratsel/Pin.class src/ratsel/JIFace.class src/ratsel/Location.class src/ratsel/Rat.class make[2]: Leaving directory/home/bert/workspace/git/pcb-plugins/src/plugins/ratsel' Making all in src/plugins/footprint-update/ make[2]: Entering directory /home/bert/workspace/git/pcb-plugins/src/plugins/footprint-update' cc -Wall -O2 -sharedpkg-config --cflags glib-2.0-I../../../../pcb/src -I../../../../pcb -c footprintupdate.c -o footprintupdate.o cc -Wall -O2 -sharedpkg-config --cflags glib-2.0-I../../../../pcb/src -I../../../../pcb -c utilities.c -o utilities.o utilities.c: In function ‘make_pad_or_pin’: utilities.c:43: warning: initialization from incompatible pointer type utilities.c:43: warning: initialization from incompatible pointer type cc -Wall -O2 -sharedpkg-config --cflags glib-2.0-I../../../../pcb/src -I../../../../pcb -c matrix.c -o matrix.o cc -Wall -O2 -sharedpkg-config --cflags glib-2.0-I../../../../pcb/src -I../../../../pcb -c pad-pin-data.c -o pad-pin-data.o pad-pin-data.c: In function ‘alloc_pad_pin_data_array’: pad-pin-data.c:42: warning: ignoring return value of ‘realloc’, declared with attribute warn_unused_result cc -Wall -O2 -sharedpkg-config --cflags glib-2.0-I../../../../pcb/src -I../../../../pcb footprintupdate.o utilities.o matrix.o pad-pin-data.o -o footprintupdate.so make[2]: Leaving directory/home/bert/workspace/git/pcb-plugins/src/plugins/footprint-update' make[2]: Entering directory /home/bert/workspace/git/pcb-plugins' make[2]: Leaving directory/home/bert/workspace/git/pcb-plugins' make[1]: Leaving directory `/home/bert/workspace/git/pcb-plugins'