Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Nov 1998 12:05:16 +1300 (NZDT)
From:      Jonathan Chen <jonc@pinnacle.co.nz>
To:        Casper <casper@acc.am>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Static library creation !Need some help
Message-ID:  <Pine.SCO.3.96.981125120350.1173H-100000@kiwi.pinnacle.co.nz>
In-Reply-To: <365B241F.F904CC60@acc.am>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 25 Nov 1998, Casper wrote:

> Can anyone help me with subj ?
> I written library , that contains c++ class. It compiled just succesiful
> , also all is OK , when i running ar -rcu to create library.
> But i troubled to compile some sample program to use this library ..
> It not found corresponding symbols in the library /*-constructor,
> destructor & etc ..-*/
> But when i linking with object file , containing that class all is OK .

BSD requires you to run `ranlib' against the library; having come
from a SysV environment myself, I find this requirement very annoying.

Cheers.
--
Jonathan Chen
----------------------------------------------------------------------
                                          Experience is a hard teacher
               because she gives the test first, the lesson afterwards


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SCO.3.96.981125120350.1173H-100000>