X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Path: glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.os.msdos.djgpp Date: Sat, 29 Dec 2012 21:19:00 -0800 (PST) In-Reply-To: <50DF3B66.8030605@iki.fi> Complaints-To: groups-abuse AT google DOT com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=65.13.115.246; posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO NNTP-Posting-Host: 65.13.115.246 References: <7c7717e0-4231-46a9-b219-ebf5f4bd3fe6 AT googlegroups DOT com> <50DF3B66 DOT 8030605 AT iki DOT fi> User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 65.13.115.246 MIME-Version: 1.0 Message-ID: <8e65b555-f957-434f-9079-381f50a814f1@googlegroups.com> Subject: Re: Assembler messages: Error: junk `@GOT' after expression From: rugxulo AT gmail DOT com To: comp DOT os DOT msdos DOT djgpp AT googlegroups DOT com Cc: djgpp AT delorie DOT com, Maksim Soifer Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id qBU5T01H018255 Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Hi, On Saturday, December 29, 2012 12:50:14 PM UTC-6, Andris Pavenis wrote: > On 12/29/2012 07:20 PM, Maksim Soifer wrote: > > > c:/progs/dj/tmp/ccWkjb5S.s: Assembler messages: > > > c:/progs/dj/tmp/ccWkjb5S.s:20: Error: junk `@GOT' after expression > > > and many like this > > > how to trace them and fix? > > Did You use GCC command line option -fPIC or -fpic? > It is broken for many versions of DJGPP port of GCC. Last update of port > of GCC-4.7.2 shold warn that -fPIC is ignored as not supported Which package are you trying to build? Shouldn't ./configure automatically know that PIC isn't supported? Or are you trying to force it to use shared libs? Maybe a libtool bug? At best, DJGPP (officially) only has DXE, but if you were adventurous, you could try DJELF, which does optionally support .so files. But I wouldn't really recommend it unless you really really know what you're doing. :-/