|
It is currently Wed Feb 08, 2012 6:35 pm
|
View unanswered posts | View active topics
| Welcome |
|
Welcome to RHAPSODY4YOU
You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, respond to polls, upload and download content, and access many other special features. Registration is fast, simple, and absolutely free, so please, register to join our community today. |
 |
|
 |
|
| Author |
Message |
|
satyam86
|
Post subject: LynxOS integration Posted: Wed Mar 10, 2010 7:15 am |
Joined: Wed Jan 13, 2010 6:18 am Posts: 10 Location: New Delhi
|
|
Dear Friends,
I am trying to integrate Rahpsody 7.5.1 with LynxOS CDK for windows but when i run the LynxOSbuild.mak on bash prompt i get an error saying ansi c++ forbid declaration.......... in LynxOSaom.mak which is located in aom folder in installed directory of rahpsody.
error *********************************** bash-2.05a$ make -f LynxOSbuild.mak make -C aom -f LynxOSaom.mak CFG=aomtrace USE_STL=yes gcc -g -I.. -I../osconfig/LynxOS -DUSE_IOSTREAM -DOMTRACER -DOM_USE_STL -c aom brk.cpp In file included from aomitem.h:21, from aombrk.h:18, from aombrk.cpp:18: ../omcom/omsdata.h:97: ANSI C++ forbids declaration `gen_ptr' with no type ../omcom/omsdata.h:98: `OMSData::addItemAtPosition(int, int)' has already been d eclared in `OMSData' ../omcom/omsdata.h:109: parse error before `)' ../omcom/omsdata.h: In method `void OMSData::addItemAtPosition(int, int)': ../omcom/omsdata.h:100: `gen_ptr' undeclared (first use this function) ../omcom/omsdata.h:100: (Each undeclared identifier is reported only once ../omcom/omsdata.h:100: for each function it appears in.) ../omcom/omsdata.h:100: parse error before `,' ../omcom/omsdata.h: In method `OMSData::OMSData(const char *)': ../omcom/omsdata.h:108: no matching function for call to `OMSData::addItem (cons t char *&)' ../omcom/omsdata.h:103: candidates are: void OMSData::addItem(const char *, int)
../omcom/omsdata.h: At top level: ../omcom/omsdata.h:110: semicolon missing after declaration of `class OMSData' ../omcom/omsdata.h: In function `int OMSData(int)': ../omcom/omsdata.h:110: implicit declaration of function `int addItem(...)' ../omcom/omsdata.h: At top level: ../omcom/omsdata.h:111: ANSI C++ forbids declaration `OMSData' with no type ../omcom/omsdata.h:112: ANSI C++ forbids declaration `OMSData' with no type ../omcom/omsdata.h:113: parse error before `&' ../omcom/omsdata.h:113: ANSI C++ forbids declaration `OMSData' with no type ../omcom/omsdata.h: In function `int OMSData(...)': ../omcom/omsdata.h:113: `item' undeclared (first use this function) ../omcom/omsdata.h: At top level: ../omcom/omsdata.h:114: ANSI C++ forbids declaration `OMSData' with no type ../omcom/omsdata.h:117: parse error before `,' ../omcom/omsdata.h:118: ANSI C++ forbids declaration `OMSData' with no type ../omcom/omsdata.h: In function `int OMSData(...)': ../omcom/omsdata.h:118: redefinition of `int OMSData(...)' ../omcom/omsdata.h:113: `int OMSData(...)' previously defined here ../omcom/omsdata.h: In function `int OMSData(...)': ../omcom/omsdata.h:119: `destination' undeclared (first use this function) ../omcom/omsdata.h:119: `what' undeclared (first use this function) ../omcom/omsdata.h: At top level: ../omcom/omsdata.h:122: parse error before `,' ../omcom/omscd c:/:123: ANSI C++ forbids declaration `OMSData' with no type ../omcom/omsdata.h: In function `int OMSData(...)': ../omcom/omsdata.h:123: redefinition of `int OMSData(...)' ../omcom/omsdata.h:118: `int OMSData(...)' previously defined here ../omcom/omsdata.h: At top level: ../omcom/omsdata.h:127: parse error before `,' ../omcom/omsdata.h:128: ANSI C++ forbids declaration `OMSData' with no type ../omcom/omsdata.h: In function `int OMSData(...)': ../omcom/omsdata.h:128: redefinition of `int OMSData(...)' ../omcom/omsdata.h:123: `int OMSData(...)' previously defined here ../omcom/omsdata.h: At top level: ../omcom/omsdata.h:132: parse error before `,' ../omcom/omsdata.h:133: ANSI C++ forbids declaration `OMSData' with no type ../omcom/omsdata.h: In function `int OMSData(...)': ../omcom/omsdata.h:133: redefinition of `int OMSData(...)' ../omcom/omsdata.h:128: `int OMSData(...)' previously defined here ../omcom/omsdata.h: At top level: ../omcom/omsdata.h:137: parse error before `,' ../omcom/omsdata.h:138: ANSI C++ forbids declaration `OMSData' with no type ../omcom/omsdata.h: In function `int OMSData(...)': ../omcom/omsdata.h:138: redefinition of `int OMSData(...)' ../omcom/omsdata.h:133: `int OMSData(...)' previously defined here ../omcom/omsdata.h: At top level: ../omcom/omsdata.h:142: parse error before `,' ../omcom/omsdata.h:143: ANSI C++ forbids declaration `OMSData' with no type ../omcom/omsdata.h: In function `int OMSData(...)': ../omcom/omsdata.h:143: redefinition of `int OMSData(...)' ../omcom/omsdata.h:138: `int OMSData(...)' previously defined here ../omcom/omsdata.h: At top level: ../omcom/omsdata.h:147: parse error before `,' ../omcom/omsdata.h:148: ANSI C++ forbids declaration `OMSData' with no type ../omcom/omsdata.h: In function `int OMSData(...)': ../omcom/omsdata.h:148: redefinition of `int OMSData(...)' ../omcom/omsdata.h:143: `int OMSData(...)' previously defined here ../omcom/omsdata.h: At top level: ../omcom/omsdata.h:152: parse error before `,' ../omcom/omsdata.h:153: ANSI C++ forbids declaration `OMSData' with no type ../omcom/omsdata.h: In function `int OMSData(...)': ../omcom/omsdata.h:153: redefinition of `int OMSData(...)' ../omcom/omsdata.h:148: `int OMSData(...)' previously defined here ../omcom/omsdata.h: In function `void addCode(unsigned char)': ../omcom/omsdata.h:160: `maxCode' undeclared (first use this function) ../omcom/omsdata.h:161: `data' undeclared (first use this function) ../omcom/omsdata.h: At top level: ../omcom/omsdata.h:167: virtual outside class declaration ../omcom/omsdata.h:172: virtual outside class declaration ../omcom/omsdata.h: In function `void addItem(bool)': ../omcom/omsdata.h:174: call of overloaded `addItem (const int &)' is ambiguous ../omcom/omsdata.h:167: candidates are: void addItem(unsigned char) ../omcom/omsdata.h:172: void addItem(bool) ../omcom/omsdata.h: At top level: ../omcom/omsdata.h:178: virtual outside class declaration ../omcom/omsdata.h:183: parse error before `&' ../omcom/omsdata.h:184: virtual outside class declaration ../omcom/omsdata.h: In function `void addItem(...)': ../omcom/omsdata.h:185: `sdataCode' undeclared (first use this function) ../omcom/omsdata.h: At top level: ../omcom/omsdata.h:190: virtual outside class declaration ../omcom/omsdata.h:191: parse error before `)' ../omcom/omsdata.h:191: virtual outside class declaration ../omcom/omsdata.h:194: virtual outside class declaration ../omcom/omsdata.h: In function `void addItem(int)': ../omcom/omsdata.h:196: parse error before `)' ../omcom/omsdata.h: At top level: ../omcom/omsdata.h:200: virtual outside class declaration ../omcom/omsdata.h: In function `void addItem(const char *)': ../omcom/omsdata.h:202: implicit declaration of function `int addEmptyString(... )' ../omcom/omsdata.h: At top level: ../omcom/omsdata.h:208: virtual outside class declaration ../omcom/omsdata.h:218: virtual outside class declaration ../omcom/omsdata.h:224: parse error before `&' ../omcom/omsdata.h:225: virtual outside class declaration ../omcom/omsdata.h: In function `void concatData(...)': ../omcom/omsdata.h:226: `omsData' undeclared (first use this function) ../omcom/omsdata.h: In function `OMBoolean isString(int)': ../omcom/omsdata.h:231: `stringCode' undeclared (first use this function) ../omcom/omsdata.h:231: `emptyCode' undeclared (first use this function) ../omcom/omsdata.h: In function `OMBoolean isPointer(int)': ../omcom/omsdata.h:232: `pointerCode' undeclared (first use this function) ../omcom/omsdata.h:232: `pointer64Code' undeclared (first use this function) ../omcom/omsdata.h: In function `OMBoolean isTimeUnit(int)': ../omcom/omsdata.h:234: `timeunitCode' undeclared (first use this function) ../omcom/omsdata.h: At top level: ../omcom/omsdata.h:251: syntax error before `(' ../omcom/omsdata.h: In function `int getInt(OMSPosition &)': ../omcom/omsdata.h:254: implicit declaration of function `int getPointer(...)' ../omcom/omsdata.h: At top level: ../omcom/omsdata.h:278: syntax error before `*' ../omcom/omsdata.h: In function `char * safeGetChar(OMSPosition &)': ../omcom/omsdata.h:285: implicit declaration of function `int badPositionOrCode( ...)' ../omcom/omsdata.h: At top level: ../omcom/omsdata.h:299: syntax error before `(' ../omcom/omsdata.h:319: syntax error before `*' ../omcom/omsdata.h:325: non-member function `getLength()' cannot have `const' me thod qualifier ../omcom/omsdata.h:328: `other' was not declared in this scope ../omcom/omsdata.h:328: declaration of `operator ==' as non-function ../omcom/omsdata.h:328: invalid declarator ../omcom/omsdata.h:328: syntax error before `{' ../omcom/omsdata.h:329: `other' was not declared in this scope ../omcom/omsdata.h:329: declaration of `operator !=' as non-function ../omcom/omsdata.h:329: invalid declarator ../omcom/omsdata.h:329: syntax error before `{' ../omcom/omsdata.h:333: syntax error before `*' ../omcom/omsdata.h:335: syntax error before `->' ../omcom/omsdata.h:341: virtual outside class declaration ../omcom/omsdata.h:342: virtual outside class declaration ../omcom/omsdata.h:343: virtual outside class declaration ../omcom/omsdata.h:345: parse error before `}' ../omcom/omsdata.h:377: parse error before `)' ../omcom/omsdata.h: In method `OMSListData::OMSListData(int = OMSListData::count Unknown)': ../omcom/omsdata.h:360: no matching function for call to `OMSData::addItem (int) ' ../omcom/omsdata.h:103: candidates are: void OMSData::addItem(const char *, int)
../omcom/omsdata.h:365: no matching function for call to `OMSData::addItem (int &)' ../omcom/omsdata.h:103: candidates are: void OMSData::addItem(const char *, int)
../omcom/omsdata.h: In method `void OMSListData::addItem(const char *)': ../omcom/omsdata.h:369: no matching function for call to `OMSData::addItem (cons t char *&)' ../omcom/omsdata.h:103: candidates are: void OMSData::addItem(const char *, int)
../omcom/omsdata.h: In method `void OMSListData::addItem(int)': ../omcom/omsdata.h:370: no matching function for call to `OMSData::addItem (cons t int &)' ../omcom/omsdata.h:103: candidates are: void OMSData::addItem(const char *, int)
../omcom/omsdata.h: In method `void OMSListData::addItem(const OMString *)': ../omcom/omsdata.h:371: no matching function for call to `OMSData::addItem (cons t OMString *&)' ../omcom/omsdata.h:103: candidates are: void OMSData::addItem(const char *, int)
../omcom/omsdata.h: In method `void OMSListData::addItem(const OMString &)': ../omcom/omsdata.h:372: no matching function for call to `OMSData::addItem (cons t OMString &)' ../omcom/omsdata.h:103: candidates are: void OMSData::addItem(const char *, int)
../omcom/omsdata.h: In method `void OMSListData::addItem(long unsigned int)': ../omcom/omsdata.h:373: no matching function for call to `OMSData::addItem (cons t long unsigned int &)' ../omcom/omsdata.h:103: candidates are: void OMSData::addItem(const char *, int)
../omcom/omsdata.h: In method `void OMSListData::addItem(OMNotify)': ../omcom/omsdata.h:374: no matching function for call to `OMSData::addItem (cons t OMNotify &)' ../omcom/omsdata.h:103: candidates are: void OMSData::addItem(const char *, int)
../omcom/omsdata.h: In method `void OMSListData::addItem(unsigned char)': ../omcom/omsdata.h:375: no matching function for call to `OMSData::addItem (cons t unsigned char &)' ../omcom/omsdata.h:103: candidates are: void OMSData::addItem(const char *, int)
../omcom/omsdata.h: In method `void OMSListData::addItem(bool)': ../omcom/omsdata.h:376: no matching function for call to `OMSData::addItem (cons t bool &)' ../omcom/omsdata.h:103: candidates are: void OMSData::addItem(const char *, int)
../omcom/omsdata.h: In method `void OMSListData::addItem(...)': ../omcom/omsdata.h:377: `value' undeclared (first use this function) ../omcom/omsdata.h: In method `void OMSListData::addItem(const OMHandle *, const OMString *)': ../omcom/omsdata.h:382: no matching function for call to `OMSData::addItem (cons t OMHandle *&)' ../omcom/omsdata.h:103: candidates are: void OMSData::addItem(const char *, int)
../omcom/omsdata.h:383: no matching function for call to `OMSData::addItem (cons t OMString *&)' ../omcom/omsdata.h:103: candidates are: void OMSData::addItem(const char *, int)
../omcom/omsdata.h: In method `void OMSListData::addItem(const OMHandle *, const char *)': ../omcom/omsdata.h:389: no matching function for call to `OMSData::addItem (cons t OMHandle *&)' ../omcom/omsdata.h:103: candidates are: void OMSData::addItem(const char *, int)
../omcom/omsdata.h:390: no matching function for call to `OMSData::addItem (cons t char *&)' ../omcom/omsdata.h:103: candidates are: void OMSData::addItem(const char *, int)
../omcom/omsdata.h: In method `void OMSListData::addItem(const OMHandle *, const void *)': ../omcom/omsdata.h:396: no matching function for call to `OMSData::addItem (cons t OMHandle *&)' ../omcom/omsdata.h:103: candidates are: void OMSData::addItem(const char *, int)
../omcom/omsdata.h:397: parse error before `)' ../omcom/omsdata.h: In method `void OMSListData::addItemAndItsProxy(const void * )': ../omcom/omsdata.h:403: parse error before `)' ../omcom/omsdata.h:404: parse error before `)' ../omcom/omsdata.h: In method `void OMSListData::addItem(const OMSData &)': ../omcom/omsdata.h:410: no matching function for call to `OMSData::addItem (cons t OMSData &)' ../omcom/omsdata.h:103: candidates are: void OMSData::addItem(const char *, int)
In file included from aombrk.h:18, from aombrk.cpp:18: aomitem.h: At top level: aomitem.h:75: type specifier omitted for parameter aomitem.h:75: parse error before `*' In file included from aombrk.cpp:18: aombrk.h:113: type specifier omitted for parameter aombrk.h:113: parse error before `*' In file included from aombrk.cpp:19: aominst.h:117: type specifier omitted for parameter aominst.h:117: parse error before `*' In file included from aombrk.cpp:21: aommsg.h:78: parse error before `)' aommsg.h: In method `void AOMSData::addItem(const AOMAnimationItem *)': aommsg.h:52: parse error before `)' aommsg.h:57: parse error before `)' aommsg.h:58: confused by earlier errors, bailing out make[1]: *** [aombrk.o] Error 1 make: *** [aom] Error 2 bash-2.05a$ ***********************************
Please check it and help me out.
_________________ Thanks and Regards Satyam New Delhi
|
|
|
|
 |
|
shanz
|
Post subject: Re: LynxOS integration Posted: Wed Mar 10, 2010 1:41 pm |
Joined: Wed May 07, 2008 3:50 pm Posts: 148 Location: Horsham, W Sussex, England
|
|
Where did you get LynxOSbuild.mak from?
|
|
|
|
 |
|
satyam86
|
Post subject: Re: LynxOS integration Posted: Thu Mar 11, 2010 4:58 am |
Joined: Wed Jan 13, 2010 6:18 am Posts: 10 Location: New Delhi
|
|
Hi Shanz,
I got it on the internet......should i make it myself or is there any procedure that I should follow to make it???
_________________ Thanks and Regards Satyam New Delhi
|
|
|
|
 |
|
satyam86
|
Post subject: Re: LynxOS integration Posted: Tue Mar 16, 2010 11:27 am |
Joined: Wed Jan 13, 2010 6:18 am Posts: 10 Location: New Delhi
|
|
Hi friends,
i sorted out the last problem but stuck in this one so if any one can please help me out
***********error*************
RoundTrip Files : C:/Rhapsody/HellowWorld/DefaultComponent/debug/Default.h C:/Rhapsody/HellowWorld/DefaultComponent/debug/Default.cpp C:/Rhapsody/HellowWorld/DefaultComponent/debug/object_0.h C:/Rhapsody/HellowWorld/DefaultComponent/debug/object_0.cpp C:/Rhapsody/HellowWorld/DefaultComponent/debug/Timer.h C:/Rhapsody/HellowWorld/DefaultComponent/debug/Timer.cpp C:/Rhapsody/HellowWorld/DefaultComponent/debug/Button.h C:/Rhapsody/HellowWorld/DefaultComponent/debug/Button.cpp C:/Rhapsody/HellowWorld/DefaultComponent/debug/Display.h C:/Rhapsody/HellowWorld/DefaultComponent/debug/Display.cpp C:/Rhapsody/HellowWorld/DefaultComponent/debug/Builder.h C:/Rhapsody/HellowWorld/DefaultComponent/debug/Builder.cpp
Reverse Engineering Done.
Roundtrip Done.
0 Error(s), 0 Warning(s), 15 Change(s)
All Checks Terminated Successfully
Checker Done 0 Error(s), 0 Warning(s)
Code generated to directory: C:/Rhapsody/HellowWorld/DefaultComponent/debug Generating file Builder.h Generating file Button.h Generating file Default.h Generating file Display.h Generating file object_0.h Generating file Timer.h Generating file Builder.cpp Generating file Button.cpp Generating file Default.cpp Generating file Display.cpp Generating file object_0.cpp Generating file Timer.cpp
Code Generation Done
0 Error(s), 0 Warning(s), 0 Message(s) Building ------------ DefaultComponent ------------ Executing: "C:\Rhapsody\Share\etc\lynxosmake.bat" DefaultComponent.mak build
Setup : ENV_PREFIX is an environment variable that points to : the root of the build/release directory. The ENVIRONMENT : file is found as $ENV_PREFIX/ENVIRONMENT. : Set ENV_PREFIX to /usr/lynx/4.0.0/x86? [y] Setup : Setting up Xdev tools: /usr/lynx/4.0.0/x86/cdk/win32-elf-x86
Setup : Complete!
DefaultComponent.mak:18: *** missing separator. Stop.
Build Done ***************************************
_________________ Thanks and Regards Satyam New Delhi
|
|
|
|
 |
|
|
 |
|
 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|