make 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) gcc -g -Wall -I../../pcb/src -I../../pcb -O2 -shared autocrop.c -o autocrop.so In file included from autocrop.c:15: ../../pcb/src/global.h:53:18: error: glib.h: No such file or directory In file included from autocrop.c:15: ../../pcb/src/global.h:290: error: expected specifier-qualifier-list before ‘GList’ ../../pcb/src/global.h:342: error: expected specifier-qualifier-list before ‘GList’ ../../pcb/src/global.h:378: error: expected specifier-qualifier-list before ‘GList’ autocrop.c: In function ‘MyMoveViaLowLevel’: autocrop.c:32: error: ‘struct ’ has no member named ‘via_tree’ autocrop.c:36: error: ‘struct ’ has no member named ‘via_tree’ autocrop.c: In function ‘MyMoveLineLowLevel’: autocrop.c:47: error: ‘struct ’ has no member named ‘line_tree’ autocrop.c:51: error: ‘struct ’ has no member named ‘line_tree’ autocrop.c: In function ‘MyMoveArcLowLevel’: autocrop.c:62: error: ‘struct ’ has no member named ‘arc_tree’ autocrop.c:66: error: ‘struct ’ has no member named ‘arc_tree’ autocrop.c: In function ‘MyMovePolygonLowLevel’: autocrop.c:76: error: ‘struct ’ has no member named ‘polygon_tree’ autocrop.c:81: error: ‘struct ’ has no member named ‘polygon_tree’ autocrop.c: In function ‘MyMoveTextLowLevel’: autocrop.c:91: error: ‘struct ’ has no member named ‘text_tree’ autocrop.c:94: error: ‘struct ’ has no member named ‘text_tree’ autocrop.c: In function ‘MoveAll’: autocrop.c:107: error: ‘GList’ undeclared (first use in this function) autocrop.c:107: error: (Each undeclared identifier is reported only once autocrop.c:107: error: for each function it appears in.) autocrop.c:107: error: ‘__iter’ undeclared (first use in this function) autocrop.c:107: error: ‘__copy’ undeclared (first use in this function) autocrop.c:107: warning: implicit declaration of function ‘g_list_reverse’ autocrop.c:107: warning: implicit declaration of function ‘g_list_copy’ autocrop.c:107: error: ‘struct ’ has no member named ‘Element’ autocrop.c:107: warning: left-hand operand of comma expression has no effect autocrop.c:107: warning: value computed is not used autocrop.c:107: warning: implicit declaration of function ‘g_list_next’ autocrop.c:107: warning: left-hand operand of comma expression has no effect autocrop.c:107: warning: value computed is not used autocrop.c:112: warning: implicit declaration of function ‘g_list_free’ autocrop.c:114: error: ‘struct ’ has no member named ‘Via’ autocrop.c:114: warning: left-hand operand of comma expression has no effect autocrop.c:114: warning: value computed is not used autocrop.c:114: warning: left-hand operand of comma expression has no effect autocrop.c:114: warning: value computed is not used autocrop.c:121: error: ‘struct ’ has no member named ‘Layer’ autocrop.c:121: error: ‘struct ’ has no member named ‘Line’ autocrop.c:121: warning: left-hand operand of comma expression has no effect autocrop.c:121: warning: value computed is not used autocrop.c:121: warning: left-hand operand of comma expression has no effect autocrop.c:121: warning: value computed is not used autocrop.c:128: error: ‘struct ’ has no member named ‘Layer’ autocrop.c:128: error: ‘struct ’ has no member named ‘Arc’ autocrop.c:128: warning: left-hand operand of comma expression has no effect autocrop.c:128: warning: value computed is not used autocrop.c:128: warning: left-hand operand of comma expression has no effect autocrop.c:128: warning: value computed is not used autocrop.c:135: error: ‘struct ’ has no member named ‘Layer’ autocrop.c:135: error: ‘struct ’ has no member named ‘Text’ autocrop.c:135: warning: left-hand operand of comma expression has no effect autocrop.c:135: warning: value computed is not used autocrop.c:135: warning: left-hand operand of comma expression has no effect autocrop.c:135: warning: value computed is not used autocrop.c:142: error: ‘struct ’ has no member named ‘Layer’ autocrop.c:142: error: ‘struct ’ has no member named ‘Polygon’ autocrop.c:142: warning: left-hand operand of comma expression has no effect autocrop.c:142: warning: value computed is not used autocrop.c:142: warning: left-hand operand of comma expression has no effect autocrop.c:142: warning: value computed is not used autocrop.c: In function ‘autocrop’: autocrop.c:206: warning: implicit declaration of function ‘ClearAndRedrawOutput’ make: *** [autocrop.so] Error 1 $