Mail Archives: cygwin/2004/04/26/02:09:55
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 -