RTEMS compilation problem

lukasz mosdorf lukasz.mosdorf at gmail.com
Mon Apr 27 15:13:46 UTC 2009


Hi all.

I'm new to the RTEMS and have already encountered some problems just at 
a very beginning - Im stuck :(. I tried to compile rtems 4.9 for powerpc 
bsp virtex. I get the following errors:

(...)
Making all in src/nfsclient
gmake[6]: Entering directory 
`/home/mort/RTEMS_CVS/b-ppc/powerpc-rtems4.9/c/virtex/cpukit/libfs/src/nfsclient'
powerpc-rtems4.9-gcc --pipe -DHAVE_CONFIG_H   -I../../.. 
-I../../../../cpukit/../../../virtex/lib/include 
-I../../../../../../../../rtems/c/src/../../cpukit/libfs/src/nfsclient/proto 
-UHAVE_CEXP 
-I../../../../../../../../rtems/c/src/../../cpukit/libfs/src/nfsclient/proto 
-UHAVE_CEXP  -Wall -Wimplicit-function-declaration -Wstrict-prototypes 
-Wnested-externs -fasm -mcpu=403 -Dppc405 -O2 -g 
-fno-keep-inline-functions -MT src/libnfs_a-rpcio.o -MD -MP -MF 
src/.deps/libnfs_a-rpcio.Tpo -c -o src/libnfs_a-rpcio.o `test -f 
'src/rpcio.c' || echo 
'../../../../../../../../rtems/c/src/../../cpukit/libfs/src/nfsclient/'`src/rpcio.c
mv -f src/.deps/libnfs_a-rpcio.Tpo src/.deps/libnfs_a-rpcio.Po
powerpc-rtems4.9-gcc --pipe -DHAVE_CONFIG_H   -I../../.. 
-I../../../../cpukit/../../../virtex/lib/include 
-I../../../../../../../../rtems/c/src/../../cpukit/libfs/src/nfsclient/proto 
-UHAVE_CEXP 
-I../../../../../../../../rtems/c/src/../../cpukit/libfs/src/nfsclient/proto 
-UHAVE_CEXP  -Wall -Wimplicit-function-declaration -Wstrict-prototypes 
-Wnested-externs -fasm -mcpu=403 -Dppc405 -O2 -g 
-fno-keep-inline-functions -MT src/libnfs_a-nfs.o -MD -MP -MF 
src/.deps/libnfs_a-nfs.Tpo -c -o src/libnfs_a-nfs.o `test -f 'src/nfs.c' 
|| echo 
'../../../../../../../../rtems/c/src/../../cpukit/libfs/src/nfsclient/'`src/nfs.c
mv -f src/.deps/libnfs_a-nfs.Tpo src/.deps/libnfs_a-nfs.Po
powerpc-rtems4.9-gcc --pipe -DHAVE_CONFIG_H   -I../../.. 
-I../../../../cpukit/../../../virtex/lib/include 
-I../../../../../../../../rtems/c/src/../../cpukit/libfs/src/nfsclient/proto 
-UHAVE_CEXP 
-I../../../../../../../../rtems/c/src/../../cpukit/libfs/src/nfsclient/proto 
-UHAVE_CEXP  -Wall -Wimplicit-function-declaration -Wstrict-prototypes 
-Wnested-externs -fasm -mcpu=403 -Dppc405 -O2 -g 
-fno-keep-inline-functions -MT src/libnfs_a-sock_mbuf.o -MD -MP -MF 
src/.deps/libnfs_a-sock_mbuf.Tpo -c -o src/libnfs_a-sock_mbuf.o `test -f 
'src/sock_mbuf.c' || echo 
'../../../../../../../../rtems/c/src/../../cpukit/libfs/src/nfsclient/'`src/sock_mbuf.c
../../../../../../../../rtems/c/src/../../cpukit/libfs/src/nfsclient/src/sock_mbuf.c: 
In function 'recv_mbuf_from':
../../../../../../../../rtems/c/src/../../cpukit/libfs/src/nfsclient/src/sock_mbuf.c:228: 
error: storage size of 'auio' isn't known
../../../../../../../../rtems/c/src/../../cpukit/libfs/src/nfsclient/src/sock_mbuf.c:228: 
warning: unused variable 'auio'
gmake[6]: *** [src/libnfs_a-sock_mbuf.o] Error 1
gmake[6]: Leaving directory 
`/home/mort/RTEMS_CVS/b-ppc/powerpc-rtems4.9/c/virtex/cpukit/libfs/src/nfsclient'
gmake[5]: *** [all-recursive] Error 1
gmake[5]: Leaving directory 
`/home/mort/RTEMS_CVS/b-ppc/powerpc-rtems4.9/c/virtex/cpukit/libfs'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory 
`/home/mort/RTEMS_CVS/b-ppc/powerpc-rtems4.9/c/virtex/cpukit'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory 
`/home/mort/RTEMS_CVS/b-ppc/powerpc-rtems4.9/c/virtex/cpukit'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
`/home/mort/RTEMS_CVS/b-ppc/powerpc-rtems4.9/c/virtex'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/mort/RTEMS_CVS/b-ppc/powerpc-rtems4.9/c'
gmake: *** [all-recursive] Error 1

i did run he following configuration:

 ../rtems/configure --target=powerpc-rtems4.9 --enable-rtemsbsp=virtex 
--enable-tests=samples --prefix=/opt/rtems-4.9/

I got the crosscompiler from rpm's for fedora 10.

Any ideas how to fix it?





More information about the users mailing list