[Gambas-user] can't compile 1.9.40

Benoit Minisini gambas at ...1...
Sun Aug 27 12:00:44 CEST 2006


On Sunday 27 August 2006 11:22, Stefano Palmeri wrote:
> Hi, Benoit.
>
> This is the first time I can't compile Gambas2.
>
> gcc (GCC) 3.3.4
> Qt 3.3.2
> KDE 3.4.2
>
> On the same system I compiled with no problems 1.9.39.
>
> Here's the error output:
>
> CWidget.cpp: In member function `virtual bool
> CWidget::eventFilter(QObject*, QEvent*)':
> CWidget.cpp:1654: error: `abs' undeclared (first use this function)
> CWidget.cpp:1654: error: (Each undeclared identifier is reported only once
> for each function it appears in.)
> make[5]: *** [gb_qt_la-CWidget.lo] Error 1
> make[5]: Leaving directory `/home/stefano/src/gambas2-1.9.40/gb.qt/src'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory `/home/stefano/src/gambas2-1.9.40/gb.qt/src'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/stefano/src/gambas2-1.9.40/gb.qt'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/stefano/src/gambas2-1.9.40/gb.qt'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/stefano/src/gambas2-1.9.40'
> make: *** [all] Error 2
>
> Best regards,
>
> Stefano Palmeri
>

And if you add the line '#include <stdlib.h>' at the beginning of the file, 
line 30, does it work better?

-- 
Benoit Minisini





More information about the User mailing list