#24 Compile Problems (Debian Woody)

open
nobody
None
5
2014-08-22
2002-06-13
Anonymous
No

Also see Bug 452587

I ./configure --enable-root=true ; make

and this is the fun that ensues
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... (cached)
/usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a
cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install...
/usr/bin/install -c
checking whether ln -s works... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for flex... (cached) flex
checking for flex... (cached) flex
checking for yywrap in -lfl... (cached) yes
checking lex output file root... (cached) lex.yy
checking whether yytext is a pointer... (cached) yes
checking for flex... (cached) flex
checking lex output file root... (cached) lex.yy
checking whether yytext is a pointer... (cached) yes
checking for main in -lrpcsvc... (cached) yes
checking for main in -lelf... (cached) no
checking for main in -lsocket... (cached) no
checking for main in -lnsl... (cached) yes
checking for main in -lxnet... (cached) no
checking for main in -lfl... (cached) yes
checking for main in -lcrypt... (cached) yes
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible...
(cached) yes
checking for sys/time.h... (cached) yes
checking for arpa/inet.h... (cached) yes
checking for ctype.h... (cached) yes
checking for dirent.h... (cached) yes
checking for errno.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for fstab.h... (cached) yes
checking for i386/vmparam.h... (cached) no
checking for machine/param.h... (cached) no
checking for mntent.h... (cached) yes
checking for ndir.h... (cached) no
checking for netdb.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for nlist.h... (cached) no
checking for pwd.h... (cached) yes
checking for signal.h... (cached) yes
checking for stdio.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/audit.h... (cached) no
checking for sys/dir.h... (cached) yes
checking for sys/file.h... (cached) yes
checking for sys/fixpoint.h... (cached) no
checking for sys/ioctl.h... (cached) yes
checking for sys/ndir.h... (cached) no
checking for sys/param.h... (cached) yes
checking for sys/pstat.h... (cached) no
checking for sys/resource.h... (cached) yes
checking for sys/signal.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/sockio.h... (cached) no
checking for sys/stat.h... (cached) yes
checking for sys/statvfs.h... (cached) yes
checking for sys/statfs.h... (cached) yes
checking for sys/sysmp.h... (cached) no
checking for sys/time.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/un.h... (cached) yes
checking for sys/vfs.h... (cached) yes
checking for sys/wait.h... (cached) yes
checking for syslog.h... (cached) yes
checking for termios.h... (cached) yes
checking for time.h... (cached) yes
checking for ulimit.h... (cached) yes
checking for unistd.h... (cached) yes
checking for ustat.h... (cached) yes
checking for utmp.h... (cached) yes
checking for vfork.h... (cached) no
checking for limits.h... (cached) yes
checking for sys/times.h... (cached) yes
checking for getopt.h... (cached) yes
checking for asm/checkpoint.h... (cached) no
checking for working const... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking for mode_t... (cached) yes
checking for off_t... (cached) yes
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking for st_rdev in struct stat... (cached) yes
checking for sys_siglist declaration in signal.h or
unistd.h... (cached) yes
checking whether time.h and sys/time.h may both be
included... (cached) yes
checking whether struct tm is in sys/time.h or
time.h... (cached) time.h
checking type of array argument to getgroups...
(cached) gid_t
checking whether getpgrp takes no argument... (cached) yes
checking whether gcc needs -traditional... (cached) no
checking whether setpgrp takes no argument... (cached) yes
checking return type of signal handlers... (cached) void
checking for vfork.h... (cached) no
checking for working vfork... (cached) yes
checking for vprintf... (cached) yes
checking for wait3 that fills in rusage... (cached) yes
checking for getloadavg... (cached) yes
checking for getloadavg... (cached) yes
checking whether getloadavg requires setgid... (cached) yes
checking group of /dev/kmem... (cached) kmem
checking for getcwd... (cached) yes
checking for gethostname... (cached) yes
checking for getwd... (cached) yes
checking for mkdir... (cached) yes
checking for select... (cached) yes
checking for socket... (cached) yes
checking for getrlimit... (cached) yes
checking for sigblock... (cached) yes
checking for sigsetmask... (cached) yes
checking for setsid... (cached) yes
checking for setlinebuf... (cached) yes
checking for insque... (cached) yes
checking for setresuid... (cached) yes
checking for setresgid... (cached) yes
checking for herror... (cached) yes
checking for _getpty... (cached) no
checking for putenv... (cached) yes
checking for setenv... (cached) yes
checking for strdup... (cached) yes
checking for sigsetmask... (cached) yes
checking for getopt_long... (cached) yes
checking for sigblock... (cached) yes
checking for ut_addr in utmp.h... (cached) yup
checking for working identd service on port 113...
(cached) yup

--enable-checkpoint=NO ... checkpointing (beta)
disabled (default)
--enable-root=YES ... Compiling for cluster-wide
installation (preferred).
See \'./configure --help\' and manual for more
information on the --enable option.

NO_ROOT cookiefile is "/usr/local/share/queuecookiefile"
Host access control file is "/usr/local/share/qhostsfile"
NFS-shared Queue spool directory is "/usr/local/var/queue"
Local queued process id file prefix is
"/usr/local/var/queued.pid"
Error mail goes to "root"

