On Wed, Jan 28, 2009 at 8:20 AM, Alexander <[email protected]> wrote: > Hello. > I've just compiled and installed SUNWfirefox 3.1 from JDS spec files (trunk > version of 26 January). Now I'm going to compile SUNWgnome-help-viewer. But > during compilation linker says: > > Undefined first referenced > symbol in file > nsAString::BeginReading() const yelp-yelp-gecko-services.o > nsCOMPtr_base::assign_from_helper(nsCOMPtr_helper const&, nsID > const&)yelp-Yelper.o > nsCOMPtr_base::begin_assignment() yelp-Yelper.o > NS_TableDrivenQI(void*, QITableEntry const*, nsID const&, > void**)yelp-yelp-gecko-services.o > vtable for nsGetInterface yelp-Yelper.o > nsACString::BeginReading() const yelp-Yelper.o > vtable for nsCreateInstanceByContractIDyelp-Yelper.o > nsCOMPtr_base::assign_from_qi_with_error(nsQueryInterfaceWithError const&, > nsID const&)yelp-Yelper.o > nsCOMPtr_base::assign_with_AddRef(nsISupports*) yelp-Yelper.o > nsCOMPtr_base::assign_from_qi(nsQueryInterface, nsID const&) yelp-Yelper.o > nsCOMPtr_base::~nsCOMPtr_base() yelp-Yelper.o > nsCOMPtr_base::assign_from_gs_contractid_with_error(nsGetServiceByContractIDWithError > const&, nsID const&)yelp-yelp-gecko-utils.o > ld: fatal: Symbol referencing errors. No output written to yelp > collect2: ld returned 1 exit status > > It seems all patches were applied correctly. What can cause this problem?
this typically means that yelp is using the wrong linkage conventions (it should probably use glue). Gecko has a couple of ways through which things can integrate, and the symbols listed are essentially "private". The "public" ones are provided by a couple of different "glues". _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
