HEAD not compiling

Max Okumoto okumoto at ucsd.edu
Thu Apr 7 13:59:02 PDT 2005


Max Okumoto wrote:
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

X_WINDOW_SYSTEM=xorg
# added by use.perl 2005-02-09 17:19:59
PERL_VER=5.8.6
PERL_VERSION=5.8.6
CCVER=gcc34
NOPERL=yes
I get the same result if I comment out CCVER.

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


drwx------  3 kylebutt  3024  512 Apr  7 11:38 /home/kylebutt

Can't read the output file. Can you change the permissions?

                Max

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.

Can you look in make.h and see if you can see the following:

/* Needed for cross compile on FreeBSD 4.X */
#ifndef INT64_MIN
#include <stdlib.h>
#define INT64_MIN       (-0x7fffffffffffffffLL-1)
typedef __int64_t       intmax_t;
typedef __uint64_t      uintmax_t;
static inline uintmax_t
strtoumax(const char *nptr, char **endptr, int base)
{
        return strtoull(nptr, endptr, base);
}
#endif
If not could you run cvsup again?

			Max





More information about the Bugs mailing list