[Gambas-user] 1.9.15 compilation error

Laurent Carlier lordheavy at ...512...
Mon Aug 8 20:44:43 CEST 2005


Guillermo Ballester Valor a écrit :
> Hello,
> 
> Trying to build 1.9.15 rpms  I get the following compilation error:
> 
>  g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/lib/qt3/include -D_REENTRANT -pipe 
> -Wall -fno-exceptions -Wno-unused-value -g -Os -fno-omit-frame-pointer -MT 
> CEditor.lo -MD -MP -MF .deps/CEditor.Tpo -c CEditor.cpp  -fPIC -DPIC 
> -o .libs/CEditor.o
> CEditor.cpp:37: error: `int y1' redeclared as different kind of symbol
> /usr/include/bits/mathcalls.h:242: error: previous declaration of `double
>    y1(double)'
> make[5]: *** [CEditor.lo] Error 1
> make[5]: Leaving directory 
> `/usr/src/packages/BUILD/gambas2-1.9.15/gb.qt/src/ext'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory `/usr/src/packages/BUILD/gambas2-1.9.15/gb.qt/src'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/usr/src/packages/BUILD/gambas2-1.9.15/gb.qt'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/usr/src/packages/BUILD/gambas2-1.9.15/gb.qt'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/packages/BUILD/gambas2-1.9.15'
> make: *** [all] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.12722 (%build)
> 
> Mi system is SuSE 9.3 with gcc-3.3.5
> 
> Any tip?
> 
> Guillermo
> 

You should compile with gcc 4 ....

Or use the attached file (replace src/ext/CEditor.cpp)

Regards,

-- 

Laurent Carlier
jabber : LordHeavy at ...943...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CEditor.cpp
Type: text/x-c++src
Size: 17070 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20050808/06bf4bbb/attachment.cpp>


More information about the User mailing list