Hi,
I accept advice of Gedare<ged...@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 **);
                                                       ^
Makefile:427: recipe for target 'libcrypt_a-crypt.o' failed
gmake[5]: *** [libcrypt_a-crypt.o] Error 1
gmake[5]: Leaving directory 
'/root/rtemsPro/rtemsSRC/rtems/buildcsb337/arm-rtems4.11/c/csb337/cpukit/libcrypt'
Makefile:964: recipe for target 'all-recursive' failed
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory 
'/root/rtemsPro/rtemsSRC/rtems/buildcsb337/arm-rtems4.11/c/csb337/cpukit'
Makefile:691: recipe for target 'all' failed
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory 
'/root/rtemsPro/rtemsSRC/rtems/buildcsb337/arm-rtems4.11/c/csb337/cpukit'
Makefile:487: recipe for target 'all-recursive' failed
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
'/root/rtemsPro/rtemsSRC/rtems/buildcsb337/arm-rtems4.11/c/csb337'
Makefile:348: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
'/root/rtemsPro/rtemsSRC/rtems/buildcsb337/arm-rtems4.11/c'
Makefile:472: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
[root@localhost buildcsb337]#
I fond Libcrypt is lib function written in C ,and I didn't change anything 
about it,Is my compile environment problem ?
I need some support,what's your viewpoint about this error? How can I fix this 
bug?

Best wishes
Asher
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to