Date: Sun, 18 Mar 2012 18:16:21 +0100 From: Christer Solskogen <christer.solskogen@gmail.com> To: Jeremy Messenger <mezz.freebsd@gmail.com> Cc: FreeBSD Ports Mailing List <ports@freebsd.org>, lua@freebsd.org Subject: Re: lang/lua: It does need gmake. Message-ID: <CAMVU60YrW3tBqOvX02UumHihPFhmzms_XWN4-wUaTmy0E8GDdA@mail.gmail.com> In-Reply-To: <CADLFttcrjwgLjmYhAs=HNiWa%2BefkKP_dMRZkdPaeVQJDLd1_tg@mail.gmail.com> References: <CADLFttcrjwgLjmYhAs=HNiWa%2BefkKP_dMRZkdPaeVQJDLd1_tg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 15, 2012 at 8:50 PM, Jeremy Messenger <mezz.freebsd@gmail.com> wrote: > I get a build failure on amd64: > > --------------------------------- > /usr/bin/ld: lapi.o: relocation R_X86_64_32 against `luaO_nilobject_' > can not be used when making a shared object; recompile with -fPIC > lapi.o: could not read symbols: Bad value > *** Error code 1 > --------------------------------- > > I got it fixed by add USE_GMAKE=yes in the Makefile and now I can get > it built ok. If you compare the build log between make and gmake. You > will see it has different output. This > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/162279 has broken it. > I reported this some time ago, and I was adviced to use CFLAGS?=-XXX instead of CFLAGS=-XXX in make.conf. -- chs,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMVU60YrW3tBqOvX02UumHihPFhmzms_XWN4-wUaTmy0E8GDdA>