Some weeks ago I asked for help because I got "relocation truncated to fit: R_MIPS_GPREL16 against `.srdata'" error messages when trying to compile Samba 3.5.8 including FAM support on SGI Irix 6.5.28 using gcc 3.4.6 .

A hint was found on this page: <http://sourceware.org/ml/ecos-discuss/2000-04/msg00214.html>, which explains the cause of the message and suggests to try the flag -Gn .

Well, I did. I tried all values from 0 to 9 for -G (setenv LDFLAGS "-lfam -Gn"). It didn't change anything.

But since this all is about optimization, I tried to tackle it with the compiler optimization flags directly. And in fact, with the values 3 and 2 for optimization (setenv CFLAGS -On) the build was successful!!!


Further note, concerning the next problem on Irix:
Later, during installation, lots of "msgfmt: not found" messages from the script installmo.sh appear. As I have learned in IRC, the missing msgfmt program belongs to the Gettext runtime and is part of the GNU Translation Project. It is for translating the error messages from English into other languages. If one is happy with English message texts, one can simply ignore those messages during installation...


Hope this helps someone (and that I'm not the only remaining Irix user...),
Fank Morawietz
--
__________________________________________________________________________
Frank Morawietz
This message and any attachment are confidential and may be privileged or 
otherwise protected from disclosure. If you are not the intended recipient, you 
must not copy this message or attachment or disclose the contents to any other 
person. If you have received this transmission in error, please notify the 
sender immediately and delete the message and any attachment from your system. 
Merck KGaA, Darmstadt, Germany and any of its subsidiaries do not accept 
liability for any omissions or errors in this message which may arise as a 
result of E-Mail-transmission or for damages resulting from any unauthorized 
changes of the content of this message and any attachment thereto. Merck KGaA, 
Darmstadt, Germany and any of its subsidiaries do not guarantee that this 
message is free of viruses and does not accept liability for any damages caused 
by any virus transmitted therewith.

Click http://disclaimer.merck.de to access the German, French, Spanish and 
Portuguese versions of this disclaimer.


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to