Re: [ANNOUNCE] GIT 1.6.1

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

 



bill lam schrieb:
Why are you building with NO_UINTMAX_T to begin with?  Isn't ubuntu 8.10 a
recent enough platform that ships with modern enough header files that
define ANSI uintmax_t type?

No, I did not do anything on that,
make clean
./configure --prefix=/usr
make
and this is the error logged.
GIT_VERSION = 1.6.1
    * new build flags or prefix
In file included from /usr/include/netinet/in.h:24,
                 from git-compat-util.h:78,
                 from builtin.h:4,
                 from fast-import.c:142:
/usr/include/stdint.h:136: error: conflicting types for ‘uint32_t’
/usr/include/stdint.h:52: error: previous declaration of ‘uint32_t’ was here
fast-import.c: In function ‘parse_progress’:
fast-import.c:2339: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
make: *** [fast-import.o] Error 1

version of gcc:
gcc (Ubuntu 4.3.2-1ubuntu11) 4.3.2

I don't get any error on Ubuntu 8.10 on x86_64 (but several of those warnings about ignored return values), neither with the tar file nor a cloned repository (in the former case I had to add a "make configure" step, though).

Line 52 of /usr/include/stdint.h:
	typedef unsigned int		uint32_t;

Lines 134-136 of /usr/include/stdint.h:
	#if __WORDSIZE == 64
	typedef long int		intmax_t;
	typedef unsigned long int	uintmax_t;

If you get to line 136, you probably are on a 64 bit installation, too, correct?

configure seems to be confused. What happens if you take it out of the equation, i.e. run the following commands?

	$ make distclean
	$ make prefix=/usr

René
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux