PDA

View Full Version : Error compiling



seqnoob33
07-31-2003, 06:08 PM
I'm getting an error when i do the make .

player.cpp: In function `long int lrint(double)':
player.cpp:19: redefinition of `long int lrint(double)'
/usr/include/bits/mathinline.h:614: `long int lrint(double)' previously defined
here
player.cpp:19: redefinition of `long int lrint(double)'
/usr/include/bits/mathinline.h:614: `long int lrint(double)' previously defined
here
player.cpp: In function `long int lrintf(float)':
player.cpp:25: redefinition of `long int lrintf(float)'
/usr/include/bits/mathinline.h:609: `long int lrintf(float)' previously defined
here
player.cpp:25: redefinition of `long int lrintf(float)'
/usr/include/bits/mathinline.h:609: `long int lrintf(float)' previously defined
here
make[3]: *** [player.o] Error 1
make[3]: Leaving directory `/root/showeq/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/showeq/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/showeq'
make: *** [all] Error 2


I have mandrake 9.1 and qt-3.2.2

what i did is installed showeq from cvs and then applied the patch.diff that i found in the forum here.

then i did make Makefile.dist ; ./configure ; make ; make install

But its stop in the make compilation.

Just wondering if its an error in the patch.diff that cause that.

Thanks in advance

LordCrush
08-01-2003, 12:40 AM
2 Steps ...

Download a fresh SEQ - dont update an exsiting -
... compile it
if ok apply patch and compile again