[Queue-developers] IRIX distress
Brought to you by:
wkrebs
From: Buckley C. <Bu...@Me...> - 2000-08-31 19:39:38
|
Hello all. I am trying to get Queue working in a mixed IRIX/Linux network and am looking for help making the IRIX build. I followed the instructions, but it is having too many warnings/errors, and fails. I tried both '--enable-root' and single user with comparable results. IRIX's 'make' complains: make: file `Makefile' line 336: Syntax error and line 336 reads: DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) But it was noted in the INSTALL that 'make' might not work, so it was obvious to use 'gmake'. But...: <atlas:buckley> gmake gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c queue.c queue.c: In function `main': queue.c:883: warning: assignment makes pointer from integer without a cast queue.c:923: warning: assignment makes pointer from integer without a cast queue.c:1266: warning: comparison is always 0 due to limited range of data type gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c wakeup.c wakeup.c: In function `con_daemon': wakeup.c:179: warning: assignment makes pointer from integer without a cast wakeup.c:221: warning: assignment makes pointer from integer without a cast wakeup.c: In function `wakeup': wakeup.c:347: warning: passing arg 4 of `qsort' from incompatible pointer type gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ident.c gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c qlib.c gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c sha1.c In file included from util.h:23, from sha1.c:41: types.h:52: warning: redefinition of `ushort' /usr/include/sys/bsd_types.h:31: warning: `ushort' previously declared here types.h:58: warning: redefinition of `ulong' /usr/include/sys/bsd_types.h:35: warning: `ulong' previously declared here gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c getloadavg.c gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c setenv.c gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c getopt_long.c gcc -g -O2 -o queue queue.o wakeup.o ident.o qlib.o sha1.o getloadavg.o setenv.o getopt_long.o -lelf -lcrypt -lxnet -lnsl -lsocket -lelf -lrpcsvc ld32: WARNING 84: /usr/lib32/libelf.a is not used for resolving any symbol. ld32: WARNING 84: /usr/lib32/libcrypt.so is not used for resolving any symbol. ld32: WARNING 84: /usr/lib32/libxnet.so is not used for resolving any symbol. ld32: WARNING 85: definition of _getkey in /usr/lib32/libxnet.so preempts that definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of getkey in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of cs_connect in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 85: definition of _cs_connect in /usr/lib32/libxnet.so preempts that definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of read_status in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of cs_perror in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 85: definition of _cs_perror in /usr/lib32/libxnet.so preempts that definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of write_dialrequest in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of cbc_crypt in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of ecb_crypt in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of des_setparity in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 85: definition of __des_crypt in /usr/lib32/libxnet.so preempts that definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of netdir_free in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of netdir_sperror in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of netdir_perror in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 85: definition of _netdir_perror in /usr/lib32/libxnet.so preempts that definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of setnetconfig in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of endnetconfig in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of getnetconfig in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of getnetconfigent in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of freenetconfigent in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of setnetpath in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of endnetpath in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of getnetpath in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of nc_sperror in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 85: definition of _nc_perror in /usr/lib32/libxnet.so preempts that definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of nc_perror in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of t_accept in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of t_bind in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of t_close in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of t_connect in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of t_error in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 85: definition of _t_error in /usr/lib32/libxnet.so preempts that definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of t_getinfo in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of t_getname in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of t_getstate in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of t_listen in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of t_look in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of t_open in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 85: definition of _t_optmgmt in /usr/lib32/libxnet.so preempts that definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of t_rcv in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 85: definition of _t_rcvconnect in /usr/lib32/libxnet.so preempts that definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of t_rcvconnect in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of t_rcvdis in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 85: definition of _t_rcvrel in /usr/lib32/libxnet.so preempts that definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of t_rcvrel in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of t_rcvudata in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: Giving up after printing 50 warnings. Use -wall to print all warnings. gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c queued.c queued.c: In function `transmitjob': queued.c:3053: warning: comparison is always 1 due to limited range of data type queued.c: In function `check_query': queued.c:4268: warning: assignment makes pointer from integer without a cast queued.c:4300: warning: assignment makes pointer from integer without a cast gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c lex.c gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c handle.c handle.c: In function `chldsigh': handle.c:119: warning: comparison is always 0 due to limited range of data type handle.c: In function `handle': handle.c:656: warning: assignment makes pointer from integer without a cast handle.c:688: warning: assignment makes pointer from integer without a cast handle.c:896: warning: passing arg 1 of `open' makes pointer from integer without a cast gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c pty.c pty.c: In function `allocpty': pty.c:64: warning: assignment makes pointer from integer without a cast gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c mrestart.c gcc -g -O2 -o queued queued.o lex.o handle.o ident.o pty.o qlib.o mrestart.o wakeup.o sha1.o getloadavg.o setenv.o getopt_long.o -lelf -lcrypt -lxnet -lnsl -lsocket -lelf -lrpcsvc ld32: WARNING 84: /usr/lib32/libelf.a is not used for resolving any symbol. ld32: WARNING 84: /usr/lib32/libcrypt.so is not used for resolving any symbol. ld32: WARNING 84: /usr/lib32/libxnet.so is not used for resolving any symbol. ld32: WARNING 85: definition of _getkey in /usr/lib32/libxnet.so preempts that definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of getkey in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of cs_connect in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 85: definition of _cs_connect in /usr/lib32/libxnet.so preempts that definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of read_status in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of cs_perror in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 85: definition of _cs_perror in /usr/lib32/libxnet.so preempts that definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of write_dialrequest in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of cbc_crypt in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of ecb_crypt in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of des_setparity in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 85: definition of __des_crypt in /usr/lib32/libxnet.so preempts that definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of netdir_free in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of netdir_sperror in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of netdir_perror in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 85: definition of _netdir_perror in /usr/lib32/libxnet.so preempts that definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of setnetconfig in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of endnetconfig in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of getnetconfig in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of getnetconfigent in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of freenetconfigent in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of setnetpath in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of endnetpath in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of getnetpath in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of nc_sperror in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 85: definition of _nc_perror in /usr/lib32/libxnet.so preempts that definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of nc_perror in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of t_accept in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of t_bind in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of t_close in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of t_connect in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of t_error in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 85: definition of _t_error in /usr/lib32/libxnet.so preempts that definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of t_getinfo in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of t_getname in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of t_getstate in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of t_listen in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of t_look in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of t_open in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 85: definition of _t_optmgmt in /usr/lib32/libxnet.so preempts that definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of t_rcv in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 85: definition of _t_rcvconnect in /usr/lib32/libxnet.so preempts that definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of t_rcvconnect in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of t_rcvdis in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 85: definition of _t_rcvrel in /usr/lib32/libxnet.so preempts that definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of t_rcvrel in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: WARNING 134: weak definition of t_rcvudata in /usr/lib32/libxnet.so preempts that weak definition in /usr/lib32/libnsl.so. ld32: Giving up after printing 50 warnings. Use -wall to print all warnings. Also, 'make install' has some problems, too. Specifically: <atlas:root> gmake install gmake[1]: Entering directory `/mnt/users/buckley/public_html/q/queue-1.20.1' /bin/sh ./mkinstalldirs /usr/local/bin ./install-sh -c queue /usr/local/bin/queue /bin/sh ./mkinstalldirs /usr/local/sbin ./install-sh -c queued /usr/local/sbin/queued if test ! -x random ; then gcc -o random random.c qlib.o; fi random.c:5: parse error before `getuid' random.c:5: warning: data definition has no type or storage class gmake[1]: *** [install-local-stuff] Error 1 gmake[1]: Leaving directory `/mnt/users/buckley/public_html/q/queue-1.20.1' gmake: *** [install-am] Error 2 Anybody got time to help a queue newbie? Thanks in advance. -Buckley |