creating ./config.status
creating profile
creating Makefile
creating doc/QueueVN.texi
creating doc/queue.man
creating config.h
config.h is unchanged
queued.c:342: warning: `struct tm' declared inside
parameter list
queued.c:342: warning: its scope is only this
definition or declaration, which is probably not what
you want.
queued.c:349: warning: `struct tm' declared inside
parameter list
queued.c: In function `main':
queued.c:630: warning: passing arg 2 of `signal' from
incompatible pointer type
queued.c:635: warning: passing arg 2 of `signal' from
incompatible pointer type
queued.c:637: warning: passing arg 2 of `signal' from
incompatible pointer type
queued.c:640: warning: passing arg 2 of `signal' from
incompatible pointer type
queued.c: In function `sigalrm':
queued.c:888: warning: passing arg 2 of `signal' from
incompatible pointer type
queued.c: In function `waitforchild':
queued.c:1063: warning: passing arg 2 of `signal' from
incompatible pointer type
queued.c: In function `syserr':
queued.c:1079: warning: return discards qualifiers from
pointer target type
queued.c: In function `runqueue_b':
queued.c:2262: storage size of `now' isn't known
queued.c:2266: invalid type argument of `unary *'
queued.c: In function `startjob':
queued.c:2858: warning: passing arg 2 of `signal' from
incompatible pointer type
queued.c:2889: warning: passing arg 2 of `signal' from
incompatible pointer type
queued.c: At top level:
queued.c:3897: warning: `struct tm' declared inside
parameter list
queued.c:3898: conflicting types for `checktime'
queued.c:342: previous declaration of `checktime'
queued.c: In function `checktime':
queued.c:3905: warning: passing arg 2 of `check1time'
from incompatible pointer type
queued.c: At top level:
queued.c:3916: warning: `struct tm' declared inside
parameter list
queued.c:3917: conflicting types for `check1time'
queued.c:349: previous declaration of `check1time'
queued.c: In function `check1time':
queued.c:3931: dereferencing pointer to incomplete type
queued.c:3931: dereferencing pointer to incomplete type
queued.c:3931: dereferencing pointer to incomplete type
queued.c:3931: dereferencing pointer to incomplete type
queued.c:3931: dereferencing pointer to incomplete type
queued.c:3931: dereferencing pointer to incomplete type
queued.c:3931: dereferencing pointer to incomplete type
queued.c:3931: dereferencing pointer to incomplete type
queued.c:3931: dereferencing pointer to incomplete type
queued.c:3931: dereferencing pointer to incomplete type
queued.c:3931: dereferencing pointer to incomplete type
queued.c:3931: dereferencing pointer to incomplete type
queued.c:3931: dereferencing pointer to incomplete type
queued.c:3931: dereferencing pointer to incomplete type
queued.c:3931: dereferencing pointer to incomplete type
queued.c:3931: dereferencing pointer to incomplete type
queued.c:3931: dereferencing pointer to incomplete type
queued.c:3931: dereferencing pointer to incomplete type
queued.c:3931: dereferencing pointer to incomplete type
queued.c:3931: dereferencing pointer to incomplete type
queued.c:3931: dereferencing pointer to incomplete type
queued.c:3931: dereferencing pointer to incomplete type
queued.c:3931: dereferencing pointer to incomplete type
queued.c:3931: dereferencing pointer to incomplete type
queued.c:3931: dereferencing pointer to incomplete type
queued.c:3931: dereferencing pointer to incomplete type
queued.c:3931: dereferencing pointer to incomplete type
queued.c:3931: dereferencing pointer to incomplete type
queued.c:3931: dereferencing pointer to incomplete type
queued.c:3939: dereferencing pointer to incomplete type
queued.c:3939: dereferencing pointer to incomplete type
queued.c:3943: dereferencing pointer to incomplete type
queued.c:3944: dereferencing pointer to incomplete type
queued.c:3944: dereferencing pointer to incomplete type
queued.c:3946: dereferencing pointer to incomplete type
queued.c:3946: dereferencing pointer to incomplete type
queued.c:3954: dereferencing pointer to incomplete type
queued.c:3954: dereferencing pointer to incomplete type
queued.c:3955: dereferencing pointer to incomplete type
queued.c:3955: dereferencing pointer to incomplete type
queued.c:3963: dereferencing pointer to incomplete type
queued.c:3963: dereferencing pointer to incomplete type
queued.c: In function `check_query':
queued.c:4023: warning: passing arg 2 of `bind' from
incompatible pointer type
queued.c:4049: warning: passing arg 2 of `bind' from
incompatible pointer type
queued.c:4299: warning: assignment makes pointer from
integer without a cast
queued.c:4331: warning: assignment makes pointer from
integer without a cast
make: *** [queued.o] Error 1

Discussion

  • Logged In: NO

    I experienced the same compile error under RedHat 7.3, with
    queue version 1.4beta. Today is Aug 12, 2002. Is queue not
    maintained regularly anymore??