From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32218 invoked by alias); 14 Sep 2007 20:57:32 -0000 Received: (qmail 32202 invoked by uid 22791); 14 Sep 2007 20:57:31 -0000 X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 14 Sep 2007 20:57:26 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IWICz-0002be-Gj for ecos-discuss@sources.redhat.com; Fri, 14 Sep 2007 22:56:13 +0200 Received: from c-76-17-159-202.hsd1.mn.comcast.net ([76.17.159.202]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Sep 2007 22:56:13 +0200 Received: from grante by c-76-17-159-202.hsd1.mn.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Sep 2007 22:56:13 +0200 To: ecos-discuss@sources.redhat.com From: Grant Edwards Date: Fri, 14 Sep 2007 20:57:00 -0000 Message-ID: References: User-Agent: slrn/0.9.8.1 (Linux) X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] Re: Trying to build ecosconfig (again). X-SW-Source: 2007-09/txt/msg00093.txt.bz2 On 2007-09-14, Grant Edwards wrote: > That seems to go OK, but then the subsequent "make" sprays > warnings for a couple minutes and then fails like this: > > c++ -pipe -Wall -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Woverloaded-virtual -O0 -o ecosconfig ecosconfig.o cdl_exec.o build.o flags.o -lcdl -lcyginfra -L/usr/lib -ltcl8.4 -L/home/grante/ecos/build/libcdl -L/home/grante/ecos/build/infra > c++: ecosconfig.o: No such file or directory > c++: cdl_exec.o: No such file or directory > make[2]: *** [ecosconfig] Error 1 > make[2]: Leaving directory /home/grante/ecos/build/tools/configtool/standalone/common' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory /home/grante/ecos/build/tools/configtool/standalone/common' > make: *** [all-recursive] Error 1 Ah ha. There were ecosconfig.o and cdl_exe.o files in the source tree. Apparently the dependancies in the makefile are satisfied by object files that are in places the linker commands don't look for them. Deleting all of the .o files from the source tree allowed the build to complete. It would be really nice if a statically linked ecosconfig was built as well. That way one could archive a set of tools that wouldn't break when they needed to be used on a machine with a different version of libtcl (or no libtcl at all). Not sure if I know enough autoconf spells to do that... -- Grant Edwards grante Yow! INSIDE, I have the at same personality disorder visi.com as LUCY RICARDO!! -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss