Help needed with Gmake on SunOS
Charles Hewson
cahewson at eskimo.com
Wed Jan 28 20:39:10 CET 2004
Hi,
I get the folowing fatal error on first install:
[cahewson] gmake -h
Usage: gmake [options] [target] ...
Options:
-b, -m Ignored for compatibility.
-C DIRECTORY, --directory=DIRECTORY
Change to DIRECTORY before doing anything.
-d, --debug Print lots of debugging information.
-e, --environment-overrides
Environment variables override makefiles.
-f FILE, --file=FILE, --makefile=FILE
Read FILE as a makefile.
-h, --help Print this message and exit.
-i, --ignore-errors Ignore errors from commands.
-I DIRECTORY, --include-dir=DIRECTORY
Search DIRECTORY for included makefiles.
-j [N], --jobs[=N] Allow N jobs at once; infinite jobs with no
arg.
-k, --keep-going Keep going when some targets can't be made.
-l [N], --load-average[=N], --max-load[=N]
Don't start multiple jobs unless load is
below N.
-n, --just-print, --dry-run, --recon
Don't actually run any commands; just print
them.
-o FILE, --old-file=FILE, --assume-old=FILE
Consider FILE to be very old and don't
remake it.
-p, --print-data-base Print make's internal database.
-q, --question Run no commands; exit status says if up to
date.
-r, --no-builtin-rules Disable the built-in implicit rules.
-s, --silent, --quiet Don't echo commands.
-S, --no-keep-going, --stop
Turns off -k.
-t, --touch Touch targets instead of remaking them.
-v, --version Print the version number of make and exit.
-w, --print-directory Print the current directory.
--no-print-directory Turn off -w, even if it was turned on
implicitly.
-W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
Consider FILE to be infinitely new.
--warn-undefined-variables Warn when an undefined variable is
referenced.
[cahewson] gmake
Making all in trio
gmake[1]: Entering directory
`/userspace/u/c/cahewson/bogofilter-0.16.4/trio'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory
`/userspace/u/c/cahewson/bogofilter-0.16.4/trio'
Making all in src
gmake[1]: Entering directory
`/userspace/u/c/cahewson/bogofilter-0.16.4/src'
gmake all-recursive
gmake[2]: Entering directory
`/userspace/u/c/cahewson/bogofilter-0.16.4/src'
Making all in .
gmake[3]: Entering directory
`/userspace/u/c/cahewson/bogofilter-0.16.4/src'
source='passthrough.c' object='passthrough.o' libtool=no \
depfile='.deps/passthrough.Po' tmpdepfile='.deps/passthrough.TPo' \
depmode=gcc /bin/ksh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -I../trio -I..
-I/u/c/cahewson/BerkeleyDB/include -DBOGOFILTER -g -O2 -Wpointer-arith
-ggdb -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow
-Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings
-Waggregate-return -Wmissing-declarations -Wnested-externs -fno-common
-Wchar-subscripts -Wcomment -Wimplicit -Wreturn-type -Wformat -Wformat=2
-c passthrough.c
passthrough.c: In function `read_seek':
passthrough.c:120: warning: implicit declaration of function `fflush'
passthrough.c: In function `write_header':
passthrough.c:131: `ssize_t' undeclared (first use in this function)
passthrough.c:131: (Each undeclared identifier is reported only once
passthrough.c:131: for each function it appears in.)
passthrough.c:131: parse error before `rd'
passthrough.c:142: `rd' undeclared (first use in this function)
passthrough.c:168: warning: implicit declaration of function `strncasecmp'
passthrough.c:170: warning: implicit declaration of function `fprintf'
passthrough.c:172: warning: implicit declaration of function `fputc'
passthrough.c:173: warning: implicit declaration of function `fwrite'
passthrough.c: In function `write_body':
passthrough.c:191: `ssize_t' undeclared (first use in this function)
passthrough.c:191: parse error before `rd'
passthrough.c:201: `rd' undeclared (first use in this function)
passthrough.c:210: warning: implicit declaration of function `fclose'
passthrough.c: In function `write_message':
passthrough.c:244: warning: implicit declaration of function `rewind'
passthrough.c: In function `write_log_message':
passthrough.c:282: warning: implicit declaration of function `syslog'
passthrough.c:297: warning: implicit declaration of function `closelog'
passthrough.c: In function `output_setup':
passthrough.c:307: warning: implicit declaration of function `strerror'
passthrough.c:307: warning: format argument is not a pointer (arg 4)
gmake[3]: *** [passthrough.o] Error 1
gmake[3]: Leaving directory
`/userspace/u/c/cahewson/bogofilter-0.16.4/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/userspace/u/c/cahewson/bogofilter-0.16.4/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory
`/userspace/u/c/cahewson/bogofilter-0.16.4/src'
gmake: *** [all-recursive] Error 1
[cahewson] gmake -v
GNU Make version 3.75, by Richard Stallman and Roland McGrath.
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Report bugs to <bug-gnu-utils at prep.ai.mit.edu>.
[cahewson]
Config seemed to be ok.
Thanks in advance for any suggestions or help.
Charles
More information about the Bogofilter
mailing list