[ECOS] Compile problems when including Posix compatibility package

Ian Gilmour ian.gilmour@ffei.co.uk
Wed Mar 12 12:30:00 GMT 2003


I'm attempting to build an ECOS library and have just tried to add in the
Posix compatibility package (target: powerpc/cme555 host:linux), to an
existing ecos.ecc file.

Removing the Posix compatibility package the library builds ok. ecosconfig
checks pass without error with the package in or out. But when I compile
with it I get the following errors.

It's complaining about the missing definition of sigset_t amongst other
things.

Is there something else I need to do to use the Posix compatibility package?

Any help gratefully received.

cheers,


Ian


powerpc-eabi-gcc -c  -I/home/iag/work/ecos/axiom_xxx/evt/install/include
-I/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current
-I/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src
-I/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/tests -I.
-I/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/
-mcpu=505 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef
-Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -mmultiple
-fno-rtti -fno-exceptions -finit-priority -Wp,-MD,src/fd.tmp -o
src/io_fileio_fd.o
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/fd.cxx
In file included from
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/fio.h:96,
                 from
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/fd.cxx:64:
/home/iag/work/ecos/axiom_xxx/evt/install/include/cyg/posix/export.h:100:
parse error before `*'
/home/iag/work/ecos/axiom_xxx/evt/install/include/cyg/posix/export.h:102:
parse error before `*'
make[2]: *** [src/fd.o.d] Error 1
powerpc-eabi-gcc -c  -I/home/iag/work/ecos/axiom_xxx/evt/install/include
-I/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current
-I/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src
-I/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/tests -I.
-I/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/
-mcpu=505 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef
-Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -mmultiple
-fno-rtti -fno-exceptions -finit-priority -Wp,-MD,src/file.tmp -o
src/io_fileio_file.o
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/file.cxx
In file included from
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/fio.h:96,
                 from
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/file.cxx:67
:
/home/iag/work/ecos/axiom_xxx/evt/install/include/cyg/posix/export.h:100:
parse error before `*'
/home/iag/work/ecos/axiom_xxx/evt/install/include/cyg/posix/export.h:102:
parse error before `*'
make[2]: *** [src/file.o.d] Error 1
powerpc-eabi-gcc -c  -I/home/iag/work/ecos/axiom_xxx/evt/install/include
-I/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current
-I/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src
-I/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/tests -I.
-I/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/
-mcpu=505 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef
-Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -mmultiple
-fno-rtti -fno-exceptions -finit-priority -Wp,-MD,src/io.tmp -o
src/io_fileio_io.o
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/io.cxx
In file included from
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/fio.h:96,
                 from
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/io.cxx:67:
/home/iag/work/ecos/axiom_xxx/evt/install/include/cyg/posix/export.h:100:
parse error before `*'
/home/iag/work/ecos/axiom_xxx/evt/install/include/cyg/posix/export.h:102:
parse error before `*'
make[2]: *** [src/io.o.d] Error 1
powerpc-eabi-gcc -c  -I/home/iag/work/ecos/axiom_xxx/evt/install/include
-I/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current
-I/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src
-I/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/tests -I.
-I/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/
-mcpu=505 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef
-Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -mmultiple
-fno-rtti -fno-exceptions -finit-priority -Wp,-MD,src/dir.tmp -o
src/io_fileio_dir.o
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/dir.cxx
In file included from
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/fio.h:96,
                 from
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/dir.cxx:66:
/home/iag/work/ecos/axiom_xxx/evt/install/include/cyg/posix/export.h:100:
parse error before `*'
/home/iag/work/ecos/axiom_xxx/evt/install/include/cyg/posix/export.h:102:
parse error before `*'
make[2]: *** [src/dir.o.d] Error 1
powerpc-eabi-gcc -c  -I/home/iag/work/ecos/axiom_xxx/evt/install/include
-I/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current
-I/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src
-I/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/tests -I.
-I/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/
-mcpu=505 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef
-Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -mmultiple
-fno-rtti -fno-exceptions -finit-priority -Wp,-MD,src/select.tmp -o
src/io_fileio_select.o
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/select.cxx
In file included from
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/fio.h:96,
                 from
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/select.cxx:
67:
/home/iag/work/ecos/axiom_xxx/evt/install/include/cyg/posix/export.h:100:
parse error before `*'
/home/iag/work/ecos/axiom_xxx/evt/install/include/cyg/posix/export.h:102:
parse error before `*'
In file included from
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/select.cxx:
69:
/home/iag/work/ecos/axiom_xxx/evt/install/include/sys/select.h:138: parse
error before `*'
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/select.cxx:
143: parse error before `*'
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/select.cxx:
In function `int cyg_pselect(...)':
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/select.cxx:
155: `sigset_t' undeclared (first use this function)
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/select.cxx:
155: (Each undeclared identifier is reported only once
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/select.cxx:
155: for each function it appears in.)
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/select.cxx:
155: parse error before `;'
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/select.cxx:
162: `in' undeclared (first use this function)
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/select.cxx:
163: `out' undeclared (first use this function)
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/select.cxx:
164: `ex' undeclared (first use this function)
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/select.cxx:
167: `tv' undeclared (first use this function)
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/select.cxx:
183: `nfd' undeclared (first use this function)
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/select.cxx:
213: `mask' undeclared (first use this function)
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/select.cxx:
222: `oldmask' undeclared (first use this function)
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/select.cxx:
152: warning: `cyg_tick_count ticks' might be used uninitialized in this
function
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/select.cxx:
At top level:
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/select.cxx:
324: parse error before `*'
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/select.cxx:
In function `int pselect(...)':
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/select.cxx:
328: `ts' undeclared (first use this function)
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/select.cxx:
334: `sigmask' undeclared (first use this function)
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/select.cxx:
335: warning: control reaches end of non-void function `pselect(...)'
make[2]: *** [src/select.o.d] Error 1
powerpc-eabi-gcc -c  -I/home/iag/work/ecos/axiom_xxx/evt/install/include
-I/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current
-I/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src
-I/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/tests -I.
-I/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/
-mcpu=505 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef
-Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -mmultiple
-fno-rtti -fno-exceptions -finit-priority -Wp,-MD,src/misc.tmp -o
src/io_fileio_misc.o
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/misc.cxx
In file included from
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/fio.h:96,
                 from
/usr/local/tools/src/ecosCVS/ecos/packages/io/fileio/current/src/misc.cxx:79
:
/home/iag/work/ecos/axiom_xxx/evt/install/include/cyg/posix/export.h:100:
parse error before `*'
/home/iag/work/ecos/axiom_xxx/evt/install/include/cyg/posix/export.h:102:
parse error before `*'
make[2]: *** [src/misc.o.d] Error 1

----------------------------------------------------------------------------
CONFIDENTIALITY AND DISCLAIMER NOTICE

This message and any attachment is confidential and is protected by
copyright. If you are not the intended recipient, please email the sender or
telephone +44 (0)1442 213440 and delete this message and any attachment from
your system. Dissemination and or copying of this email is prohibited if you
are not the intended recipient.

We believe, but do not warrant, that this email and any attachments are
virus free. You should take full responsibility for virus checking.

No responsibility is accepted by FUJIFILM Electronic Imaging Limited for
personal emails or emails unconnected with FUJIFILM Electronic Imaging
Limited's business.
----------------------------------------------------------------------------

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list