From mint-bounce@lists.fishpool.fi  Sat Jul 30 18:35:24 2005
X-Original-To: fnaumann@mail.boerde.de
Delivered-To: fnaumann@mail.boerde.de
Subject: Re: [MiNT] NCurses
From: Mark Duckworth <mduckworth@atari-source.com>
To: evan@coolrunningconcepts.com
Cc: mint@fishpool.com
In-Reply-To: <20050729235347.xkhdl1bevd0goowo@coolrunningconcepts.com>
References: <1122695457.623.2.camel@evil.atari-source.com>
	 <20050729235347.xkhdl1bevd0goowo@coolrunningconcepts.com>
Content-Type: text/plain
Date: Sat, 30 Jul 2005 10:42:48 -0400
Message-Id: <1122734568.18599.1.camel@evil.atari-source.com>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 (2.2.2-5) 
Content-Transfer-Encoding: 7bit
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-To: mint-bounce@lists.fishpool.fi
X-original-sender: mduckworth@atari-source.com
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-Id: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>
X-Virus-Scanned: by amavisd-new at relay.boerde.de
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de
X-Spam-Status: No, hits=-1.0 tagged_above=-50.5 required=7.0 tests=BAYES_00
X-Spam-Level: 

On Fri, 2005-07-29 at 23:53 -0600, evan@coolrunningconcepts.com wrote:
> Quoting Mark Duckworth <mduckworth@atari-source.com>:
> 
> > Hey guys,
> >
> > I have to build a new ncurses for something I'm working on.  The C++
> > demo compiles and it says:
> >
> > g++  -o demo ../objects/demo.o -L../lib -lncurses++ -L../lib -lform
> > -lmenu -lpanel -lncurses -lstdc++
> > /usr/lib/libc.a(main.o)(.text+0x4a0): undefined reference to `main'
> > collect2: ld returned 1 exit status
> >
> > Which is somewhat disconcerting.  If anyone has any idea why my GCC
> > might be doing this I'd be much obliged.  Anyway, I can just skip this
> > if I don't build C++ bindings for ncurses.
> >
> > Does anyone know if progs in sparemint use the ncurses c++ bindings?
> >
> > Thanks,
> > Mark
> 
> Which compiler is it?  And are you sure all the libs were compiled with 
> the same
> version?   G++, especially older versions had some name mangling bugs 
> in the C++
> compiler so it was very picky about having all parts of the toolchain, and all
> libraries all compiled with the same compiler.

It's standard sparemint gcc 2.95.3.  I don't know for sure that all the
libs were compiled with the same compiler but I'd assume so.  What a
pita ;)   I could just get the SRPMS and build new releases of the rpms
that those libs belong to.

Thanks,
Mark


