This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: build error (Invalid token in expression)
- From: "peter_ku" <peter_ku at issc dot com dot tw>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Mon, 1 Jul 2002 18:25:14 +0800
- Subject: RE: [ECOS] build error (Invalid token in expression)
Hello,
If I download the ecos-latest.tar.gz from ftp://ftp.skynet.ie/cvs/ ,
tar zxvf ecos-latest.tar.gz
to get the update code. then I can build my application without problem.
But if I use CVS.
cvs -d :pserver:anoncvs@sources.redhat.com:/cvs/ecos login
cvs -d :pserver:anoncvs@sources.redhat.com:/cvs/ecos -z 6 co -P ecos
I can build the library without problem but I can't build my application successfully.
/c/ecos2/default_install/include/cyg/infra/cyg_type.h:257: Invalid token in expression
/c/ecos2/default_install/include/cyg/kernel/kapidata.h:171: Invalid token in expression
what is the difference between these two methods(download from ftp site and update using CVS) ??
Anyone can help me to solve my problem? thanks for you help.
Best Regards,
Peter
-----Original Message-----
From: ecos-discuss-owner@sources.redhat.com [mailto:ecos-discuss-owner@sources.redhat.com]On Behalf Of peter_ku
Sent: Wednesday, June 26, 2002 5:33 PM
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] build error (Invalid token in expression)
Hello,
I use the CVS to update the newest ecos.
template : ARM evaluator 7T
package: default
then , build the library.
and I try to link with my simple application. there is a error report.
arm-elf-gcc -g -I/c/ecos2/default_install/include mac_io.c e7t_io.c start.c -L/c/ecos2/default_install/lib -Ttarget.ld -nostdlib
In file included from /c/ecos2/default_install/include/cyg/kernel/kapi.h:62,
from ecos.h:4,
from start.c:1:
/c/ecos2/default_install/include/cyg/infra/cyg_type.h:257: Invalid token in expression
In file included from /c/ecos2/default_install/include/cyg/kernel/kapi.h:645,
from ecos.h:4,
from start.c:1:
/c/ecos2/default_install/include/cyg/kernel/kapidata.h:171: Invalid token in expression
If I use the older version (2002.1), it is no problem.
Any suggestion?
Peter