samba.to.nestolea at spamgourmet.com
2011-Apr-13 13:03 UTC
[Samba] FAM linking error on Irix
Hi all, I am compiling Samba 3.5.8 on Irix 6.5.28 using gcc 3.4.6 . Towards the end the linking phase stops with the following error: [...] Compiling ../lib/popt/poptparse.c Linking bin/smbd /usr/lib32/libfam.a(fam.o): In function `FAMOpen2': /xlv44/6.5.28m/work/eoe/lib/libfam/libfam_n32_M3/fam.c++:51: relocation truncated to fit: R_MIPS_GPREL16 against `.srdata' /usr/lib32/libfam.a(fam.o): In function `checkRequest(FAMRequest *, char const *)': /xlv44/6.5.28m/work/eoe/lib/libfam/libfam_n32_M3/fam.c++:280: relocation truncated to fit: R_MIPS_GPREL16 against `.sdata' /xlv44/6.5.28m/work/eoe/lib/libfam/libfam_n32_M3/fam.c++:275: relocation truncated to fit: R_MIPS_GPREL16 against `.sdata' /usr/lib32/libfam.a(fam.o): In function `GroupStuff::groupString(char *, int)': /xlv44/6.5.28m/work/eoe/lib/libfam/libfam_n32_M3/fam.c++:325: relocation truncated to fit: R_MIPS_GPREL16 against `.srdata' /xlv44/6.5.28m/work/eoe/lib/libfam/libfam_n32_M3/fam.c++:329: relocation truncated to fit: R_MIPS_GPREL16 against `.srdata' /usr/lib32/libfam.a(Client.o): In function `BTree<int,void *>::insert(int const &, void *const &)': /xlv44/6.5.28m/work/eoe/lib/libfam/libfam_n32_M3/BTree.h:375: relocation truncated to fit: R_MIPS_GPREL16 against `.srdata' /xlv44/6.5.28m/work/eoe/lib/libfam/libfam_n32_M3/BTree.h:375: relocation truncated to fit: R_MIPS_GPREL16 against `.srdata' /usr/lib32/libfam.a(Client.o): In function `BTree<int,void *>::remove(int const &)': /xlv44/6.5.28m/work/eoe/lib/libfam/libfam_n32_M3/BTree.h:466: relocation truncated to fit: R_MIPS_GPREL16 against `.srdata' /xlv44/6.5.28m/work/eoe/lib/libfam/libfam_n32_M3/BTree.h:466: relocation truncated to fit: R_MIPS_GPREL16 against `.srdata' /xlv44/6.5.28m/work/eoe/lib/libfam/libfam_n32_M3/BTree.h:460: relocation truncated to fit: R_MIPS_GPREL16 against `.srdata' /xlv44/6.5.28m/work/eoe/lib/libfam/libfam_n32_M3/BTree.h:460: additional relocation overflows omitted from the output collect2: ld returned 1 exit status gmake: *** [bin/smbd] Error 1 Adding -lfam to LDFLAGS changes nothing. If I configure with --disable-fam , the compilation works fine. But I'd rather like to build it with FAM support. Even more as Irix comes with FAM anyhow. Please let me know if I can deliver any additional information for diagnosis. ...Or if the samba-technical list would be more suitable for questions like this? Regards, Frank 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.
On Wed, Apr 13, 2011 at 03:03:31PM +0200, samba.to.nestolea at spamgourmet.com wrote:> Hi all, > > I am compiling Samba 3.5.8 on Irix 6.5.28 using gcc 3.4.6 . > > Towards the end the linking phase stops with the following error: > > [...] > Compiling ../lib/popt/poptparse.c > > Linking bin/smbd > > /usr/lib32/libfam.a(fam.o): In function `FAMOpen2': > > /xlv44/6.5.28m/work/eoe/lib/libfam/libfam_n32_M3/fam.c++:51: > relocation truncated to fit: R_MIPS_GPREL16 against `.srdata' > /usr/lib32/libfam.a(fam.o): In function `checkRequest(FAMRequest *, > char const *)':Google leads me to http://sourceware.org/ml/ecos-discuss/2000-04/msg00214.html Maybe some table is just overflowing and you need to take a look at specific linker options. I don't have access to that build environment right now so I can't really tell. But maybe the hint to play with -G<n> as a linker argument helps you. Sorry, Volker -- SerNet GmbH, Bahnhofsallee 1b, 37081 G?ttingen phone: +49-551-370000-0, fax: +49-551-370000-9 AG G?ttingen, HRB 2816, GF: Dr. Johannes Loxen
Maybe Matching Threads
- Compiling Samba with FAM support on Irix
- Problems with the installation of the Samba 4.2.3
- samba 2.0.6 on Irix 6.5.6m core dump problem (internal error)
- [RFC/PATCH] ssh: config directive to modify the local environment
- Login failure with SElinux enforcing + Sqlite user DB