PDA

View Full Version : about kylix3



zzxop
8th October 2004, 04:36 AM
i have just installed kylix3 on fedora core 2,but when i compile a c++ program, it is always reporting errors--------stdio.h contains many errors,or time.h contains many errors.

i don't write any code. After creating a console project, i instantly compile it. :confused: :confused:

do me a favor,please.
thanks in advance.

ewdi
8th October 2004, 04:36 AM
please post your error message so we can help you futher

Jman
9th October 2004, 01:03 AM
Moved to Programming forum.

zzxop
9th October 2004, 02:44 PM
please post your error message so we can help you futher
the following is error message
Build
[C++ Error] time.h(60): E2141 Declaration syntax error
[C++ Error] time.h(63): E2141 Declaration syntax error
[C++ Error] time.h(79): E2238 Multiple declaration for '__END_NAMESPACE_STD'
[C++ Error] time.h(63): E2344 Earlier declaration of '__END_NAMESPACE_STD'
[C++ Error] time.h(79): E2141 Declaration syntax error
[C++ Error] time.h(131): E2238 Multiple declaration for '__BEGIN_NAMESPACE_STD'
[C++ Error] time.h(60): E2344 Earlier declaration of '__BEGIN_NAMESPACE_STD'
[C++ Error] time.h(131): E2141 Declaration syntax error
[C++ Error] time.h(153): E2238 Multiple declaration for '__END_NAMESPACE_STD'
[C++ Error] time.h(79): E2344 Earlier declaration of '__END_NAMESPACE_STD'
[C++ Error] time.h(153): E2141 Declaration syntax error
[C++ Error] time.h(181): E2238 Multiple declaration for '__BEGIN_NAMESPACE_STD'
[C++ Error] time.h(131): E2344 Earlier declaration of '__BEGIN_NAMESPACE_STD'
[C++ Error] time.h(181): E2141 Declaration syntax error
[C++ Error] time.h(184): E2141 Declaration syntax error
[C++ Error] time.h(187): E2293 ) expected
[C++ Error] time.h(191): E2141 Declaration syntax error
[C++ Error] time.h(226): E2238 Multiple declaration for '__END_NAMESPACE_STD'
[C++ Error] time.h(153): E2344 Earlier declaration of '__END_NAMESPACE_STD'
[C++ Error] time.h(226): E2141 Declaration syntax error
[C++ Error] time.h(233): E2293 ) expected
[C++ Error] time.h(239): E2238 Multiple declaration for '__END_NAMESPACE_STD'
[C++ Error] time.h(226): E2344 Earlier declaration of '__END_NAMESPACE_STD'
[C++ Error] time.h(239): E2141 Declaration syntax error
[C++ Error] time.h(244): E2293 ) expected
[C++ Error] time.h(244): E2228 Too many error or warning messages

darkprok
22nd October 2004, 03:25 PM
zzxop, you'll need the headers of the glibc that comes with redhat linux 7.3
you may also need to install that glibc somewhere in your home directory.
then get kylix to use those libraries and headers (you may need to manually modify some of the files in the kylix installation to make this happen)
I remember that was the only way to get kylix3 to run on redhat 9 ages ago.
I had both pascal and c++ working back in the day but take my advise: try using qt directly instead of borland's out of date qt-based CLX stuff.

best regards,
darkprok