Error about libcrypt when compile on fedora21

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Mar 10 09:26:17 UTC 2015


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.




More information about the devel mailing list