Hi. I get this error when compiling the SDK:
devboard-R2_01> make
.
.
make[2]: Entering directory
`/NOBACKUP/d97-abr/devboard-R2_01/packages/apps/shells/dash/readline-R1_0_4'
cd /NOBACKUP/d97-abr/devboard-R2_01/apps/shells/dash/dash; \
MAKEOBJDIR='/NOBACKUP/d97-abr/devboard-R2_01/packages/apps/shells/dash/readline-R1_0_4/obj'
MAKEFLAGS= pmake \
CC:=' gcc-cris -isystem
/NOBACKUP/d97-abr/devboard-R2_01/target/cris-axis-linux-gnu/include
-mlinux -mno-mul-bug-workaround' \
CFLAGS:='-Wall -Wshadow -O2 -g -DUSE_READLINE -DBSD=1 -DSMALL
-D_GNU_SOURCE \
-DGLOB_BROKEN -DHAVE_VASPRINTF=1 -DIFS_BROKEN \
-D__COPYRIGHT\(x\)= -D__RCSID\(x\)= -D_DIAGASSERT\(x\)=' \
LDFLAGS:='
-L/NOBACKUP/d97-abr/devboard-R2_01/target/cris-axis-linux-gnu/lib
-Wl,-rpath-link,/NOBACKUP/d97-abr/devboard-R2_01/target/cris-axis-linux-gnu/lib'
LDADD:='-lreadline -ltermcap' \
YACC:=bison
pmake: don't know how to make arith.h. Stop
pmake: stopped in /NOBACKUP/d97-abr/devboard-R2_01/apps/shells/dash/dash
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/NOBACKUP/d97-abr/devboard-R2_01/packages/apps/shells/dash/readline-R1_0_4'
make[1]: *** [install-recurse] Error 1
make[1]: Leaving directory `/NOBACKUP/d97-abr/devboard-R2_01'
make: *** [everything] Error 2
I have installed version 1.63 of the CRISS cross compiler from source
according to the instructions on the Axis homepage
(http://developer.axis.com/download/compiler/) and bmake-20060728 (a
"portable pmake"), with a symlink bmake->pmake.
Now a kind soul at the Axis devel forum gave me a gmake Makefile for
dash, which took me through this particular error, but another similar
one showed up - something on the lines of "don't know how to make test.o".
I have tried the installation on two different systems running
different Linux distributions, and get the same error.
The SDK is installed using the install_svn_sdk.sh script, without root
access.
Any help is appriciated; this is getting really frustrating.
Thanks,
Arvid, KTH, Stockholm