Hey all :: I'm having problems compiling Gridflow on a fresh installation of FC4. I downloaded Gridflow from the CVS, _configure_ and then _make_ hangs...
...
base/grid.h.fcs: In function 'Ruby PTR2FIX(const void*)':
base/grid.h.fcs:144: warning: format '%08x' expects type 'unsigned int', but
argument 3 has type 'long int'
base/grid.h.fcs: At global scope:
base/grid.h.fcs:498: error: explicit qualification in declaration of `void*
operator new(size_t)'
base/grid.h.fcs:499: error: explicit qualification in declaration of void* operator new [](size_t)' base/grid.h.fcs:500: error: explicit qualification in declaration of
void
operator delete(void*)'
base/grid.h.fcs:501: error: explicit qualification in declaration of `void
operator delete [](void*)'
make: *** [base/grid.o] Error 1
Ruby 1.8.3 is installed. Any ideas??
Thanks, Brad.
On Thu, 29 Sep 2005, Brad Kligerman wrote:
base/grid.h.fcs: In function 'Ruby PTR2FIX(const void*)': base/grid.h.fcs:144: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long int'
This is just a warning, and the bug has no impact at all, even on AMD64. It's now fixed in CVS.
base/grid.h.fcs: At global scope: base/grid.h.fcs:498: error: explicit qualification in declaration of
void* operator new(size_t)' base/grid.h.fcs:499: error: explicit qualification in declaration of
void* operator new size_t' base/grid.h.fcs:500: error: explicit qualification in declaration ofvoid operator delete(void*)' base/grid.h.fcs:501: error: explicit qualification in declaration of
void operator delete void*' make: *** [base/grid.o] Error 1 Ruby 1.8.3 is installed. Any ideas??
Those errors have to do with GCC, not Ruby. Which version of GCC are you using? Also I'm not too sure what it complains about. I think it might be complaining about the colons on those two lines, and it wants them removed, but I don't know why.
The only version of GCC I'm currently personally testing with is:
gcc version 3.3.5 20050117 (prerelease) (SUSE Linux)
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada --disable-checking --libdir=/usr/lib --enable-libgcj --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit i586-suse-linux Thread model: posix
(My OS is SuSE 9.3)
Of course I'd like it to compile on all versions of GCC 3 and 4.
Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju Freelance Digital Arts Engineer, Montréal QC Canada
On 9/30/05, Mathieu Bouchard matju@artengine.ca wrote:
Which version of GCC are you using?
I'm using GCC 4.0.1 installed with FC4.
Also I'm not too sure what it complains about. I think it might be
complaining about the colons on those two lines, and it wants them removed, but I don't know why.
Could it be a question of paths, finding the libraries...?
Of course I'd like it to compile on all versions of GCC 3 and 4.
Any other ideas for the time being? I'm doing an installation and would like to use some stuff I've already developed in Gridflow. I don't remember ever having any problems compiling gridflow, so I'm a bit surprised. Thanks, Brad.
On Fri, 30 Sep 2005, Brad Kligerman wrote:
On 9/30/05, Mathieu Bouchard matju@artengine.ca wrote:
Which version of GCC are you using?
I'm using GCC 4.0.1 installed with FC4. Also I'm not too sure what it complains about. I think it might be
complaining about the colons on those two lines, and it wants them removed, but I don't know why.
Could it be a question of paths, finding the libraries...?
no.
Any other ideas for the time being?
Carmen told me that removing the colons work. Have you tried it? If you haven't, you prolly should, because I have no other solutions for you, and it seems like it's _the_ solution. Well, except for downgrading, but I don't like suggesting that to anyone.
Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju Freelance Digital Arts Engineer, Montréal QC Canada