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: Kyle Butt <kylebutt@xxxxxxxxx>
Date: Thu, 7 Apr 2005 23:35:07 -0600

On Thu, Apr 07, 2005 at 01:59:02PM -0700, Max Okumoto wrote:
> 
> 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

Yep, It's there. You might find this interesting:

(So I must be missing the function in my libc.)
Hmm, I wonder how that happened.

>( cd /usr/include && grep INT64_MIN -r * )
machine/stdint.h:#define        INT64_MIN       (-0x7fffffffffffffffLL-1)
machine/stdint.h:#define        INTMAX_MIN      INT64_MIN
machine/stdint.h:#define        INT_LEAST64_MIN         INT64_MIN
machine/stdint.h:#define        INT_FAST64_MIN          INT64_MIN


>(cd /usr/lib && nm *.a | grep strtoumax )
> 



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