DragonFly BSD
DragonFly bugs List (threaded) for 2005-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: HEAD not compiling

From: Max Okumoto <okumoto@xxxxxxxx>
Date: Thu, 07 Apr 2005 13:59:02 -0700

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

# 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.

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

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


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);

If not could you run cvsup again?


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]