[opensuse-amd64] conflicting types for ‘__s64’
Hi, I'm trying to recompile the util-linux.src.rpm from SLES 10 (or SuSE 10.1), currently 2.12r-35.6, but I end up with In file included from /usr/include/asm/types.h:4, from /usr/include/asm-x86_64/byteorder.h:4, from /usr/include/asm/byteorder.h:4, from /usr/include/linux/cdrom.h:14, from mount_guess_fstype.c:51: /usr/include/asm-x86_64/types.h:22: error: conflicting types for ‘__s64’ /usr/include/blkid/blkid_types.h:18: error: previous declaration of ‘__s64’ was here /usr/include/asm-x86_64/types.h:23: error: conflicting types for ‘__u64’ /usr/include/blkid/blkid_types.h:19: error: previous declaration of ‘__u64’ was here make[1]: *** [mount_guess_fstype.o] Error 1 Looks like blkid_types.h is not chosing the "long long" type that asm-x86_64/types.h defines, but I'm not familiar enough with C to understand why. Can someone give me a hint? cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: +49 89 2180-99-4049 * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. * --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-amd64+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-amd64+help@opensuse.org
* Frank Steiner (fsteiner-mail1@bio.ifi.lmu.de) [20070411 11:52]:
Looks like blkid_types.h is not chosing the "long long" type that asm-x86_64/types.h defines, but I'm not familiar enough with C to understand why.
The easiest way would be to install the build package from 10.1 and using the build script included in it. This will set up a chroot environment to compile a given package, including only those packages really needed. As e2fsprogs-devel is not among them, it will compile cleanly. A clean fix would have blkid_types.h test if any of the asm-*/types.h headers has been included previously, not just /usr/include/types.h. Philipp --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-amd64+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-amd64+help@opensuse.org
Philipp Thomas wrote
* Frank Steiner (fsteiner-mail1@bio.ifi.lmu.de) [20070411 11:52]:
Looks like blkid_types.h is not chosing the "long long" type that asm-x86_64/types.h defines, but I'm not familiar enough with C to understand why.
The easiest way would be to install the build package from 10.1 and using the build script included in it. This will set up a chroot environment to compile a given package, including only those packages really needed. As e2fsprogs-devel is not among them, it will compile cleanly.
Hmm ok, I see. We have a special build mechanism for our environment building for all kinds of SuSE distributions and architectures we are running, so I will have to see how I can merge this with the build package. Or maybe I write a fix for the e2fsprogs-devel package :-) Thanks for your help! cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: +49 89 2180-99-4049 * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. * --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-amd64+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-amd64+help@opensuse.org
participants (2)
-
Frank Steiner
-
Philipp Thomas