croczilla.com 
 home   zap   svg   xtf   jssh   bits&pieces   blog   personal   
  home > zap > lists > zap-devel > Archive > 2006 > 2006-05 > Compilation error with Linux AMD64 / Marc Petit-Huguenin <petithug@8x8.com>

zap-devel mailing list

To subscribe, send a mail with subject 'subscribe' to zap-devel(at)croczilla.com. Likewise, to unsubscribe, send a mail with subject 'unsubscribe' to zap-devel(at)croczilla.com.

[ << ] [ >> ]

[ how to find zap users / "jean-michel ... ] [ Help improve Zap and get paid! / Marc ... ]

Compilation error with Linux AMD64
Marc Petit-Huguenin <petithug(at)8x8.com>
2006-05-18 15:09:54 [ FULL ]
Hi,

Since the last code merge, I have the following error when compiling for
Linux AMD64:

/usr/bin/ld:
../../dist/lib/components/libgklayout.a(nsCanvasRenderingContext2D.o):
relocation R_X86_64_PC32 against `_moz_cairo_surface_destroy' can not be
used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value


Here is the content of my .mozconfig:

. $topsrcdir/zap/config/mozconfig
ac_cv_visibility_pragma=no
ac_add_options --enable-debug
ac_add_options --disable-optimize
ac_add_options --enable-default-toolkit=gtk2
mk_add_options MOZ_OBJDIR=(at)TOPSRCDIR(at)/../$(uname -m)


Thanks for your help.
[...]

Re: [zap-devel] Compilation error with Linux AMD64
Ludovic Hirlimann <qa-mozilla(at)hirlimann.net>
2006-05-18 15:20:53 [ FULL ]
Marc Petit-Huguenin écrit:
[...]

try export CCARGS=-fPIC and recompile.

Ludo
--
http://perso.hirlimann.net/~ludo/blog/

Re: [zap-devel] Compilation error with Linux AMD64
Marc Petit-Huguenin <petithug(at)8x8.com>
2006-05-20 23:57:57 [ FULL ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[...][...]

Thanks. I tried that, and many other things, and I still have the same
problem. The compilation is working fine under Linux 32 bits.

- --
Marc Petit-Huguenin
Home: marc(at)petit-huguenin.org
Work: marc(at)8x8.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEb6zu9RoMZyVa61cRAgtzAJ9gnqoQn7zkjcvCfaL/l0whMaN10gCfSg0K
p58HrF3nlR2ZlX+9XGW1E18=
=5XkS
-----END PGP SIGNATURE-----

MailBoxer