Gcc3.3.1 static variables issue
Hello list I have ask it on another list but there was no answer. So I will try it here. I have upgraded to the new gcc3.3.1 from the SuSE ftp site my box (SuSE 8.2) and I tried to compile mplayer but it does not succeded. The compilation went just fine, but there was a problem with the linker. It seems that if a variable/function is declared static it does not see it resulting in an undefined reference. I have upgraded the following packages: cpp-3.3.1-0.i586.rpm gcc-c++-3.3.1-0.i586.rpm libstdc++-3.3.1-0.i586.rpm gcc-3.3.1-0.i586.rpm libgcc-3.3.1-0.i586.rpm libstdc++-devel-3.3.1-0.i586.rpm Do I have to install some other package? Any help would be apreciated. Thanks Zsolt
On 09/01/2003 09:46 PM, Lukacs Zsolt wrote:
I have upgraded to the new gcc3.3.1 from the SuSE ftp site my box (SuSE 8.2) and I tried to compile mplayer but it does not succeded. The compilation went just fine, but there was a problem with the linker. It seems that if a variable/function is declared static it does not see it resulting in an undefined reference. <snip> Do I have to install some other package?
I just (last night) went through the exact same thing (trying to compile Mplayer after upgrading to 3.3.1). I only got it to work after reinstalling the 3.3-43 versions in my apt cache. If you still have that version, I would suggest downgrading to that version. My GUESS is that the linking was failing because almost all the other packages were built against 3.3 pre or 3.3 final (-43). I do know it worked after the downgrade. YMMV. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: http://www.mydestiny.net/~joe_morris Registered Linux user 231871 God said, I AM that I AM. I say, by the grace of God, I am what I am.
I have dowgraded to the version you have suggested and it worked just fine. Thanks a lot. Does anybody know how to make the gcc-3.3.1 work? Zsolt Joe Morris (NTM) wrote:
On 09/01/2003 09:46 PM, Lukacs Zsolt wrote:
I have upgraded to the new gcc3.3.1 from the SuSE ftp site my box (SuSE 8.2) and I tried to compile mplayer but it does not succeded. The compilation went just fine, but there was a problem with the linker. It seems that if a variable/function is declared static it does not see it resulting in an undefined reference. <snip> Do I have to install some other package?
I just (last night) went through the exact same thing (trying to compile Mplayer after upgrading to 3.3.1). I only got it to work after reinstalling the 3.3-43 versions in my apt cache. If you still have that version, I would suggest downgrading to that version. My GUESS is that the linking was failing because almost all the other packages were built against 3.3 pre or 3.3 final (-43). I do know it worked after the downgrade. YMMV.
participants (2)
-
Joe Morris (NTM)
-
Lukacs Zsolt