#42 Cannot build for LynxOS

open
nobody
None
5
2004-11-08
2004-11-08
No

When attempting to build for the LynxOS RTOS using
the Win32+Cygwin-hosted cross-development kit, I get:

Making all in src
make[1]: Entering directory
`//nas/cobalt/users/sba/Lynxos/cppunit-1.10.2/src'
Making all in cppunit
make[2]: Entering directory
`//nas/cobalt/users/sba/Lynxos/cppunit-
1.10.2/src/cppunit'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`//nas/cobalt/users/sba/Lynxos/cppunit-
1.10.2/src/cppunit'
Making all in DllPlugInTester
make[2]: Entering directory
`//nas/cobalt/users/sba/Lynxos/cppunit-
1.10.2/src/DllPlugInTester'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../config -
I../../include -I../../include -g -O2 -MT
DllPlugInTester.o -MD -MP -
MF ".deps/DllPlugInTester.Tpo" \ -c -o DllPlugInTester.o `test -f 'DllPlugInTester.cpp' ||
echo './'`DllPlugInTester.cpp; \ then mv -
f ".deps/DllPlugInTester.Tpo" ".deps/DllPlugInTester.Po"; \ else rm -f ".deps/DllPlugInTester.Tpo"; exit 1; \ fi
In file included from DllPlugInTester.cpp:17:
CommandLineParser.h:26: syntax error before `;' token
DllPlugInTester.cpp: In function `bool runTests(const
CommandLineParser&)':
DllPlugInTester.cpp:36: `PlugInManager' undeclared in
namespace `CppUnit'
DllPlugInTester.cpp:36: parse error before `;' token
DllPlugInTester.cpp:71: `plugInManager' undeclared
(first use this function)
DllPlugInTester.cpp:71: (Each undeclared identifier is
reported only once for
each function it appears in.)
DllPlugInTester.cpp:71: `struct CommandLinePlugInInfo'
has no member named `
m_parameters'
DllPlugInTester.cpp: In function `int main(int, const
char**)':
DllPlugInTester.cpp:243: parse error before `&' token
DllPlugInTester.cpp: At global scope:
DllPlugInTester.cpp:252: syntax error before `.' token
make[2]: *** [DllPlugInTester.o] Error 1
make[2]: Leaving directory
`//nas/cobalt/users/sba/Lynxos/cppunit-
1.10.2/src/DllPlugInTester'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`//nas/cobalt/users/sba/Lynxos/cppunit-1.10.2/src'
make: *** [all-recursive] Error 1

My current workaround is to do

#undef CPPUNIT_HAVE_DLFCN_H

in config-auto.h, but I will probably lose some
functionality.

Any clue?

Discussion