Archived Forum Post

Index of archived forum posts

Question:

HCkCsp and HCkCspW redefined error in C compilation on 64 bit ubuntu 10 libchilkat 9.4.0

Dec 17 '12 at 18:16

Hi Chilkat guys/girls,

just installed new chilkat lib , running on 64 bit ubuntu 10.04 LTS compiling for C I got the following errors:

chilkat-9.4.0-x86_64-linux-gcc/include/Chilkat_C.h:43: error: redefinition of typedef ‘HCkCsp’ chilkat-9.4.0-x86_64-linux-gcc/include/Chilkat_C.h:38: note: previous declaration of ‘HCkCsp’ was here chilkat-9.4.0-x86_64-linux-gcc/include/Chilkat_C.h:130: error: redefinition of typedef ‘HCkCspW’ chilkat-9.4.0-x86_64-linux-gcc/include/Chilkat_C.h:125: note: previous declaration of ‘HCkCspW’ was here

commenting out the second occurrence of each solves the compiling issue, but


Answer

It's fixed now. A new distribution was created with these header file fixes:

http://www.chilkatsoft.com/download/chilkat-9.4.0-x86_64-linux-gcc.tar.gz