HEAD not compiling

Max Okumoto okumoto at ucsd.edu
Thu Apr 7 12:41:01 PDT 2005

Kyle Butt wrote:
I cvsupped last night from cvsup.dragonflybsd.org,
and did a make buildworld in /usr/src, and there was
an error.
Here's my make.conf

# added by use.perl 2005-02-09 17:19:59
I get the same result if I comment out CCVER.

A full output of the build is available in ~kylebutt on leaf.

Hopefully someone can see if I'm doing something obviously wrong.

Here's the last few lines:

cc -O -pipe  -I/usr/src/usr.bin/make -DMAKE_VERSION=\"5200408120\" -DDEFSHELL=1   -Wunknown-pragmas -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls  -c /usr/src/usr.bin/make/var_modify.c
cc -O -pipe  -I/usr/src/usr.bin/make -DMAKE_VERSION=\"5200408120\" -DDEFSHELL=1   -Wunknown-pragmas -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls   -static -o make arch.o buf.o compat.o cond.o dir.o for.o hash.o job.o lst.o main.o make.o parse.o str.o suff.o targ.o util.o var.o var_modify.o 
job.o: In function `Job_Init':
job.o(.text+0x261a): warning: mktemp() possibly used unsafely; consider using mkstemp()
arch.o: In function `ArchArchiveNext':
arch.o(.text+0x90a): undefined reference to `strtoumax'
*** Error code 1

Stop in /usr/src/usr.bin/make.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.

That is strange, are you doing a cross compile from FreeBSD 4.X?
The last few patches for make(1) include usages of c99 stuff.
But I added glue in make.h to handle FreeBSD4.X.
Can you run make clean in /usr/src and retry?


More information about the Bugs mailing list