Operating System - Linux
1752730 Members
5949 Online
108789 Solutions
New Discussion юеВ

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 3
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?