Compiling ogle for suse requires newer libtools & binutils
Im trying to compile ogle but get an error about decoder.o(.text+0x15b4): undefined reference to `vmPrint_CMD' then I notice that binutils & libtools versions are higher than those in 7.1 Is there anything I should know about compiling and installing these. I tried ./configure .. make install for libtools but it doesnt seem to put it in the right place Im wary about this as I dont want to break something fundamental has anyone else been through this with ogle ? thanks dids
You do NOT have to manually install new binutils et al. I have successfully compiled ogle 0.7.1 and 0.7.0 on a plain SuSE 7.1 which has only the standard suse-provided upgrades. Did you follow the guidelines for the required libraries ? ( libcss et al ) -tosi Þann miðvikudagur 27 júní 2001 10:53 skrifaðir þú:
Im trying to compile ogle
but get an error about decoder.o(.text+0x15b4): undefined reference to `vmPrint_CMD'
then I notice that binutils & libtools versions are higher than those in 7.1
Is there anything I should know about compiling and installing these. I tried ./configure .. make install for libtools but it doesnt seem to put it in the right place
Im wary about this as I dont want to break something fundamental
has anyone else been through this with ogle ?
thanks dids
I had done as you suggested already. But armed with your info I approached the authors, it turns out that this was a function which should have been removed with compiler optimisation. I quote : ---------------- It's a left over since I renamed that function. If you look in ogle-0.7.x/vmg/decoder.c you'll see that the call to `vmPrint_CMD' is within a #ifdef segemnt after a if(0). This should be eliminated by optimization. Please check that `-O2' or higher is beeing used to compile Ogle. The real solution is to change `vmPrint_CMD' to `vmPrint_cmd'. You should be able to fix it your self. I have updated the source an this fix will be in the next version. ----------------------- Can someone explain to me the '-02' or higher statement here. Is the author talking about a compilation parameter or about the version number of Gcc ? btw it compiled once i did the above dids
You do NOT have to manually install new binutils et al.
I have successfully compiled ogle 0.7.1 and 0.7.0 on a plain SuSE 7.1 which has only the standard suse-provided upgrades.
Did you follow the guidelines for the required libraries ? ( libcss et al )
-tosi
Þann miðvikudagur 27 júní 2001 10:53 skrifaðir þú:
Im trying to compile ogle
but get an error about decoder.o(.text+0x15b4): undefined reference to `vmPrint_CMD'
then I notice that binutils & libtools versions are higher than those in 7.1
Is there anything I should know about compiling and installing these. I tried ./configure .. make install for libtools but it doesnt seem to put it in the right place
Im wary about this as I dont want to break something fundamental
has anyone else been through this with ogle ?
thanks dids
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
First of all, it's O2 (the letter O). And yes, it's a parameter to the compiler, to make it use optimization level 2. One of the many things it does is to remove code it determines will never be reached, such as while (1>2) or if(0) Regards Anders On Friday 29 June 2001 12:17, dids wrote:
I had done as you suggested already. But armed with your info I approached the authors, it turns out that this was a function which should have been removed with compiler optimisation. I quote : ---------------- It's a left over since I renamed that function. If you look in ogle-0.7.x/vmg/decoder.c you'll see that the call to `vmPrint_CMD' is within a #ifdef segemnt after a if(0). This should be eliminated by optimization. Please check that `-O2' or higher is beeing used to compile Ogle. The real solution is to change `vmPrint_CMD' to `vmPrint_cmd'. You should be able to fix it your self. I have updated the source an this fix will be in the next version. -----------------------
Can someone explain to me the '-02' or higher statement here. Is the author talking about a compilation parameter or about the version number of Gcc ?
btw it compiled once i did the above
dids
You do NOT have to manually install new binutils et al.
I have successfully compiled ogle 0.7.1 and 0.7.0 on a plain SuSE 7.1 which has only the standard suse-provided upgrades.
Did you follow the guidelines for the required libraries ? ( libcss et al )
-tosi
Þann miðvikudagur 27 júní 2001 10:53 skrifaðir þú:
Im trying to compile ogle
but get an error about decoder.o(.text+0x15b4): undefined reference to `vmPrint_CMD'
then I notice that binutils & libtools versions are higher than those in 7.1
Is there anything I should know about compiling and installing these. I tried ./configure .. make install for libtools but it doesnt seem to put it in the right place
Im wary about this as I dont want to break something fundamental
has anyone else been through this with ogle ?
thanks dids
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
dids wrote:
I had done as you suggested already. But armed with your info I approached the authors, it turns out that this was a function which should have been removed with compiler optimisation. I quote : ---------------- It's a left over since I renamed that function. If you look in ogle-0.7.x/vmg/decoder.c you'll see that the call to `vmPrint_CMD' is within a #ifdef segemnt after a if(0). This should be eliminated by optimization. Please check that `-O2' or higher is beeing used to compile Ogle. The real solution is to change `vmPrint_CMD' to `vmPrint_cmd'. You should be able to fix it your self. I have updated the source an this fix will be in the next version. -----------------------
Can someone explain to me the '-02' or higher statement here. Is the author talking about a compilation parameter or about the version number of Gcc ?
btw it compiled once i did the above
dids
First, it's not -02 but -O2. Its a compiler option that tells the compiler which optimization level to use. -- Mark Hounschell dmarkh@cfl.rr.com
participants (5)
-
Anders Johansson
-
dids
-
Mark Hounschell
-
Nick Zentena
-
Tor Sigurdsson