PDA

View Full Version : Geting an Error ocompiling.



XannDM
12-25-2002, 04:00 PM
Hello all,

Built a new box, using RH7.3.

Compiled qt 2.3.2 and that seemed to go ok.

But when I make ShowEQ it gets about 10 mins in to the make and I get the following error:

player.cpp: In method `void Player::playerUpdate (const playerPosStruct
*, unsigned int, unsigned char)':
player.cpp:752: `lrint' undeclared (first use this function)
player.cpp:752: (Each undeclared identifier is reported only once for
each function it appears in.)
make[2]: *** [player.o] Error 1
make[2]: Leaving directory `/seq/showeq/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/seq/showeq'
make: *** [all-recursive-am] Error 2

Any Ideas?

Thanks

baelang
12-28-2002, 07:04 PM
it is trying to link to something that is not there.

check ALL the packages and libraries that are listed in the walkthrough are installed on your new box.

fryfrog
12-29-2002, 01:29 PM
i could be wrong, but that looks like it MIGHT be trying to link against ....

1.) a qt-2.3.2 that was compiled with gcc-2.x (and you are using gcc-3.x to compile seq)
2.) a qt-2.x/3.x that was compiled without the -thread option
3.) you compiled qt-2.3.2 with gcc-3, but showeq is still seeing qt-3.x as the qt you want to use.

hopefully, you can figure out which of these it is because i can't really tell you farther than that from what you posted.

do a "gcc -v" and tell us if rh 7.3 uses gcc3 or gcc2. i can't remember, but i don't think it does.

you do know you need to compile qt-2.3.2 with gcc3, then compile seq with gcc3 right?

Cryonic
12-29-2002, 04:28 PM
RH 7.3 does NOT come with gcc3. Only 7.2 and 8.x have so far (and maybe 7.1). You can use the 7.2 gcc3 rpms to get gcc3 on your RH7.3 system, or better yet, download/buy RH8.0/Beta and use that instead.

peanutym
02-27-2003, 09:17 PM
saw this while i was browseing try to get my showeq working.

I am running redhat 8.0 and all i see is everyone saying that 8 comes with gcc3. when i type gcc and tab 2 times it says i have gcc

that is it. can someone point me in the right direction for gcc3? since he is built into red hat 8

Cryonic
02-27-2003, 09:52 PM
gcc -v

traveller888
03-01-2003, 07:38 AM
Hiyas

Just thought i would add - i am getting the same compile error.

Got in initially after doing an update and now get the same error from a fresh download.

As I was compiling successfully on this machine in mid FEB I feel my libraries are correct.

Any suggestions or thoughts appreciated on next thing to try.

And thanks to all developers and contributors.

Mr. Suspicious
03-01-2003, 08:23 AM
As I was compiling successfully on this machine in mid FEB I feel my libraries are correct.

Don't feel, make sure

traveller888
03-01-2003, 10:46 AM
Sorry – next time I see similar behavior to someone on help group will shutdown - format disk - burry computer in peat moss for 48 hours - reload operating system all libraries and full seq from scratch before post.