Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

Error while compiling on Linux

sumanth_2
Occasional Contributor

Error while compiling on Linux

Hi ,

I'm doing some porting from HP-UX 11i to Linux.The same code is being compiling on HP-UX, but on Linux(RHEL 4) I'm getting the below error.
Any idea ?

Regards,
Sumanth

pspInternalVoiceF0.ecpp:211: error: expected constructor, destructor, or type conversion before "pspVoiceRequestMsg"
pspInternalVoiceF0.ecpp:211: error: expected `,' or `;' before "pspVoiceRequestMsg"
pspInternalVoiceF0.ecpp:241: error: expected constructor, destructor, or type conversion before "pspVoiceRequestMsg"
pspInternalVoiceF0.ecpp:241: error: expected `,' or `;' before "pspVoiceRequestMsg"
pspInternalVoiceF0.ecpp:1375: error: expected constructor, destructor, or type conversion before "pspVoiceRespMsg"
pspInternalVoiceF0.ecpp:1375: error: expected `,' or `;' before "pspVoiceRespMsg"
pspInternalVoiceF0.ecpp:1403: error: expected constructor, destructor, or type conversion before "pspVoiceRespMsg"
pspInternalVoiceF0.ecpp:1403: error: expected `,' or `;' before "pspVoiceRespMsg"
3 REPLIES
Rob Leadbeater
Honored Contributor

Re: Error while compiling on Linux

Hi,

It might be useful to know what compilers you're using on HP-UX and Red Hat...

Cheers,

Rob
sumanth_2
Occasional Contributor

Re: Error while compiling on Linux

Hi,

I'm using HP ANSI C++ B3910B A.03.65 on HP-UX
and on Linux I'm using gcc (GCC) 3.4.3 20041212 (Red Hat 3.4.3-9.EL4).

Regds,
Sumanth
Sreedharamurthy K
Respected Contributor

Re: Error while compiling on Linux

Is it possible to provide the structure? If you want, you can rename the related structures and members.. just to know how have you written it.. specifics of HPUX compilers used?