pkgsrc-Users archive

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

Re: lang/g95 compilation error



On Thu, Jun 14, 2018 at 04:29:39PM +0530, Mayuresh wrote:
> I get this error on armv7 rpi2, pkgsrc-current
> 
> 
> In file included from /usr/include/machine/ansi.h:37,
>                  from
> /usr/pkgsrc/lang/g95/work/gcc-4.1.2/g95/./gcc/include/stddef.h:58,
>                  from ../../gcc/tsystem.h:47,
>                  from ../../gcc/libgcc2.c:33:
> /usr/include/sys/cdefs.h: In function '__zeroll':
> /usr/include/sys/cdefs.h:618: error: expected expression before '0'
> /usr/include/sys/cdefs.h: In function '__zeroull':
> /usr/include/sys/cdefs.h:619: error: expected expression before '0'
> In file included from
> /usr/pkgsrc/lang/g95/work/gcc-4.1.2/g95/./gcc/include/stdio.h:56,
>                  from ../../gcc/tsystem.h:90,
>                  from ../../gcc/libgcc2.c:33:
> /usr/include/sys/ansi.h: At top level:
> /usr/include/sys/ansi.h:62: error: expected expression before '[' token
> /usr/include/sys/ansi.h:63: error: expected ';' before '__mbstate_t'
> libgcc.mk:46: recipe for target 'libgcc/./_muldi3.o' failed
> gmake[3]: *** [libgcc/./_muldi3.o] Error 1
> gmake[3]: Leaving directory '/usr/pkgsrc/lang/g95/work/gcc-4.1.2/g95/gcc'
> Makefile:1403: recipe for target 'libgcc.a' failed
> gmake[2]: *** [libgcc.a] Error 2
> gmake[2]: Leaving directory '/usr/pkgsrc/lang/g95/work/gcc-4.1.2/g95/gcc'
> Makefile:3903: recipe for target 'all-gcc' failed
> gmake[1]: *** [all-gcc] Error 2
> gmake[1]: Leaving directory '/usr/pkgsrc/lang/g95/work/gcc-4.1.2/g95'
> Makefile:613: recipe for target 'all' failed
> gmake: *** [all] Error 2
> *** Error code 2

Further it says:

make[1]: stopped in /usr/pkgsrc/lang/g95
WARNING: Please add USE_TOOLS+=perl to the package Makefile.
*** Error code 1

Is that warning relevant to the issue?

Mayuresh


Home | Main Index | Thread Index | Old Index