Click to See Complete Forum and Search --> : compilation prob


srinis
01-18-2005, 06:21 AM
hi,
i just happened to compile the VOCAL s/w provided by vovida group for Voice communication on my redhat 9 linux machine which used gcc-3.2 .
It compiles fine, i tried the same using my Fedora Core III Linux machine which uses gcc-3.4 it resulted in lots of errors saying some unresolved sysmbols in source code.

Can anyonw just give me some explanation on why this is so.

Thanking u ,
Satish

Choozo
01-18-2005, 10:32 AM
Without knowing the exact error messages; The source for VOCAL may contain function/method calls that are deprecated in glibc-3.4.x, and thus giving you problems.

srinis
01-24-2005, 05:18 AM
hi,
it gave me plenty of error messages and warinigs, i could not devode them, so i want to try out a simple soln,

Can i remove the gcc-3.4 packages using rpm -e
and then install gcc-3.2 will this effect any package dependecies, if this can be done, plz do suggest how to.

Thanking u,
Satish

bwkaz
01-24-2005, 07:45 PM
No, I don't think that will work very well. (Actually, it might, but I think the chances are pretty slim. There are a lot of differences between the two compilers, though it's not quite as bad as gcc 2 -> gcc 3.)

Maybe you should post the errors you got. ;) (Make sure it's all of them, not just the first screenful, and make sure it's an exact copy, not a summary or rewording. If you need to capture them to a file, you can do a [compile-command] >log.txt 2>&1 and then look in log.txt.

Choozo
01-25-2005, 02:43 AM
An option/workaround may be to install gcc-3.2 in a different location than gcc-3.4 (e.g. /opt/gcc32), and set $PATH and $LD_LIBRARY_PATH accordingly in your CLI session before compiling.