Re: build error

Love Hörnquist Åstrand <[email protected]>
Newsgroups gmane.comp.encryption.kerberos.heimdal.general
Message-ID <[email protected]>
Usually it because missing support functions in libgcc, try compiling for a different platform

http://stackoverflow.com/questions/130740/link-error-when-compiling-gcc-atomic-operation-in-32-bit-mode

Love


16 jan 2012 kl. 10:28 skrev [email protected]:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I try to build the 1.5, 1.5.1 or 1.5.2 heimdal package on a i686
> architecture (Scientific Linux SL release 5.5)
> but I always get the same problem:
> 
> e.g. in heimdal-1.5.2/lib/ipc
> 
> libtool: link: gcc -Wall -Wmissing-prototypes -Wpointer-arith
> - -Wbad-function-cast -Wmissing-declarations -Wnested-externs -g -O2 -o
> .libs/tc tc.o -pthread  ./.libs/libheim-ipcc.a
> /root/heimdal-1.5.2/base/.libs/libheimbase.so
> /root/heimdal-1.5.2/lib/roken/.libs/libroken.so
> ../../lib/vers/.libs/libvers.a ../../lib/roken/.libs/libroken.so
> - -lcrypt -lresolv -pthread -Wl,-rpath -Wl,/usr/heimdal/lib
> /root/heimdal-1.5.2/base/.libs/libheimbase.so: undefined reference to
> `__sync_sub_and_fetch_4'
> /root/heimdal-1.5.2/base/.libs/libheimbase.so: undefined reference to
> `__sync_add_and_fetch_4'
> collect2: ld returned 1 exit status
> make: *** [tc] Error 1
> 
> (on a x86_64 architecture, the "make" has no problems).
> 
> Any ideas how to solve this?
> 
> - -- 
> Ronny Blomme - [email protected]
> system manager
> UGent/ELIS - IMEC
> ELIS - Ghent University - Ghent, Belgium
> tel: +32/9/264.42.35 fax: +32/9/264.35.94 gsm: 0472/27.99.67
> http://www.elis.UGent.be/RonnyBlomme
> 
> ***********************************************************************
> This e-mail and/or its attachments may contain confidential information.
> It is intended solely for the intended addressee(s). Any use of the
> information contained herein by other persons is prohibited.
> Both IMEC vzw and Ghent University do not accept any liability for the
> contents of this mail and/or its attachments.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iD8DBQFPFGwylJGXRew8H6QRAojtAJ97NWldTD4gTSGn+O5i1p/ZKj3qOgCeP7KF
> 1y0oo9lbmBOrcgo1aZICrEw=
> =Iuyf
> -----END PGP SIGNATURE-----
smime.p7s (application/pkcs7-signature, 4.3 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.