From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10374 invoked by alias); 27 Apr 2006 13:29:13 -0000 Received: (qmail 10364 invoked by uid 22791); 27 Apr 2006 13:29:12 -0000 X-Spam-Status: No, hits=-3.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 27 Apr 2006 13:29:10 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1FZ6YJ-0005Pr-00; Thu, 27 Apr 2006 15:29:03 +0200 Date: Thu, 27 Apr 2006 13:29:00 -0000 To: Lars Poeschel Cc: ecos-devel@ecos.sourceware.org Subject: Re: configtool - no main() Message-ID: <20060427132903.GC9862@lunn.ch> References: <200604271443.57560.larsi@wh2.tu-dresden.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200604271443.57560.larsi@wh2.tu-dresden.de> User-Agent: Mutt/1.5.11+cvs20060403 From: Andrew Lunn X-IsSubscribed: yes Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2006-04/txt/msg00020.txt.bz2 On Thu, Apr 27, 2006 at 02:43:57PM +0200, Lars Poeschel wrote: > Hello! > > My configtool development is ongoing and I made an automake/autoconfig based > configuration system work. I also rewrote the configtool to compile on > unicode Systems, but finally the call to the Linker says: > undefined reference to `main' > And indeed, the whole configtool currently in CVS has no main() function. > Can anybody say where and how the configtool is started ? I think main is inside one of the WxWidget libraries. It will then call the OnInit function: configtool.cpp:151 // 'Main program' equivalent: the program execution "starts" here bool ecApp::OnInit() { However, don't trust what i say, i know less than nothing about WxWidgets. You probably need to read the documentation: http://www.wxwidgets.org/ It is great that you are trying to get this working. If you can make the whole build system nice and simple, and working with the current version of WxWidgets it might encourage people to fix the bugs in the tool. There has not been any real development on configtool for years and i think that it because it is so hard to build. Andrew