[Gambas-user] 1.9.15 compilation error

Guillermo Ballester Valor gbv at ...1076...
Mon Aug 8 21:43:21 CEST 2005


Thanks! 

I will compile with gcc 4.0.1 ;-)

Guillermo

El Lunes, 8 de Agosto de 2005 20:44, Laurent Carlier escribió:
> 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,

-- 
Guillermo Ballester Valor
gbv at ...1076...
Ogijares, Granada  SPAIN
Linux user #117181. See http://counter.li.org/
Public GPG KEY http://www.oxixares.com/~gbv/pubgpg.html

 




More information about the User mailing list