gcc 7.3.0 compile problem with suse 12 sp2

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

gcc 7.3.0 compile problem with suse 12 sp2

zhangpeng (Q)
Hi,
I met a problem with gcc 7.3.0 compile on my OS suse 12 sp2.
I installed gmp-6.1.0.tar.bz2  isl-0.16.1.tar.bz2  mpc-1.0.3.tar.gz  mpfr-3.1.4.tar.bz2 first and configured as follows:
../configure --enable-checking=release --enable-languages=c,c++ --disable-multilib
Then I execute sudo make to begin the compile, while it failed
checking for int64_t... no
checking for long long int... no
checking for intmax_t... no
checking for intptr_t... no
checking for uint8_t... no
checking for uint16_t... no
checking for uint32_t... no
checking for uint64_t... no
checking for unsigned long long int... no
checking for uintmax_t... no
checking for uintptr_t... no
configure: error: uint64_t or int64_t not found
Makefile:4277: recipe for target 'configure-stage1-gcc' failed
make[2]: *** [configure-stage1-gcc] Error 1
make[2]: Leaving directory '/usr/local/src/gcc-7.3.0/gcc-build-7.3.0'
Makefile:22759: recipe for target 'stage1-bubble' failed
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory '/usr/local/src/gcc-7.3.0/gcc-build-7.3.0'
Makefile:933: recipe for target 'all' failed
make: *** [all] Error 2

I did’t get solution on Internet, I’ll appreciate if you can give some advices to solve this problem.
Regards,
Zhang
Reply | Threaded
Open this post in threaded view
|

Re: gcc 7.3.0 compile problem with suse 12 sp2

Jonathan Wakely-4
On Wed, 28 Nov 2018 at 02:41, zhangpeng (Q) <[hidden email]> wrote:

>
> Hi,
> I met a problem with gcc 7.3.0 compile on my OS suse 12 sp2.
> I installed gmp-6.1.0.tar.bz2  isl-0.16.1.tar.bz2  mpc-1.0.3.tar.gz  mpfr-3.1.4.tar.bz2 first and configured as follows:
> ../configure --enable-checking=release --enable-languages=c,c++ --disable-multilib
> Then I execute sudo make to begin the compile, while it failed
> checking for int64_t... no
> checking for long long int... no
> checking for intmax_t... no
> checking for intptr_t... no
> checking for uint8_t... no
> checking for uint16_t... no
> checking for uint32_t... no
> checking for uint64_t... no
> checking for unsigned long long int... no
> checking for uintmax_t... no
> checking for uintptr_t... no
> configure: error: uint64_t or int64_t not found

It looks like you don't have a working C library. Make sure you've
installed a glibc-devel RPM correctly.