This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Thread model: single? (was: make bootstrap endless loop on AI X)
- From: "Venkatakrishnan, V" <V dot Venkatakrishnan at channels dot usa dot xerox dot com>
- To: "'Christoph Bugel'" <chris at tti-telecom dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 4 Dec 2001 15:55:59 -0500
- Subject: RE: Thread model: single? (was: make bootstrap endless loop on AI X)
Thanks 'ftime' resolved but
In my case
nm /usr/lib/libc.a | grep FD_ZERO or
nm /usr/lib/libc.a | grep FD_SET doesn't return anything, meaning it's not
there, hmmmmmm :-/, I guess I'll keep exploring....
man on FD_SET/FD_ZERO gives me nothing, I wonder whether this available on
AIX?
I'm using
gcc version 2.7.2.2 on my AIX 4.1.5.0 box
Incase of your shared lib. problem........are you using the -L. switch?? Is
that libcatch.so.a lib in ur current dir. or in /usr/lib? Coz. depending on
the emulation of ld, sometimes ld goes looking for libs in the default paths
like /usr/lib only and so u've to explicitly specify the -L. option to tell
it to look in the current directory as well.
HTH
-----Original Message-----
From: Christoph Bugel [mailto:chris@tti-telecom.com]
Sent: Tuesday, December 04, 2001 3:07 PM
To: Venkatakrishnan, V
Cc: gcc-help@gcc.gnu.org
Subject: Re: Thread model: single? (was: make bootstrap endless loop on
AI X)
On Tue 2001-12-04, Venkatakrishnan, V wrote:
> I'm getting some linking errors on my AIX 4.1.5 box as follows....
> ld: 0711-317 ERROR: Undefined symbol: .ftime
> ld: 0711-317 ERROR: Undefined symbol: .FD_ZERO
> ld: 0711-317 ERROR: Undefined symbol: .FD_SET
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
> information.
>
> Now I do know that I would have to link one of the socket libs, but
> don't know which one from the /usr/lib directory, any idea anyone?
$ man ftime
ftime: Berkeley Compatibility Library (libbsd.a)
couldn't find the FD_ZERO though..
counter question :)
which gcc are you using? I can't find out how to use shared
libraries on AIX. Any idea how it is different from Linux/Solaris?
When I have a library called libcatch.so or libcatch.so.a, and I try to link
it with g++ -lcatch, the linker says
ld: 0706-006 Cannot find or open library file: -l catch
ld:open(): A file or directory in the path name does not exist.