This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Math Lib error
- From: Ashutosh <ashutoshvyas at tataelxsi dot co dot in>
- To: ecos-discuss at sources dot redhat dot com
- Date: Wed, 19 May 2004 11:27:08 +0530
- Subject: [ECOS] Math Lib error
- Reply-to: ashutoshvyas at tataelxsi dot co dot in
Dear all,
hi
I am trying to build the ARM PID application on eCos. I am using eCos
Configuration Tool (Windows). I had faced one problem , when I try to
include packages like Math Lib and File IO . And then try to build the
system, it gaves an error. The error I got is shown below.
/ecos-d/untitled_install/include/cyg/fileio/sockio.h:62:28:
pkgconf/kernel.h: No such file or directory
/ecos-d/untitled_install/include/cyg/fileio/sockio.h:63:31:
pkgconf/io_fileio.h: No such file or directory
/ecos-d/cygwin/opt/ecos-2.0/packages/io/fileio/v2_0/src/fd.cxx:79: `
CYGNUM_FILEIO_NFILE' was not declared in this scope
/ecos-d/cygwin/opt/ecos-2.0/packages/io/fileio/v2_0/src/fd.cxx:82: `
CYGNUM_FILEIO_NFD' was not declared in this scope
/ecos-d/cygwin/opt/ecos-2.0/packages/io/fileio/v2_0/src/fd.cxx: In function
`void cyg_fd_init()':
/ecos-d/cygwin/opt/ecos-2.0/packages/io/fileio/v2_0/src/fd.cxx:93: `
CYGNUM_FILEIO_NFILE' undeclared (first use this function)
/ecos-d/cygwin/opt/ecos-2.0/packages/io/fileio/v2_0/src/fd.cxx:93: (Each
undeclared identifier is reported only once for each function it appears
in.)
/ecos-d/cygwin/opt/ecos-2.0/packages/io/fileio/v2_0/src/fd.cxx:94: `file'
undeclared (first use this function)
/ecos-d/cygwin/opt/ecos-2.0/packages/io/fileio/v2_0/src/fd.cxx:96: `
CYGNUM_FILEIO_NFD' undeclared (first use this function)
/ecos-d/cygwin/opt/ecos-2.0/packages/io/fileio/v2_0/src/fd.cxx:97: `desc'
undeclared (first use this function)
make[1]: Leaving directory `/ecos-d/untitled_build/io/fileio/v2_0'
make[1]: *** [src/fd.o.d] Error 1
make: Leaving directory `/ecos-d/untitled_build'
make: *** [build] Error 2
As it shows that it is unable to find pkgconf/kernel.h, pkgconf/io_fileio.h.
But when I check the pkgconf folders it is not there. Can somebody tell are
these files generated automatically or they have to be included from some
external sources.
Regards,
Ashutosh
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss