[Top][All Lists]

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

[Pan-devel] yes, ./ needs rerun (Re: still having troubles (Re

From: SciFi
Subject: [Pan-devel] yes, ./ needs rerun (Re: still having troubles (Re: Ping K.Haley: latest testing branch updates, I get compiler error in line 742: ‘_c lose’ not declared.))
Date: Sun, 24 Oct 2010 16:05:48 +0000 (UTC)
User-agent: Pan/0.133 (House of Butterflies; GIT e3cb864 testing; i386-apple-darwin9.8.0 / gcc-4.2.1 (Apple build 5577))


On Sat, 23 Oct 2010 11:49:09 -0600, K. Haley wrote:
> On 10/23/2010 5:41 AM, SciFi wrote:
>> In function ‘int<unnamed>::close(int)’:
>> error: ‘_close’ was not declared in this scope
>> In member function ‘void pan::PostUI::spawn_editor()’:
>> error: call of overloaded ‘close(const int&)’ is ambiguous
>> /usr/include/unistd.h:422: note: candidates are: int close(int)
>> note:                 int<unnamed>::close(int)
>> make[3]: *** [post-ui.o] Error 1
>> make[3]: Leaving directory 
>> `/Volumes/Big1500Doing/Projects/pan2_git2/pan2/pan/gui'
>> […]
>> <<<
>> There is only one place HAVE_CLOSE is found in my local tree
>> even after the ./configure has run:
>> $ grep -nre 'HAVE_CLOSE' .
>> ./pan/gui/ HAVE_CLOSE
>> $ _
>> and it is not def’d in my env-vars etc,
>> so I must infer that the ifndef is actually being run
>> causing the mix-up being cited.
>> To work-around this for now, in ./pan/gui/,
>> I commented–out the ifndef block starting at line 65,
>> and let it see the plain “close” again as-is on line 746.
>> This lets me build the latest testing branch ATM
>> (which I am using to post this message).
> It looks like needs to be regenerated.  I think you just
> need to run autoheader to update it.  configure should be testing for
> close now instead of _close.

Good grief,
I saw the patch to
and forgot to run ./
which is definitely needed to fully bring-in your fix.
(I coulda sworn the make system did that for me, but oh well…)

I am now running your code almost 100% 
with the patch I mentioned on Aug.27/28 archived at these places:

And a tiny lil hand-tweak on config.h to let PLATFORM_INFO
mention the gcc build (should be in my headers on this post).


reply via email to

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