./configure Configuring for unix make -C common make[1]: Entering directory `/usr/home/jmuelmen/ambush/common' make[1]: Leaving directory `/usr/home/jmuelmen/ambush/common' make[1]: Entering directory `/usr/home/jmuelmen/ambush/common' gcc -Wall -g -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK stack.c -c stack.c: In function `stack_push': stack.c:17: warning: implicit declaration of function `exit' gcc -Wall -g -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK buf.c -c buf.c: In function `buf_dump': buf.c:91: warning: enumeration value `begin_atomic' not handled in switch buf.c:91: warning: enumeration value `end_atomic' not handled in switch gcc -Wall -g -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK value.c -c gcc -Wall -shared -o /home/jmuelmen/ambush/lib/libcommon.so stack.o buf.o value.o make[1]: Leaving directory `/usr/home/jmuelmen/ambush/common' make -C glue make[1]: Entering directory `/usr/home/jmuelmen/ambush/glue' /usr/bin/lex glue.l glue.l:5:19: y.tab.h: No such file or directory /usr/bin/yacc -d glue.y make[1]: Leaving directory `/usr/home/jmuelmen/ambush/glue' make[1]: Entering directory `/usr/home/jmuelmen/ambush/glue' make[1]: Leaving directory `/usr/home/jmuelmen/ambush/glue' make[1]: Entering directory `/usr/home/jmuelmen/ambush/glue' gcc -Wall -g -ansi -pedantic -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK y.tab.c -c gcc -Wall -g -ansi -pedantic -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK lex.yy.c -c lex.yy.c: In function `yy_init_buffer': lex.yy.c:1360: warning: implicit declaration of function `fileno' gcc -Wall -g -ansi -pedantic -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK main.c -c gcc -Wall -g -ansi -pedantic -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK gluegen.c -c gluegen.c: In function `type_to_string': gluegen.c:16: warning: enumeration value `void_t' not handled in switch gluegen.c: In function `glue_gen': gluegen.c:50: warning: enumeration value `void_t' not handled in switch gcc -Wall -g -ansi -pedantic -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK -o glue y.tab.o lex.yy.o main.o gluegen.o make[1]: Leaving directory `/usr/home/jmuelmen/ambush/glue' make -C sched make[1]: Entering directory `/usr/home/jmuelmen/ambush/sched' make[1]: Leaving directory `/usr/home/jmuelmen/ambush/sched' make[1]: Entering directory `/usr/home/jmuelmen/ambush/sched' gcc -Wall -g -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK atbuf.c -c gcc -Wall -g -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK ifbuf.c -c ifbuf.c: In function `ifbuf_process': ifbuf.c:73: warning: implicit declaration of function `strlen' gcc -Wall -g -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK schedbuf.c -c gcc -Wall -g -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK queue.c -c queue.c: In function `queue': queue.c:108: warning: unused variable `sleep_time' queue.c:109: warning: unused variable `tv' gcc -Wall -g -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK atomic.c -c gcc -Wall -g -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK element.c -c gcc -Wall -shared -o /home/jmuelmen/ambush/lib/libsched.so atbuf.o ifbuf.o schedbuf.o queue.o atomic.o element.o make[1]: Leaving directory `/usr/home/jmuelmen/ambush/sched' make -C inst make[1]: Entering directory `/usr/home/jmuelmen/ambush/inst' make[1]: Leaving directory `/usr/home/jmuelmen/ambush/inst' make[1]: Entering directory `/usr/home/jmuelmen/ambush/inst' gcc -Wall -g -pedantic -I/home/jmuelmen/ambush/inc -I. -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK diag.c -c gcc -Wall -g -pedantic -I/home/jmuelmen/ambush/inc -I. -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK powersupply.c -c In file included from powersupply.c:11: /home/jmuelmen/ambush/inc/trace.h:10:26: warning: ISO C does not permit named variadic macros powersupply.c: In function `powersupply_init': powersupply.c:22: warning: unused variable `s' powersupply.c: In function `powersupply_set_voltage': powersupply.c:44: warning: unused variable `s' powersupply.c: In function `powersupply_set_current': powersupply.c:59: warning: unused variable `s' powersupply.c: In function `powersupply_current_exceeds': powersupply.c:111: warning: unused variable `s' gcc -Wall -g -pedantic -I/home/jmuelmen/ambush/inc -I. -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK tdaq.c -c tdaq.c: In function `tdaq_init': tdaq.c:29: warning: suggest parentheses around assignment used as truth value tdaq.c:35: warning: suggest parentheses around assignment used as truth value tdaq.c: At top level: tdaq.c:16: warning: `_tdaq_running' defined but not used tdaq.c:17: warning: `_tdaq_exited' defined but not used gcc -Wall -g -pedantic -I/home/jmuelmen/ambush/inc -I. -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK iseg.c -c iseg.c:20: warning: `_id' defined but not used iseg.c:21: warning: `_on_off' defined but not used gcc -Wall -g -pedantic -I/home/jmuelmen/ambush/inc -I. -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK load.c -c load.c: In function `load_init': load.c:92: warning: unused variable `s' load.c: In function `load_set_current': load.c:118: warning: unused variable `s' load.c: In function `load_get_current': load.c:135: warning: unused variable `s' load.c: In function `load_trigger': load.c:217: warning: unused variable `i_d' load.c:217: warning: unused variable `idwell' load.c:217: warning: unused variable `ipt' load.c:218: warning: unused variable `cmd' load.c:219: warning: unused variable `data' load.c:220: warning: unused variable `tdwell' load.c: In function `load_set_int': load.c:332: warning: control reaches end of non-void function load.c: In function `load_set_npts': load.c:341: warning: control reaches end of non-void function load.c: In function `load_set_offset': load.c:350: warning: control reaches end of non-void function gcc -Wall -shared -o /home/jmuelmen/ambush/lib/libinst.so diag.o powersupply.o tdaq.o iseg.o load.o gcc -Wall -g -pedantic -I/home/jmuelmen/ambush/inc -I. -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK tdaq_glue.c -c cp tdaq_glue.o tdaq_glue.obj make[1]: Leaving directory `/usr/home/jmuelmen/ambush/inst' make -C shell make[1]: Entering directory `/usr/home/jmuelmen/ambush/shell' cat ../inc/inst.h ../inc/builtin.h ../inc/libsurf_dumb.h | ../glue/glue $Id: inst.h,v 1.15 2004/03/21 10:47:48 jmuelmen Exp $ / This contains the headers for making measurement function calls / int lj_anal_out (int, double); int lj_digital_in (int); int lj_digital_out (int, int); int lj_stat (); / double iseg_set_v (int _chan_no, double v); / int load_trigger (int chn, double , double , double , int ); / int load_set_current (double); / int load_set_current_list (const char ); / int load_set_current_slew_list (const char ); / int load_set_current_dwell_list (const char ); / int load_set_output_file (const char ); / int load_trigger (); / int load_init (); / $Id: builtin.h,v 1.8 2004/03/21 10:47:48 jmuelmen Exp $ / This contains the headers for shell builtin functions / $Id: libsurf_dumb.h,v 1.6 2004/03/21 10:47:48 jmuelmen Exp $ //usr/bin/yacc -d cmd.y 3 rules never reduced cmd.y: warning: 1 useless nonterminal and 3 useless rules cmd.y:247.1-14: warning: useless nonterminal: unary_operator cmd.y:248.11-13: warning: useless rule: unary_operator: '+' cmd.y:249.11-13: warning: useless rule: unary_operator: '-' cmd.y:250.11-13: warning: useless rule: unary_operator: '!' /usr/bin/lex cmd.l make[1]: Leaving directory `/usr/home/jmuelmen/ambush/shell' make[1]: Entering directory `/usr/home/jmuelmen/ambush/shell' gcc -Wall -g -ansi -pedantic -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK help.c -c gcc -Wall -g -ansi -pedantic -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK ident.c -c ident.c: In function `ident_dump': ident.c:89: warning: void format, value_t arg (arg 2) ident.c:103: warning: implicit declaration of function `ctime_r' ident.c:107: warning: enumeration value `val_period' not handled in switch gcc -Wall -g -ansi -pedantic -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK parse.c -c parse.c: In function `parse_action_process': parse.c:34: warning: unused variable `ret' gcc -Wall -g -ansi -pedantic -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK parsebuf.c -c gcc -Wall -g -ansi -pedantic -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK shell.c -c shell.c: In function `shell': shell.c:25: warning: suggest parentheses around assignment used as truth value shell.c:16: warning: unused variable `parse_stat' gcc -Wall -g -ansi -pedantic -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK lex.yy.c -c lex.yy.c: In function `yy_init_buffer': lex.yy.c:1644: warning: implicit declaration of function `fileno' gcc -Wall -g -ansi -pedantic -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK y.tab.c -c cmd.y:26:26: warning: ISO C does not permit named variadic macros gcc -Wall -g -ansi -pedantic -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK register.c -c gcc -Wall -g -ansi -pedantic -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK instglue.c -c gcc -Wall -g -ansi -pedantic -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK atot.c -c atot.c: In function `atot': atot.c:78: warning: implicit declaration of function `localtime_r' gcc -Wall -g -ansi -pedantic -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK rl.c -c gcc -Wall -g -ansi -pedantic -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK assign.c -c assign.c: In function `assign': assign.c:40: warning: implicit declaration of function `exit' gcc -Wall -g -ansi -pedantic -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK convert.c -c convert.c: In function `conv_string': convert.c:45: warning: implicit declaration of function `snprintf' convert.c:56: warning: enumeration value `val_time' not handled in switch convert.c:56: warning: enumeration value `val_period' not handled in switch gcc -Wall -g -ansi -pedantic -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK addition.c -c addition.c: In function `add': addition.c:30: warning: implicit declaration of function `snprintf' gcc -Wall -g -ansi -pedantic -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK multiplication.c -c gcc -Wall -g -ansi -pedantic -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK division.c -c gcc -Wall -g -ansi -pedantic -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK relation.c -c gcc -Wall -g -ansi -pedantic -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK equality.c -c gcc -Wall -g -ansi -pedantic -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK inc.c -c gcc -Wall -shared -o /home/jmuelmen/ambush/lib/libshell.so help.o ident.o parse.o parsebuf.o shell.o lex.yy.o y.tab.o register.o instglue.o atot.o rl.o assign.o convert.o addition.o multiplication.o division.o relation.o equality.o inc.o make[1]: Leaving directory `/usr/home/jmuelmen/ambush/shell' make -C libsurf make[1]: Entering directory `/usr/home/jmuelmen/ambush/libsurf' make[1]: Leaving directory `/usr/home/jmuelmen/ambush/libsurf' make[1]: Entering directory `/usr/home/jmuelmen/ambush/libsurf' gcc -Wall -g -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK board.c -c board.c:20: warning: `phex' defined but not used gcc -Wall -g -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK module.c -c gcc -Wall -g -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK modtbl.c -c gcc -Wall -g -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK usb_libusb.c -c gcc -Wall -g -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK error.c -c gcc -Wall -g -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK surft.c -c surft.c: In function `surft_print_boards': surft.c:137: warning: suggest parentheses around assignment used as truth value gcc -Wall -g -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK chant.c -c gcc -Wall -g -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK rwio.c -c gcc -Wall -g -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK usb_surfwax.c -c gcc -Wall -g -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK surfwax.c -c gcc -Wall -g -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK y.tab.c -c gcc -Wall -g -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK lex.mod_yy.c -c mod_tbl.l: In function `mod_yylex': mod_tbl.l:11: warning: implicit declaration of function `mod_comment' mod_tbl.l: At top level: mod_tbl.l:31: warning: type mismatch with previous implicit declaration mod_tbl.l:11: warning: previous implicit declaration of `mod_comment' mod_tbl.l:31: warning: `mod_comment' was previously implicitly declared to return `int' gcc -Wall -shared -o /home/jmuelmen/ambush/lib/libsurf.so board.o module.o modtbl.o usb_libusb.o error.o surft.o chant.o rwio.o usb_surfwax.o surfwax.o y.tab.o lex.mod_yy.o make[1]: Leaving directory `/usr/home/jmuelmen/ambush/libsurf' make -C libturbosock make[1]: Entering directory `/usr/home/jmuelmen/ambush/libturbosock' make[1]: Leaving directory `/usr/home/jmuelmen/ambush/libturbosock' make[1]: Entering directory `/usr/home/jmuelmen/ambush/libturbosock' gcc -Wall -g -pedantic -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK turbodog.c -c turbodog.c:12: warning: `_init' defined but not used turbodog.c:13: warning: `_sock' defined but not used turbodog.c:14: warning: `_sn' defined but not used turbodog.c:14: warning: `_rn' defined but not used gcc -Wall -shared -o /home/jmuelmen/ambush/lib/libturbosock.so turbodog.o make[1]: Leaving directory `/usr/home/jmuelmen/ambush/libturbosock' make -C log make[1]: Entering directory `/usr/home/jmuelmen/ambush/log' make[1]: Leaving directory `/usr/home/jmuelmen/ambush/log' make[1]: Entering directory `/usr/home/jmuelmen/ambush/log' gcc -Wall -g -pedantic -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK log.c -c gcc -Wall -shared -o /home/jmuelmen/ambush/lib/liblog.so log.o make[1]: Leaving directory `/usr/home/jmuelmen/ambush/log' make -C main make[1]: Entering directory `/usr/home/jmuelmen/ambush/main' make[1]: Leaving directory `/usr/home/jmuelmen/ambush/main' make[1]: Entering directory `/usr/home/jmuelmen/ambush/main' gcc -Wall -g -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK main.c -c main.c: In function `main': main.c:24: warning: implicit declaration of function `printf' gcc -o ambush main.o -L /home/jmuelmen/ambush/lib -lm -lshell -lreadline -lsched -lcommon -linst -lsurf -llog -lpthread -lusb -lturbosock \ -Xlinker -rpath -Xlinker /home/jmuelmen/ambush/lib make[1]: Leaving directory `/usr/home/jmuelmen/ambush/main' make -C calib make[1]: Entering directory `/usr/home/jmuelmen/ambush/calib' make[1]: Leaving directory `/usr/home/jmuelmen/ambush/calib' make[1]: Entering directory `/usr/home/jmuelmen/ambush/calib' gcc -Wall -g -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK -fsigned-char dac.c -c gcc -Wall -g -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK -o dac.bin dac.o -L /home/jmuelmen/ambush/lib \ -lm -lsurf -lusb -llabjack -linst -lpthread -Xlinker -rpath -Xlinker /home/jmuelmen/ambush/lib gcc -Wall -g -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK -fsigned-char adc.c -c gcc -Wall -g -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK -o adc.bin adc.o -L /home/jmuelmen/ambush/lib \ -lm -lsurf -lusb -llabjack -linst -lpthread -Xlinker -rpath -Xlinker /home/jmuelmen/ambush/lib gcc -Wall -g -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK -fsigned-char cadc.c -c cadc.c:14: warning: `usage' defined but not used gcc -Wall -g -I/home/jmuelmen/ambush/inc -DDUMMY_INST -DHAVE_LIBUSB -DHAVE_LABJACK -o cadc.bin cadc.o -L /home/jmuelmen/ambush/lib \ -lm -lsurf -lusb -llabjack -linst -lpthread -Xlinker -rpath -Xlinker /home/jmuelmen/ambush/lib make[1]: Leaving directory `/usr/home/jmuelmen/ambush/calib'