delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/04/26/02:09:55

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <408CA7F6.3010502@hq.astra.ph>
Date: Mon, 26 Apr 2004 14:11:02 +0800
From: Carlo Florendo <list-subscriber AT hq DOT astra DOT ph>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624
MIME-Version: 1.0
To: Cygwin List <cygwin AT cygwin DOT com>
Subject: Re: blackbox does not compile with latest cygwin
References: <408C81CB DOT 6010206 AT hq DOT astra DOT ph> <6 DOT 1 DOT 0 DOT 6 DOT 0 DOT 20040425233831 DOT 037630e8 AT 127 DOT 0 DOT 0 DOT 1>
In-Reply-To: <6.1.0.6.0.20040425233831.037630e8@127.0.0.1>
X-IsSubscribed: yes

Larry Hall wrote:

>At 11:28 PM 4/25/2004, you wrote:
>  
>
>>Hi,
>>
>>First of all, thanks to the latest version of cygwin.  It appears to run faster and and the issues I complained about for the past year (some which I didn't follow up) have already been fixed! :)
>>
>>I upgraded to the latest cygwin last Friday and all seems to work fine until I compiled blackbox, a light window manager.   BTW, attached is a gzipped dump of cygcheck -svr.
>>
>>In the older version of cygwin, blackbox compiled OOTB and I didn't need to pass special parameters for configuring and building.
>>
>>I use the blackbox release: blackbox-0.65.0
>>(The blackbox website says this is the latest release.)
>>
>>Now, upon running ./configure on blackbox, all was ok.  When I started make, this is the error I got:
>>
>>Making all in src
>>make[2]: Entering directory `/usr/src/sources/blackbox-0.65.0/src'
>>c++ -DHAVE_CONFIG_H -I. -I. -I..   -DSHAPE  -DNDEBUG  -DTIMEDCACHE -DLOCALEPATH=\"/usr/local/share/blackbox/nls\" -DDEFAULTMENU=\"/usr/local/share/blackbox/menu\" -DDEFAULTSTYLE=\"/usr/local/share/blackbox/styles/Results\"  -g -O2  
>>-I/usr/X11R6/include -Wall -W -pedantic -c Window.cc
>>Window.cc: In member function `bool BlackboxWindow::setInputFocus()':
>>Window.cc:1396: error: `assert' undeclared (first use this function)
>>Window.cc:1396: error: (Each undeclared identifier is reported only once for
>> each function it appears in.)
>>Window.cc: In member function `void
>> BlackboxWindow::constrain(BlackboxWindow::Corner, unsigned int*, unsigned
>> int*)':
>>Window.cc:3234: error: `assert' undeclared (first use this function)
>>make[2]: *** [Window.o] Error 1
>>make[2]: Leaving directory `/usr/src/sources/blackbox-0.65.0/src'
>>make[1]: *** [all-recursive] Error 1
>>make[1]: Leaving directory `/usr/src/sources/blackbox-0.65.0'
>>make: *** [all-recursive-am] Error 2
>>
>>Could anyone point out what I'm doing wrong?
>>    
>>
>
>Clearly the problem is that you're missing "#include <assert.h>".  That's
>likely the result of a configure problem but I didn't investigate to any
>great extent so I might be wrong.
>  
>
Right!  When I added "#include <assert.h>", blackbox compiled clearly.  
How come it didn't complain in the past cygwin?  I compiled the same 
blackbox at a linux box (without my added "#include <assert.h>") and the 
thing built perfectly.  How come the new cygwin behaves differently? 

Thanks!

Best Regards,

Carlo
------
Carlo Florendo y Flora
Astra Philippines Inc.
www.astra.ph




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019