cancel
Showing results for 
Search instead for 
Did you mean: 

Error while compiling on Linux

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