delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2017/04/19/05:45:08

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "Martin Str|mberg (ams AT ludd DOT luth DOT se) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: dxe_tmp.o: linker output file has more than one section
Date: Wed, 19 Apr 2017 09:26:00 +0000 (UTC)
Organization: Aioe.org NNTP Server
Lines: 19
Message-ID: <od7af6$14nd$1@gioia.aioe.org>
References: <CAA2C=vArYxr2yhJzbjN2c1s3NNzUUEgmY54Qgd4Lsd-29F=uzA AT mail DOT gmail DOT com>
NNTP-Posting-Host: WLZdEp4S2PR09rkVF8ILdg.user.gioia.aioe.org
X-Complaints-To: abuse AT aioe DOT org
User-Agent: tin/2.2.1-20140504 ("Tober an Righ") (UNIX) (Linux/3.16.0-4-amd64 (x86_64))
X-Notice: Filtered by postfilter v. 0.8.2
Bytes: 1452
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Ozkan Sezer (sezeroz AT gmail DOT com) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com> wrote:
> When we try to build a dxe from a C++ project, we hit this error from
> dxe3gen:
> dxe_tmp.o: linker output file has more than one section
...
> My question is, has anyone ever hit this error and, if they did, how
> they overcame it?  Any other advice are also welcome.

No. But dump out the sections from the .o file. Look at the linker
script in question. I think you'll find the linker script expect one
section and the .o file have more than one (stating the obvious
here!).

You need to get rid of the unexpected linker sections. (My first try
would be to rewrite this part in C.)


-- 
MartinS

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019