Error about libcrypt when compile on fedora21

Gedare Bloom gedare at rtems.org
Tue Mar 10 13:17:04 UTC 2015


If you want to compile the current rtems.git/master you will need to
build your tools using the current rtems-source-builder.git master
also. This should give you the correctly working tool chain.

Gedare

On Tue, Mar 10, 2015 at 5:26 AM, Sebastian Huber
<sebastian.huber at embedded-brains.de> wrote:
> The tool chain on this virtual machine uses an outdated Newlib version.
>
> On 10/03/15 09:55, zhengyazhou wrote:
>>
>> Hi,
>> I accept advice of Gedare<gedare at rtems.org> and I build a crossing compile
>> environment on my computer using a virtual machine with a fedora21 host.Then
>> I get the source code of rtems though git clone
>> git://git.rtems.org/rtems.git
>> But I meet another problem of libcrypt when I execute the command 'make
>> all install' after configure.
>> Bellowed is the detailed error:
>>
>> Making all in libcrypt
>> gmake[5]: Entering directory
>> '/root/rtemsPro/rtemsSRC/rtems/buildcsb337/arm-rtems4.11/c/csb337/cpukit/libcrypt'
>> arm-rtems4.11-gcc --pipe -DHAVE_CONFIG_H   -I..
>> -I../../cpukit/../../../csb337/lib/include   -mcpu=arm920 -O2 -g -Wall
>> -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes
>> -Wnested-externs -MT libcrypt_a-crypt.o -MD -MP -MF
>> .deps/libcrypt_a-crypt.Tpo -c -o libcrypt_a-crypt.o `test -f 'crypt.c' ||
>> echo '../../../../../../c/src/../../cpukit/libcrypt/'`crypt.c
>> In file included from
>> ../../../../../../c/src/../../cpukit/libcrypt/crypt.c:32:0:
>> ../../cpukit/../../../csb337/lib/include/crypt.h:70:55: error: expected
>> ')' before 'int'
>>  void _crypt_b64_from_24bit(uint8_t, uint8_t, uint8_t, int, int *, char
>> **);
>
>
> --
> Sebastian Huber, embedded brains GmbH
>
> Address : Dornierstr. 4, D-82178 Puchheim, Germany
> Phone   : +49 89 189 47 41-16
> Fax     : +49 89 189 47 41-09
> E-Mail  : sebastian.huber at embedded-brains.de
> PGP     : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel


More information about the devel mailing list