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

compilation error at: How to write and build applications

I am following the steps form: How to write and build application on the
Axis developer web page.

I could compile my own hello application, but at the step "Getting the
Executable into the developer board", I receive the following error
after invoking: make install (from the devboard_lx directory)

make[1]: Leaving directory `/home/vlenders/axis/devboard_lx/apps/sftpd'
Making install in apps/sftpclient
make[1]: Entering directory
install_elinux -d /home/vlenders/axis/devboard_lx/hroot/bin/
install_elinux -m 0755 -o root -g root sftpclient
make[1]: Leaving directory
Making install in apps/shell
make[1]: Entering directory `/home/vlenders/axis/devboard_lx/apps/shell'

Making install in sash
make[2]: Entering directory
make -C nfs
make[3]: Entering directory
gcc_cris -mlinux -DCRISMMU
-muclibc=/home/vlenders/axis/devboard_lx/eroot -Wall -O2   -c -o
nfsmount.o ../../src/nfs/nfsmount.c
In file included from ../../src/nfs/nfsmount.c:48:
../../src/nfs/nfs_mount3.h:28: field `root' has incomplete type
../../src/nfs/nfsmount.c: In function `nfsmount':
../../src/nfs/nfsmount.c:230: `NFS_VERSION' undeclared (first use in
this function)
../../src/nfs/nfsmount.c:230: (Each undeclared identifier is reported
only once
../../src/nfs/nfsmount.c:230: for each function it appears in.)
../../src/nfs/nfsmount.c:137: warning: `nfsvers' might be used
uninitialized in this function
make[3]: *** [nfsmount.o] Error 1
make[3]: Leaving directory
make[2]: *** [nfs/nfs.o] Error 2
make[2]: Leaving directory
make[1]: *** [install-recurse] Error 1
make[1]: Leaving directory `/home/vlenders/axis/devboard_lx/apps/shell'
make: *** [install-recurse] Error 1

Is there something wrong with the source?

Vincent Lenders