[Top][All Lists]

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

[Pan-devel] still having troubles (Re: Ping K.Haley: latest testing bran

From: SciFi
Subject: [Pan-devel] still having troubles (Re: Ping K.Haley: latest testing branch updates, I get compiler error in line 742: ‘_close’ not declared.)
Date: Sat, 23 Oct 2010 11:41:14 +0000 (UTC)
User-agent: Pan/0.133 (House of Butterflies; GIT e3cb864 testing; i386-apple-darwin9.8.0/gcc-4.2.1(5577))


Sorry to say, at this moment of this posting,
the latest git-pull is still not working right here on OSX.  :(

I did a “make -k clean distclean” first.
I renamed my slightly–modified pan/gui/
then did a “git pull” of testing branch to get latest stuff
(and to get a fresh latest copy of pan/gui/
Did “./configure --enable-dependency-tracking”
[I don’t use pkg–mgrs or cross–compiles etc, so it’s okay],
then ran “make -w”,
and the gcc-4.2.1 compiler stopped here:

[…] 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 

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).


reply via email to

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