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: Christoph Bugel <chris at tti-telecom dot com>
- To: "Venkatakrishnan, V" <V dot Venkatakrishnan at channels dot usa dot xerox dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 4 Dec 2001 22:07:13 +0200
- Subject: Re: Thread model: single? (was: make bootstrap endless loop on AI X)
- References: <8229C4577A00D511ABC00090277A45A0702FAC@us0111-ch-ms1.channels.mc.xerox.com>
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.