monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] building 0.38 on AIX


From: Stephen Leake
Subject: Re: [Monotone-devel] building 0.38 on AIX
Date: Fri, 14 Dec 2007 02:39:39 -0500
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/22.1 (windows-nt)

"Kelly F. Hickel" <address@hidden> writes:

> The issue is that unix/tester-plaf.o gets included into libplatform.a,
> but needs symbols defined in tester.cc to actually link.  The AIX linker
> is fairly pedantic about unresolved symbols, often to the point on
> insanity in my opinion.  If I remove unix/tester-plat.o from the .a,
> then I can build the mtn binary.

Files that are in a library but not the link should not cause
unresolved symbol problems.

What is pulling in tester-plaf.o without tester.cc?

But I guess you are saying the AIX linker doesn't work this way; it
tries to link the entire library whether it needs to or not? That
seems more "broken" than "pedantic".

> So, the question is: should the generated Makefile be putting
> unix/tester-plaf.o into libplatform.a? If so, how do we fix the
> unresolved symbols? Adding tester.o to the .a is likely to be an issue,
> since that file contains a main() function.

If it's only that one file, you can add it to tester_SOURCES instead,
in the 'if WIN32_PLATFORM' part of Makefile.am.

Do the same with win32/tester-plaf.o, for simplicity.

-- 
-- Stephe




reply via email to

[Prev in Thread] Current Thread [Next in Thread]