Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

linker error in mandrake 9.1

3 views
Skip to first unread message

chennan

unread,
Apr 1, 2003, 9:55:20 AM4/1/03
to
I installed a kylix 3 open edtion on my mandrake 9.1 according a hint from
borland developer networks, it works well on delphi. however, for c++ IDE,
it is tricky.
At first I got some error on time.h, then I put /usr/include to the first in
directory option, after this kylix can compile program, but cannot link it.
It alwas give error message like unresolved libarary (can not find
exit..,printf basic funtion). I try to use gcc to compile a small program,
it works well. So I think gcc lib has been well installed and maybe I make a
wrong setup . Any idea?
Chen

chennan

unread,
Apr 2, 2003, 2:26:13 AM4/2/03
to
No reply?
"chennan" <chen...@hotmail.com> wrote in message
news:3e89...@newsgroups.borland.com...

Eric Pascual

unread,
Apr 7, 2003, 1:35:23 PM4/7/03
to
Hello chennan,

> I installed a kylix 3 open edtion on my mandrake 9.1 according a hint from
> borland developer networks, it works well on delphi. however, for c++ IDE,
> it is tricky.

Could you point me on this hint please. I can't install K3 on Mdk9.1 :
although I'm logged in as root, after the checkings are done (all ok),
nothing more happens (I've read somewhere that the install should start
in windowed mode, but I get nothing.

TIA

Best regards (and sorry for not bringing any reply to your intitial
question)

Eric Pascual


Chris Woodruff

unread,
Apr 7, 2003, 3:10:39 PM4/7/03
to
Do not install as root. Install K3 as a non-root user and then see what
happens.

--
Chris Woodruff
Openpenguin
cwoo...@openpenguin.com
(859) 230-5575

"Eric Pascual" <eric.p...@cstb.fr> wrote in message
news:3e91...@newsgroups.borland.com...

Eric Pascual

unread,
Apr 8, 2003, 11:58:46 AM4/8/03
to
Chris Woodruff wrote:
> Do not install as root. Install K3 as a non-root user and then see what
> happens.

Thanks Chris,

I did it very late last night, deciding not to follow to official
procedure. And it worked :-)

So (until now) K3 seems to work under Mdk9.1, aprat some little glitches
such as kdb shortcut for compile not working...

Eric


clapton

unread,
Apr 8, 2003, 3:30:59 PM4/8/03
to
Hi:
Sure, it is right. you unpacked your file as root, and then loggin
as an another user, you can install it. But until now I still can not
link my c++ program correctly.
Chen
"Chris Woodruff" <cwoo...@openpenguin.com> wrote in message news:<3e91cd25$2...@newsgroups.borland.com>...

" >

unread,
Apr 12, 2003, 9:44:34 AM4/12/03
to
hello
same problem as you!!!
did u fine somme thing?


Henry Leung

unread,
Apr 15, 2003, 9:40:08 AM4/15/03
to
Most likely it's the glibc problem. Maybe the following can help.

Installing Kylix 3 in Redhat version > 7.2
prepared by Henry Leung <hen...@net-yan.com>


The Borland Kylix 3 is designed to run on glibc 2.1, therefore it's
certified to operate on Redhat Linux 7.2. For version greater than 7.2,
the glibc package have been upgraded to glibc 2.2 or greater, therefore
it will generate errors during compilation.
To solve this problem, we need to install a compatible version of
glibc, i.e. Compat-glibc. Besides, we also need to change the include
path and library path in the project options. The following is the
procedures:

Install the package Xfree86-devel. It contains libX11.so, and Kylix
needs it.

Get the software package compat-glibc-6.2-2.1.3.2 from Redhat 7.2 CD,
or from ftp websites. Install the package:
rpm -ivh compat-glibc-6.2-2.1.3.2.rpm
Execute the Kylix installation program, using -m argument for non-rpm
install, as many versions of rpm have problem in relocating the software
package:
sh ./setup.sh -m
Complete the registration and copy the registration file to your home
directory. Then execute:
startbcb
When Kylix comes up, DO NOT open any project yet. You need to change the
default settings. Set the include path and the library path to the
compatible version of glibc:
Click Project – Options – Directories/Conditions
In the Include Path field, replace /usr/include with
/usr/i386-glibc21-linux/include. Also move this entry to the top of the
list.
In the Library Path field, replace /usr/lib with
/usr/i386-glibc21-linux/lib. Again move the entry to the top.

Additional notes for Redhat 9
In Redhat 9, there is one more problem. Kylix hangs when trying to run
a project. It seems that the problem is related to kernel 2.4.20. When I
downgrade the kernel to 2.4.18 (the one used in RH8), it works.

Now the installation is complete and try to run a simple program for
testing. Good luck.

chennan 提到:

0 new messages